Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_isoc.c64 for (int pkt_idx = 0; pkt_idx < NUM_PACKETS_PER_URB; pkt_idx++) { variable
65 urb_list[urb_idx]->transfer.isoc_packet_desc[pkt_idx].num_bytes = ISOC_PACKET_SIZE;
67 …emset(&urb_list[urb_idx]->transfer.data_buffer[pkt_idx * ISOC_PACKET_SIZE], (urb_idx * NUM_URBS) +…
86 for (int pkt_idx = 0; pkt_idx < NUM_PACKETS_PER_URB; pkt_idx++) { variable
87 … TEST_ASSERT_EQUAL(USB_TRANSFER_STATUS_COMPLETED, urb->transfer.isoc_packet_desc[pkt_idx].status);
146 for (int pkt_idx = 0; pkt_idx < NUM_PACKETS_PER_URB; pkt_idx++) { variable
147 urb_list[urb_idx]->transfer.isoc_packet_desc[pkt_idx].num_bytes = ISOC_PACKET_SIZE;
149 …emset(&urb_list[urb_idx]->transfer.data_buffer[pkt_idx * ISOC_PACKET_SIZE], (urb_idx * NUM_URBS) +…
/hal_espressif-3.6.0/components/usb/
Dhcd.c1767 for (int pkt_idx = 0; pkt_idx < urb->transfer.num_isoc_packets; pkt_idx++) { in _pipe_cmd_flush() local
1768 urb->transfer.isoc_packet_desc[pkt_idx].actual_num_bytes = 0; in _pipe_cmd_flush()
1769 …urb->transfer.isoc_packet_desc[pkt_idx].status = (canceled) ? USB_TRANSFER_STATUS_CANCELED : USB_T… in _pipe_cmd_flush()
2156 for (int pkt_idx = 0; pkt_idx < transfer->num_isoc_packets; pkt_idx++) { in _buffer_fill_isoc() local
2157 int xfer_len = transfer->isoc_packet_desc[pkt_idx].num_bytes; in _buffer_fill_isoc()
2159 if (pkt_idx == transfer->num_isoc_packets - 1) { in _buffer_fill_isoc()
2420 for (int pkt_idx = 0; pkt_idx < transfer->num_isoc_packets; pkt_idx++) { in _buffer_parse_isoc() local
2428 assert(rem_len <= transfer->isoc_packet_desc[pkt_idx].num_bytes); //Check for DMA errata in _buffer_parse_isoc()
2430 …transfer->isoc_packet_desc[pkt_idx].actual_num_bytes = transfer->isoc_packet_desc[pkt_idx].num_byt… in _buffer_parse_isoc()
2431 total_actual_num_bytes += transfer->isoc_packet_desc[pkt_idx].actual_num_bytes; in _buffer_parse_isoc()
[all …]