Home
last modified time | relevance | path

Searched refs:deviceIterator (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Ddarwin_usb.c147 static int usb_setup_device_iterator (io_iterator_t *deviceIterator) { in usb_setup_device_iterator() argument
148 …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() argument
158 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() local
192 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 …]