Searched refs:desc_idx (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.4.0/components/hal/include/hal/ |
D | usbh_hal.h | 703 static inline void usbh_hal_xfer_desc_fill(void *desc_list, uint32_t desc_idx, uint8_t *xfer_data_b… in usbh_hal_xfer_desc_fill() argument 707 usbh_ll_set_qtd_in(&qtd_list[desc_idx], in usbh_hal_xfer_desc_fill() 711 usbh_ll_set_qtd_out(&qtd_list[desc_idx], in usbh_hal_xfer_desc_fill() 725 static inline void usbh_hal_xfer_desc_clear(void *desc_list, uint32_t desc_idx) in usbh_hal_xfer_desc_clear() argument 728 usbh_ll_set_qtd_null(&qtd_list[desc_idx]); in usbh_hal_xfer_desc_clear() 741 static inline void usbh_hal_xfer_desc_parse(void *desc_list, uint32_t desc_idx, int *xfer_rem_len, … in usbh_hal_xfer_desc_parse() argument 744 usbh_ll_get_qtd_status(&qtd_list[desc_idx], xfer_rem_len, xfer_status); in usbh_hal_xfer_desc_parse() 746 usbh_ll_set_qtd_null(&qtd_list[desc_idx]); in usbh_hal_xfer_desc_parse()
|
/hal_espressif-3.4.0/components/usb/ |
D | hcd.c | 2153 int desc_idx = start_idx; in _buffer_fill_isoc() local 2163 …usbh_hal_xfer_desc_fill(buffer->xfer_desc_list, desc_idx, &transfer->data_buffer[bytes_filled], xf… in _buffer_fill_isoc() 2165 if (++desc_idx >= XFER_LIST_LEN_ISOC) { in _buffer_fill_isoc() 2166 desc_idx = 0; in _buffer_fill_isoc() 2170 usbh_hal_xfer_desc_clear(buffer->xfer_desc_list, desc_idx); in _buffer_fill_isoc() 2171 if (++desc_idx >= XFER_LIST_LEN_ISOC) { in _buffer_fill_isoc() 2172 desc_idx = 0; in _buffer_fill_isoc() 2180 buffer->flags.isoc.next_start_idx = desc_idx; in _buffer_fill_isoc() 2418 …int desc_idx = buffer->flags.isoc.start_idx; //Descriptor index tracks which descriptor in the … in _buffer_parse_isoc() local 2424 usbh_hal_xfer_desc_parse(buffer->xfer_desc_list, desc_idx, &rem_len, &desc_status); in _buffer_parse_isoc() [all …]
|