Searched refs:cur_desc (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.4.0/components/usb/test/usb_host/ |
D | test_usb_helpers.c | 347 const usb_standard_desc_t *cur_desc = (usb_standard_desc_t *)config_desc; in test_walk_desc() local 349 …cur_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() 353 …cur_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/ |
D | usb_helpers.c | 20 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/ |
D | usb_helpers.h | 37 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/ |
D | adc_hal.h | 234 …_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/ |
D | adc_hal.c | 377 …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()
|