Lines Matching refs:end
76 char *domain = NULL, *bus = NULL, *dev = NULL, *func = NULL, *end = NULL;
115 slot.domain = (uint32_t)strtoul(domain, &end, 16);
116 if ((end && *end) || (slot.domain > 0xffff)) {
124 slot.bus = (uint32_t)strtoul(bus, &end, 16);
125 if ((end && *end) || (slot.bus > 0xff)) {
130 slot.dev = strtoul(dev, &end, 16);
131 if ((end && *end) || (slot.dev > 0x1f)) {
136 slot.func = strtoul(func, &end, 16);
137 if ((end && *end) || (slot.func > 7)) {