Searched refs:conf_desc (Results 1 – 2 of 2) sorted by relevance
802 struct libusb_config_descriptor *conf_desc; in test_device() local864 CALL_CHECK(libusb_get_config_descriptor(dev, 0, &conf_desc)); in test_device()865 nb_ifaces = conf_desc->bNumInterfaces; in test_device()868 first_iface = conf_desc->usb_interface[0].altsetting[0].bInterfaceNumber; in test_device()871 conf_desc->usb_interface[i].altsetting[0].bInterfaceNumber); in test_device()872 for (j=0; j<conf_desc->usb_interface[i].num_altsetting; j++) { in test_device()874 i, j, conf_desc->usb_interface[i].altsetting[j].bNumEndpoints); in test_device()876 conf_desc->usb_interface[i].altsetting[j].bInterfaceClass, in test_device()877 conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass, in test_device()878 conf_desc->usb_interface[i].altsetting[j].bInterfaceProtocol); in test_device()[all …]
491 static int get_interface_by_endpoint(struct libusb_config_descriptor *conf_desc, uint8_t ep) in get_interface_by_endpoint() argument497 for (i = 0; i < conf_desc->bNumInterfaces; i++) { in get_interface_by_endpoint()498 intf = &conf_desc->interface[i]; in get_interface_by_endpoint()521 struct libusb_config_descriptor *conf_desc; in windows_assign_endpoints() local525 r = libusb_get_active_config_descriptor(dev_handle->dev, &conf_desc); in windows_assign_endpoints()531 if_desc = &conf_desc->interface[iface].altsetting[altsetting]; in windows_assign_endpoints()536 libusb_free_config_descriptor(conf_desc); in windows_assign_endpoints()542 libusb_free_config_descriptor(conf_desc); in windows_assign_endpoints()551 libusb_free_config_descriptor(conf_desc); in windows_assign_endpoints()4117 struct libusb_config_descriptor *conf_desc; in composite_submit_control_transfer() local[all …]