Searched refs:dev_descriptor (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | darwin_usb.c | 460 memmove (buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); 541 if (dev->dev_descriptor.bNumConfigurations < 1) { 574 if (dev->dev_descriptor.bNumConfigurations == 1) 629 ret = darwin_request_descriptor (device, kUSBDeviceDesc, 0, &dev->dev_descriptor, sizeof(dev->dev_descriptor)); 631 if (kIOReturnOverrun == ret && kUSBDeviceDesc == dev->dev_descriptor.bDescriptorType) 640 if (kIOReturnSuccess == ret && (0 == dev->dev_descriptor.bNumConfigurations || 641 0 == dev->dev_descriptor.bcdUSB)) { 709 if (libusb_le16_to_cpu (dev->dev_descriptor.idProduct) != idProduct) { 712 idProduct, libusb_le16_to_cpu (dev->dev_descriptor [all...] |
H A D | darwin_usb.h | 113 IOUSBDeviceDescriptor dev_descriptor; member in struct:darwin_cached_device
|
H A D | windows_usb.c | 951 priv->dev_descriptor.bLength = sizeof(USB_DEVICE_DESCRIPTOR); 952 priv->dev_descriptor.bDescriptorType = USB_DEVICE_DESCRIPTOR_TYPE; 953 priv->dev_descriptor.bNumConfigurations = 1; 962 priv->dev_descriptor.idVendor = (uint16_t)vid; 963 priv->dev_descriptor.idProduct = (uint16_t)pid; 966 priv->dev_descriptor.idVendor = 0x1d6b; // Linux Foundation root hub 967 priv->dev_descriptor.idProduct = 1; 1147 memcpy(&priv->dev_descriptor, &(conn_info.DeviceDescriptor), sizeof(USB_DEVICE_DESCRIPTOR)); 1148 dev->num_configurations = priv->dev_descriptor.bNumConfigurations; 1154 priv->dev_descriptor [all...] |
H A D | windows_usb.h | 225 USB_DEVICE_DESCRIPTOR dev_descriptor; member in struct:windows_device_priv 245 memset(&(p->dev_descriptor), 0, sizeof(USB_DEVICE_DESCRIPTOR));
|
/external/libusb/libusb/os/ |
H A D | darwin_usb.h | 120 IOUSBDeviceDescriptor dev_descriptor; member in struct:darwin_device_priv
|
H A D | linux_usbfs.c | 105 unsigned char *dev_descriptor; member in struct:linux_device_priv 275 memcpy(buffer, priv->dev_descriptor, DEVICE_DESC_LENGTH); 692 priv->dev_descriptor = NULL; 782 priv->dev_descriptor = dev_buf; 1312 if (priv->dev_descriptor) 1313 free(priv->dev_descriptor);
|
H A D | darwin_usb.c | 353 memmove (buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); 469 req.pData = &(priv->dev_descriptor); 516 if (libusb_le16_to_cpu (priv->dev_descriptor.idProduct) != idProduct) { 519 idProduct, libusb_le16_to_cpu (priv->dev_descriptor.idProduct));
|
Completed in 724 milliseconds