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