Searched refs:device_descriptor (Results 1 – 10 of 10) sorted by relevance
190 struct usb_device_descriptor *device_descriptor; in ep0_get_descriptor() local192 (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() local215 (device_descriptor = in ep0_get_descriptor()220 if (index >= device_descriptor->bNumConfigurations) { in ep0_get_descriptor()222 device_descriptor-> in ep0_get_descriptor()
198 return (device->device_descriptor); in usbd_device_device_descriptor()
516 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()
172 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()
383 struct libusb_device_descriptor device_descriptor; member
759 num_configurations = dev->device_descriptor.bNumConfigurations; in usbi_sanitize_device()
106 static struct usb_device_descriptor device_descriptor = { variable639 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()
563 struct usb_device_descriptor *device_descriptor; /* per device descriptor */ member
303 dev->device_descriptor = info->DeviceDescriptor; in usbdk_device_init()