Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/gadget/
Dep0.c190 struct usb_device_descriptor *device_descriptor; in ep0_get_descriptor() local
192 (device_descriptor = in ep0_get_descriptor()
197 copy_config (urb, device_descriptor, in ep0_get_descriptor()
202 device_descriptor = in ep0_get_descriptor()
213 struct usb_device_descriptor *device_descriptor; in ep0_get_descriptor() local
215 (device_descriptor = in ep0_get_descriptor()
220 if (index >= device_descriptor->bNumConfigurations) { in ep0_get_descriptor()
222 device_descriptor-> in ep0_get_descriptor()
Dcore.c198 return (device->device_descriptor); in usbd_device_device_descriptor()
/external/libusb/libusb/
Ddescriptor.c516 r = usbi_backend->get_device_descriptor(dev, (unsigned char *) &dev->device_descriptor, in usbi_device_cache_descriptor()
522 dev->device_descriptor.bcdUSB = libusb_le16_to_cpu(dev->device_descriptor.bcdUSB); in usbi_device_cache_descriptor()
523 dev->device_descriptor.idVendor = libusb_le16_to_cpu(dev->device_descriptor.idVendor); in usbi_device_cache_descriptor()
524 dev->device_descriptor.idProduct = libusb_le16_to_cpu(dev->device_descriptor.idProduct); in usbi_device_cache_descriptor()
525 dev->device_descriptor.bcdDevice = libusb_le16_to_cpu(dev->device_descriptor.bcdDevice); in usbi_device_cache_descriptor()
547 memcpy((unsigned char *) desc, (unsigned char *) &dev->device_descriptor, in libusb_get_device_descriptor()
548 sizeof (dev->device_descriptor)); in libusb_get_device_descriptor()
Dhotplug.c172 hotplug_cb->vendor_id != dev->device_descriptor.idVendor) { in usbi_hotplug_match_cb()
177 hotplug_cb->product_id != dev->device_descriptor.idProduct) { in usbi_hotplug_match_cb()
182 hotplug_cb->dev_class != dev->device_descriptor.bDeviceClass) { in usbi_hotplug_match_cb()
Dlibusbi.h383 struct libusb_device_descriptor device_descriptor; member
Dcore.c759 num_configurations = dev->device_descriptor.bNumConfigurations; in usbi_sanitize_device()
/external/u-boot/drivers/serial/
Dusbtty.c106 static struct usb_device_descriptor device_descriptor = { variable
639 device_instance->device_descriptor = &device_descriptor; in usbtty_init_instances()
751 device_descriptor.bDeviceClass = in usbtty_init_terminal_type()
753 device_descriptor.idProduct = in usbtty_init_terminal_type()
785 device_descriptor.bDeviceClass = 0xFF; in usbtty_init_terminal_type()
786 device_descriptor.idProduct = in usbtty_init_terminal_type()
/external/u-boot/include/
Dusbdevice.h563 struct usb_device_descriptor *device_descriptor; /* per device descriptor */ member
/external/libusb/include/libusb/
Dlibusbi.h383 struct libusb_device_descriptor device_descriptor; member
/external/libusb/libusb/os/
Dwindows_usbdk.c303 dev->device_descriptor = info->DeviceDescriptor; in usbdk_device_init()