Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Ddarwin_usb.c738 if (dev->dev_descriptor.bNumConfigurations < 1) { in darwin_check_configuration()
745 if (0x05ac == libusb_le16_to_cpu (dev->dev_descriptor.idVendor) && in darwin_check_configuration()
746 0x8005 == libusb_le16_to_cpu (dev->dev_descriptor.idProduct)) { in darwin_check_configuration()
780 if (dev->dev_descriptor.bNumConfigurations == 1) in darwin_check_configuration()
838 …n_request_descriptor (device, kUSBDeviceDesc, 0, &dev->dev_descriptor, sizeof(dev->dev_descriptor)… in darwin_cache_device_descriptor()
840 if (kIOReturnOverrun == ret && kUSBDeviceDesc == dev->dev_descriptor.bDescriptorType) in darwin_cache_device_descriptor()
849 if (kIOReturnSuccess == ret && (0 == dev->dev_descriptor.bNumConfigurations || in darwin_cache_device_descriptor()
850 0 == dev->dev_descriptor.bcdUSB)) { in darwin_cache_device_descriptor()
918 if (libusb_le16_to_cpu (dev->dev_descriptor.idProduct) != idProduct) { in darwin_cache_device_descriptor()
921 idProduct, libusb_le16_to_cpu (dev->dev_descriptor.idProduct)); in darwin_cache_device_descriptor()
[all …]
Ddarwin_usb.h157 IOUSBDeviceDescriptor dev_descriptor; member