Searched refs:ndevices (Results 1 – 2 of 2) sorted by relevance
38 static u_int ndevices; variable131 ndevices = ac; in register_devices()132 devices = calloc(ndevices, sizeof(*devices)); in register_devices()141 return (ndevices); in device_count()147 if (nsid == 0 || nsid > ndevices) in lookup_device()160 while (nsid <= ndevices) { in device_active_nslist()
2772 int type, usb3_port, usb2_port, i, ndevices; in pci_xhci_parse_devices() local2780 ndevices = 0; in pci_xhci_parse_devices()2883 ndevices++; in pci_xhci_parse_devices()2889 if (ndevices > 0) { in pci_xhci_parse_devices()