Searched refs:conf_desc (Results 1 – 5 of 5) 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 …]
769 struct libusb_config_descriptor *conf_desc; in usb_create_context() local868 ret = libusb_get_active_config_descriptor(usb_dev, &conf_desc); in usb_create_context()875 iface = &conf_desc->interface[interface].altsetting[0]; in usb_create_context()946 libusb_free_config_descriptor(conf_desc); in usb_create_context()989 libusb_free_config_descriptor(conf_desc); in usb_create_context()
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 …]
1183 &hba->desc_size.conf_desc); in ufshcd_init_desc_sizes()1185 hba->desc_size.conf_desc = QUERY_DESC_CONFIGURATION_DEF_SIZE; in ufshcd_init_desc_sizes()1221 *desc_len = hba->desc_size.conf_desc; in ufshcd_map_desc_id_to_length()1805 hba->desc_size.conf_desc = QUERY_DESC_CONFIGURATION_DEF_SIZE; in ufshcd_def_desc_sizes()
65 int conf_desc; member