/external/libusb_aah/libusb/os/ |
darwin_usb.c | 423 memmove (buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); 515 if (priv->dev_descriptor.bNumConfigurations < 1) { 548 if (priv->dev_descriptor.bNumConfigurations == 1) 585 memset (&(priv->dev_descriptor), 0, sizeof(IOUSBDeviceDescriptor)); 590 req.wLength = sizeof(priv->dev_descriptor); 591 req.pData = &(priv->dev_descriptor); 599 if (kIOReturnOverrun == ret && kUSBDeviceDesc == priv->dev_descriptor.bDescriptorType) 603 if (kIOReturnSuccess == ret && (0 == priv->dev_descriptor.bNumConfigurations || 604 0 == priv->dev_descriptor.bcdUSB)) { 669 usbi_dbg (" bDescriptorType: 0x%02x", priv->dev_descriptor.bDescriptorType) [all...] |
darwin_usb.h | 125 IOUSBDeviceDescriptor dev_descriptor; member in struct:darwin_device_priv
|
windows_usb.c | 838 priv->dev_descriptor.bLength = sizeof(USB_DEVICE_DESCRIPTOR); 839 priv->dev_descriptor.bDescriptorType = USB_DEVICE_DESCRIPTOR_TYPE; 840 priv->dev_descriptor.bNumConfigurations = 1; 849 priv->dev_descriptor.idVendor = (uint16_t)vid; 850 priv->dev_descriptor.idProduct = (uint16_t)pid; 853 priv->dev_descriptor.idVendor = 0x1d6b; // Linux Foundation root hub 854 priv->dev_descriptor.idProduct = 1; [all...] |
linux_usbfs.c | 113 unsigned char *dev_descriptor; member in struct:linux_device_priv 427 memcpy(buffer, priv->dev_descriptor, DEVICE_DESC_LENGTH); 893 priv->dev_descriptor = NULL; 983 priv->dev_descriptor = dev_buf; [all...] |
windows_usb.h | 169 USB_DEVICE_DESCRIPTOR dev_descriptor; member in struct:windows_device_priv 188 memset(&(p->dev_descriptor), 0, sizeof(USB_DEVICE_DESCRIPTOR));
|
/external/libusb/libusb/os/ |
darwin_usb.h | 120 IOUSBDeviceDescriptor dev_descriptor; member in struct:darwin_device_priv
|
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; [all...] |
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)); [all...] |