Searched refs:conf_desc (Results 1 – 6 of 6) sorted by relevance
/third_party/libusb/examples/ |
D | xusb.c | 803 struct libusb_config_descriptor *conf_desc; in test_device() local 865 CALL_CHECK_CLOSE(libusb_get_config_descriptor(dev, 0, &conf_desc), handle); in test_device() 866 nb_ifaces = conf_desc->bNumInterfaces; in test_device() 869 first_iface = conf_desc->usb_interface[0].altsetting[0].bInterfaceNumber; in test_device() 872 conf_desc->usb_interface[i].altsetting[0].bInterfaceNumber); in test_device() 873 for (j=0; j<conf_desc->usb_interface[i].num_altsetting; j++) { in test_device() 875 i, j, conf_desc->usb_interface[i].altsetting[j].bNumEndpoints); in test_device() 877 conf_desc->usb_interface[i].altsetting[j].bInterfaceClass, in test_device() 878 conf_desc->usb_interface[i].altsetting[j].bInterfaceSubClass, in test_device() 879 conf_desc->usb_interface[i].altsetting[j].bInterfaceProtocol); in test_device() [all …]
|
/third_party/libusb/libusb/os/ |
D | windows_winusb.c | 441 static int get_interface_by_endpoint(struct libusb_config_descriptor *conf_desc, uint8_t ep) in get_interface_by_endpoint() argument 448 for (i = 0; i < conf_desc->bNumInterfaces; i++) { in get_interface_by_endpoint() 449 intf = &conf_desc->interface[i]; in get_interface_by_endpoint() 493 struct libusb_config_descriptor *conf_desc; in windows_assign_endpoints() local 497 r = libusb_get_active_config_descriptor(dev_handle->dev, &conf_desc); in windows_assign_endpoints() 503 if_desc = &conf_desc->interface[iface].altsetting[altsetting]; in windows_assign_endpoints() 508 libusb_free_config_descriptor(conf_desc); in windows_assign_endpoints() 515 libusb_free_config_descriptor(conf_desc); in windows_assign_endpoints() 524 libusb_free_config_descriptor(conf_desc); in windows_assign_endpoints() 4254 struct libusb_config_descriptor *conf_desc; in composite_submit_control_transfer() local [all …]
|
/third_party/uboot/u-boot-2020.01/drivers/ufs/ |
D | ufs.c | 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()
|
D | ufs_hisi.c | 386 dev = g_ufs_desc.conf_desc.dev_desc_conf_param; in ufs_info_show_conf_desc() 403 unit = g_ufs_desc.conf_desc.unit_desc_conf_param[i]; in ufs_info_show_conf_desc() 485 ret = ufs_read_descriptor((void *)(&g_ufs_desc.conf_desc), in ufs_desc_init() 2150 unit = g_ufs_desc.conf_desc.unit_desc_conf_param[i]; in compair_unit_part() 2184 dev = g_ufs_desc.conf_desc.dev_desc_conf_param; in compair_conf_desp() 2469 …memcpy(&g_ufs_desc.conf_desc, (void *)((u8 *)resp_upiu + QUERY_RESPONSE_HEAD_OFFSET), CONFIGURATIO… in ufs_create_partition_inventory()
|
D | ufs.h | 65 int conf_desc; member
|
/third_party/uboot/u-boot-2020.01/include/ |
D | ufs.h | 710 struct ufs_configuration_descriptor conf_desc; member
|