Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_isoc.c60 for (int urb_idx = 0; urb_idx < NUM_URBS; urb_idx++) { variable
61 urb_list[urb_idx] = test_hcd_alloc_urb(NUM_PACKETS_PER_URB, URB_DATA_BUFF_SIZE);
62 urb_list[urb_idx]->transfer.num_bytes = URB_DATA_BUFF_SIZE;
63 urb_list[urb_idx]->transfer.context = URB_CONTEXT_VAL;
65 urb_list[urb_idx]->transfer.isoc_packet_desc[pkt_idx].num_bytes = ISOC_PACKET_SIZE;
67 …memset(&urb_list[urb_idx]->transfer.data_buffer[pkt_idx * ISOC_PACKET_SIZE], (urb_idx * NUM_URBS) …
79 for (int urb_idx = 0; urb_idx < NUM_URBS; urb_idx++) { variable
81 TEST_ASSERT_EQUAL(urb_list[urb_idx], urb);
142 for (int urb_idx = 0; urb_idx < NUM_URBS; urb_idx++) { variable
143 urb_list[urb_idx] = test_hcd_alloc_urb(NUM_PACKETS_PER_URB, URB_DATA_BUFF_SIZE);
[all …]