Searched refs:deviceIterator (Results 1 – 1 of 1) sorted by relevance
147 static int usb_setup_device_iterator (io_iterator_t *deviceIterator) { in usb_setup_device_iterator() argument148 …iceGetMatchingServices(libusb_darwin_mp, IOServiceMatching(kIOUSBDeviceClassName), deviceIterator); in usb_setup_device_iterator()151 static usb_device_t **usb_get_next_device (io_iterator_t deviceIterator, UInt32 *locationp) { in usb_get_next_device() argument158 if (!IOIteratorIsValid (deviceIterator)) in usb_get_next_device()162 while ((usbDevice = IOIteratorNext(deviceIterator))) { in usb_get_next_device()190 io_iterator_t deviceIterator; in darwin_get_device() local192 kresult = usb_setup_device_iterator (&deviceIterator); in darwin_get_device()197 while ((*darwin_device = usb_get_next_device (deviceIterator, &location)) != NULL) { in darwin_get_device()204 IOObjectRelease (deviceIterator); in darwin_get_device()554 io_iterator_t deviceIterator; in darwin_get_device_list() local[all …]