Home
last modified time | relevance | path

Searched refs:wTotalLength (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-3.4.0/components/usb/
Dusb_helpers.c20 …*usb_parse_next_descriptor(const usb_standard_desc_t *cur_desc, uint16_t wTotalLength, int *offset) in usb_parse_next_descriptor() argument
23 if (*offset >= wTotalLength) { in usb_parse_next_descriptor()
26 if (*offset + cur_desc->bLength >= wTotalLength) { in usb_parse_next_descriptor()
35 …next_descriptor_of_type(const usb_standard_desc_t *cur_desc, uint16_t wTotalLength, uint8_t bDescr… in usb_parse_next_descriptor_of_type() argument
40 …const usb_standard_desc_t *ret_desc = usb_parse_next_descriptor(cur_desc, wTotalLength, &offset_te… in usb_parse_next_descriptor_of_type()
45 ret_desc = usb_parse_next_descriptor(ret_desc, wTotalLength, &offset_temp); in usb_parse_next_descriptor_of_type()
65 …or_of_type((const usb_standard_desc_t *)first_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_number_of_alternate()
71 …tor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_number_of_alternate()
85 …riptor_of_type((const usb_standard_desc_t *)config_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_descriptor()
90 …tor_of_type((const usb_standard_desc_t *)next_intf_desc, config_desc->wTotalLength, USB_B_DESCRIPT… in usb_parse_interface_descriptor()
[all …]
Dhub.c158 …uint16_t wTotalLength; /**< Total length of device's configuration descriptor. Read from … member
356 …NFIG_DESC((usb_setup_packet_t *)transfer->data_buffer, ENUM_CONFIG_INDEX, enum_ctrl->wTotalLength); in enum_stage_transfer()
357 …m_bytes = sizeof(usb_setup_packet_t) + usb_round_up_to_mps(enum_ctrl->wTotalLength, enum_ctrl->bMa… in enum_stage_transfer()
359 enum_ctrl->expect_num_bytes = sizeof(usb_setup_packet_t) + enum_ctrl->wTotalLength; in enum_stage_transfer()
476 if (config_desc->wTotalLength > ENUM_CTRL_TRANSFER_MAX_DATA_LEN) { in enum_stage_transfer_check()
483 enum_ctrl->wTotalLength = config_desc->wTotalLength; in enum_stage_transfer_check()
Dusbh.c991 …usb_config_desc_t *config_desc = heap_caps_malloc(config_desc_full->wTotalLength, MALLOC_CAP_DEFAU… in usbh_hub_enum_fill_config_desc()
996 memcpy(config_desc, config_desc_full, config_desc_full->wTotalLength); in usbh_hub_enum_fill_config_desc()
Dusb_host.c1004 …desc = usb_parse_endpoint_descriptor_by_index(intf_desc, i, config_desc->wTotalLength, &offset_ep); in interface_claim()
/hal_espressif-3.4.0/components/usb/test/usb_host/
Dtest_usb_helpers.c349 …cur_desc = usb_parse_next_descriptor_of_type(cur_desc, config_desc->wTotalLength, USB_B_DESCRIPTOR… in test_walk_desc()
353 …cur_desc = usb_parse_next_descriptor_of_type(cur_desc, config_desc->wTotalLength, USB_B_DESCRIPTOR… in test_walk_desc()
379 …desc = usb_parse_endpoint_descriptor_by_index(intf_desc, 0, config_desc->wTotalLength, &offset_ep); in test_parse_intf_and_ep()
383 …ep_desc = usb_parse_endpoint_descriptor_by_index(intf_desc, 1, config_desc->wTotalLength, &offset_… in test_parse_intf_and_ep()
392 …ep_desc = usb_parse_endpoint_descriptor_by_index(intf_desc, 0, config_desc->wTotalLength, &offset_… in test_parse_intf_and_ep()
401 …ep_desc = usb_parse_endpoint_descriptor_by_index(intf_desc, 0, config_desc->wTotalLength, &offset_… in test_parse_intf_and_ep()
405 …ep_desc = usb_parse_endpoint_descriptor_by_index(intf_desc, 1, config_desc->wTotalLength, &offset_… in test_parse_intf_and_ep()
Dmsc_client_async_enum.c137 TEST_ASSERT_EQUAL(config_desc_ref->wTotalLength, config_desc->wTotalLength); in msc_client_async_enum_task()
138 … TEST_ASSERT_EQUAL(0, memcmp(config_desc_ref, config_desc, config_desc_ref->wTotalLength)); in msc_client_async_enum_task()
Dctrl_client_async_seq.c67 …TEST_ASSERT_EQUAL(ctrl_obj->config_desc_cached->wTotalLength, transfer->actual_num_bytes - sizeof(… in ctrl_transfer_cb()
/hal_espressif-3.4.0/components/usb/include/usb/
Dusb_helpers.h37 …usb_parse_next_descriptor(const usb_standard_desc_t *cur_desc, uint16_t wTotalLength, int *offset);
52 …next_descriptor_of_type(const usb_standard_desc_t *cur_desc, uint16_t wTotalLength, uint8_t bDescr…
97 …scriptor_by_index(const usb_intf_desc_t *intf_desc, int index, uint16_t wTotalLength, int *offset);
Dusb_types_ch9.h334 … uint16_t wTotalLength; /**< Total length of data returned for this configuration */ member
/hal_espressif-3.4.0/components/usb/test/hcd/
Dtest_hcd_ctrl.c82 printf("Config Desc wTotalLength %d\n", config_desc->wTotalLength);
215 printf("Config Desc wTotalLength %d\n", config_desc->wTotalLength);
290 printf("Config Desc wTotalLength %d\n", config_desc->wTotalLength);
/hal_espressif-3.4.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c641 … this_desc, config_desc->wTotalLength, USB_B_DESCRIPTOR_TYPE_INTERFACE_ASSOCIATION, &desc_offset); in cdc_acm_find_intf_and_ep_desc()
675 cdc_desc = usb_parse_next_descriptor(cdc_desc, config_desc->wTotalLength, &desc_offset); in cdc_acm_find_intf_and_ep_desc()
684 …endpoint_descriptor_by_index(cdc_dev->notif.intf_desc, 0, config_desc->wTotalLength, &desc_offset); in cdc_acm_find_intf_and_ep_desc()
692 …_endpoint_descriptor_by_index(cdc_dev->data.intf_desc, i, config_desc->wTotalLength, &desc_offset); in cdc_acm_find_intf_and_ep_desc()
786 …_endpoint_descriptor_by_index(cdc_dev->data.intf_desc, 0, config_desc->wTotalLength, &desc_offset); in cdc_acm_host_open_vendor_specific()
792 …_endpoint_descriptor_by_index(cdc_dev->data.intf_desc, i, config_desc->wTotalLength, &desc_offset); in cdc_acm_host_open_vendor_specific()
/hal_espressif-3.4.0/examples/peripherals/usb/host/msc/components/msc/src/
Dmsc_host.c81 size_t total_length = config_desc->wTotalLength; in find_msc_interface()
115 size_t total_len = cfg_desc->wTotalLength; in extract_config_from_descriptor()
372 if (config_desc->wTotalLength != 32) { in msc_host_install_device()
/hal_espressif-3.4.0/components/esp_rom/include/esp32s3/rom/usb/
Dusb_common.h177 uint16_t wTotalLength; member
/hal_espressif-3.4.0/components/esp_rom/include/esp32s2/rom/usb/
Dusb_common.h177 uint16_t wTotalLength; member
/hal_espressif-3.4.0/examples/peripherals/usb/tusb_sample_descriptor/
DREADME.md111 wTotalLength 0x0009
/hal_espressif-3.4.0/examples/peripherals/usb/host/usb_host_lib/
DREADME.md91 wTotalLength 98