Lines Matching defs:func
76 char *domain = NULL, *bus = NULL, *dev = NULL, *func = NULL, *end = NULL;
86 func = strrchr(pciid, '.');
87 if (func) {
88 *func = '\0';
89 func++;
108 if (!bus || !dev || !func) {
136 slot.func = strtoul(func, &end, 16);
137 if ((end && *end) || (slot.func > 7)) {
138 nvme_err("Invalid function number: 0x%X\n", slot.func);
142 nvme_debug("PCI URL: domain 0x%X, bus 0x%X, dev 0x%X, func 0x%X\n",
143 slot.domain, slot.bus, slot.dev, slot.func);
154 slot.func);
283 cstat->func = pdev->func;