Lines Matching refs:ddesc
108 struct libusb_device_descriptor ddesc; member
996 libusb_get_device_descriptor(dev, &s->ddesc); in usb_host_open()
1041 if (s->ddesc.iProduct) { in usb_host_open()
1042 libusb_get_string_descriptor_ascii(s->dh, s->ddesc.iProduct, in usb_host_open()
1416 if (s->ddesc.bNumConfigurations != 1) { in usb_host_set_config()
1840 struct libusb_device_descriptor ddesc; in usb_host_auto_check() local
1850 if (libusb_get_device_descriptor(devs[i], &ddesc) != 0) { in usb_host_auto_check()
1853 if (ddesc.bDeviceClass == LIBUSB_CLASS_HUB) { in usb_host_auto_check()
1874 f->vendor_id != ddesc.idVendor) { in usb_host_auto_check()
1878 f->product_id != ddesc.idProduct) { in usb_host_auto_check()
1926 struct libusb_device_descriptor ddesc; in hmp_info_usbhost() local
1936 if (libusb_get_device_descriptor(devs[i], &ddesc) != 0) { in hmp_info_usbhost()
1939 if (ddesc.bDeviceClass == LIBUSB_CLASS_HUB) { in hmp_info_usbhost()
1948 monitor_printf(mon, " Class %02x:", ddesc.bDeviceClass); in hmp_info_usbhost()
1950 ddesc.idVendor, ddesc.idProduct); in hmp_info_usbhost()
1951 if (ddesc.iProduct) { in hmp_info_usbhost()
1956 ddesc.iProduct, in hmp_info_usbhost()