Home
last modified time | relevance | path

Searched refs:cur_desc (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/components/usb/test/usb_host/
Dtest_usb_helpers.c347 const usb_standard_desc_t *cur_desc = (usb_standard_desc_t *)config_desc; in test_walk_desc() local
349cur_desc = usb_parse_next_descriptor_of_type(cur_desc, config_desc->wTotalLength, USB_B_DESCRIPTOR… in test_walk_desc()
350 TEST_ASSERT_NOT_EQUAL(NULL, cur_desc); in test_walk_desc()
353cur_desc = usb_parse_next_descriptor_of_type(cur_desc, config_desc->wTotalLength, USB_B_DESCRIPTOR… in test_walk_desc()
354 TEST_ASSERT_EQUAL(NULL, cur_desc); in test_walk_desc()
/hal_espressif-3.4.0/components/usb/
Dusb_helpers.c20 const usb_standard_desc_t *usb_parse_next_descriptor(const usb_standard_desc_t *cur_desc, uint16_t … in usb_parse_next_descriptor() argument
22 assert(cur_desc != NULL && offset != NULL); in usb_parse_next_descriptor()
26 if (*offset + cur_desc->bLength >= wTotalLength) { in usb_parse_next_descriptor()
30 …tandard_desc_t *ret_desc = (const usb_standard_desc_t *)(((uint32_t)cur_desc) + cur_desc->bLength); in usb_parse_next_descriptor()
31 *offset += cur_desc->bLength; in usb_parse_next_descriptor()
35 const usb_standard_desc_t *usb_parse_next_descriptor_of_type(const usb_standard_desc_t *cur_desc, u… in usb_parse_next_descriptor_of_type() argument
37 assert(cur_desc != NULL && offset != NULL); in usb_parse_next_descriptor_of_type()
40 …const usb_standard_desc_t *ret_desc = usb_parse_next_descriptor(cur_desc, wTotalLength, &offset_te… in usb_parse_next_descriptor_of_type()
/hal_espressif-3.4.0/components/usb/include/usb/
Dusb_helpers.h37 const usb_standard_desc_t *usb_parse_next_descriptor(const usb_standard_desc_t *cur_desc, uint16_t …
52 const usb_standard_desc_t *usb_parse_next_descriptor_of_type(const usb_standard_desc_t *cur_desc, u…
/hal_espressif-3.4.0/components/hal/include/hal/
Dadc_hal.h234 …_reading_result(adc_hal_context_t *hal, const intptr_t eof_desc_addr, dma_descriptor_t **cur_desc);
/hal_espressif-3.4.0/components/hal/
Dadc_hal.c377 …t_reading_result(adc_hal_context_t *hal, const intptr_t eof_desc_addr, dma_descriptor_t **cur_desc) in adc_hal_get_reading_result() argument
388 *cur_desc = hal->cur_desc_ptr; in adc_hal_get_reading_result()