Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/
Dhcd.c201 …uint32_t num_qtds: 8; //Number of transfer descriptors filled (excluding zero length pac… member
206 …uint32_t num_qtds: 8; //Number of transfer descriptors filled (including NULL descriptor… member
2108 int num_qtds; in _buffer_fill_intr() local
2114num_qtds = transfer->num_bytes / mps; //Can just floor divide as it's already multiple of MPS in _buffer_fill_intr()
2116num_qtds = transfer->num_bytes / mps; //Floor division to get the number of MPS sized packets in _buffer_fill_intr()
2118 num_qtds++; //Add a short packet for the remainder in _buffer_fill_intr()
2121 …assert((zero_len_packet) ? num_qtds + 1 : num_qtds <= XFER_LIST_LEN_INTR); //Check that the number… in _buffer_fill_intr()
2126 for (int i = 0; i < num_qtds - 1; i++) { in _buffer_fill_intr()
2133 …usbh_hal_xfer_desc_fill(buffer->xfer_desc_list, num_qtds - 1, &transfer->data_buffer[bytes_filled]… in _buffer_fill_intr()
2136 … usbh_hal_xfer_desc_fill(buffer->xfer_desc_list, num_qtds, NULL, 0, USBH_HAL_XFER_DESC_FLAG_HOC); in _buffer_fill_intr()
[all …]