Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/usb/
Dhcd.c2368 int intr_stop_idx = buffer->status_flags.stop_idx; in _buffer_parse_intr() local
2370 if (intr_stop_idx > 0) { //This is an early stop (short packet) in _buffer_parse_intr()
2371 assert(intr_stop_idx <= buffer->flags.intr.num_qtds); in _buffer_parse_intr()
2374 for (int i = 0; i < intr_stop_idx - 1; i++) { //Check all packets before the short in _buffer_parse_intr()
2379 … usbh_hal_xfer_desc_parse(buffer->xfer_desc_list, intr_stop_idx - 1, &rem_len, &desc_status); in _buffer_parse_intr()
2382 transfer->actual_num_bytes = (mps * intr_stop_idx - 2) + (mps - rem_len); in _buffer_parse_intr()