Lines Matching refs:dev_desc
806 struct libusb_device_descriptor dev_desc; in test_device() local
840 CALL_CHECK(libusb_get_device_descriptor(dev, &dev_desc)); in test_device()
841 printf(" length: %d\n", dev_desc.bLength); in test_device()
842 printf(" device class: %d\n", dev_desc.bDeviceClass); in test_device()
843 printf(" S/N: %d\n", dev_desc.iSerialNumber); in test_device()
844 printf(" VID:PID: %04X:%04X\n", dev_desc.idVendor, dev_desc.idProduct); in test_device()
845 printf(" bcdDevice: %04X\n", dev_desc.bcdDevice); in test_device()
846 …printf(" iMan:iProd:iSer: %d:%d:%d\n", dev_desc.iManufacturer, dev_desc.iProduct, dev_desc.iSeri… in test_device()
847 printf(" nb confs: %d\n", dev_desc.bNumConfigurations); in test_device()
849 string_index[0] = dev_desc.iManufacturer; in test_device()
850 string_index[1] = dev_desc.iProduct; in test_device()
851 string_index[2] = dev_desc.iSerialNumber; in test_device()