Searched refs:urb_list (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/components/usb/test/hcd/ |
D | test_hcd_ctrl.c | 53 urb_t *urb_list[NUM_URBS]; variable 55 urb_list[i] = test_hcd_alloc_urb(0, URB_DATA_BUFF_SIZE); 57 urb_list[i]->transfer.num_bytes = sizeof(usb_setup_packet_t) + TRANSFER_MAX_BYTES; 58 …USB_SETUP_PACKET_INIT_GET_CONFIG_DESC((usb_setup_packet_t *)urb_list[i]->transfer.data_buffer, 0, … 59 urb_list[i]->transfer.context = URB_CONTEXT_VAL; 65 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_enqueue(default_pipe, urb_list[i])); 74 TEST_ASSERT_EQUAL(urb_list[i], urb); 87 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_enqueue(default_pipe, urb_list[i])); 90 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_abort(urb_list[i])); 113 test_hcd_free_urb(urb_list[i]); [all …]
|
D | test_hcd_isoc.c | 58 urb_t *urb_list[NUM_URBS]; 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) … 72 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_enqueue(isoc_out_pipe, urb_list[i])); 81 TEST_ASSERT_EQUAL(urb_list[urb_idx], urb); 92 test_hcd_free_urb(urb_list[i]); 140 urb_t *urb_list[NUM_URBS]; variable [all …]
|
D | test_hcd_port.c | 53 urb_t *urb_list[NUM_URBS]; variable 55 urb_list[i] = test_hcd_alloc_urb(0, URB_DATA_BUFF_SIZE); 57 urb_list[i]->transfer.num_bytes = sizeof(usb_setup_packet_t) + TRANSFER_MAX_BYTES; 58 …USB_SETUP_PACKET_INIT_GET_CONFIG_DESC((usb_setup_packet_t *)urb_list[i]->transfer.data_buffer, 0, … 59 urb_list[i]->transfer.context = (void *)0xDEADBEEF; 65 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_enqueue(default_pipe, urb_list[i])); 88 TEST_ASSERT_EQUAL(urb_list[i], urb); 102 test_hcd_free_urb(urb_list[i]); 200 urb_t *urb_list[NUM_URBS]; variable 202 urb_list[i] = test_hcd_alloc_urb(0, URB_DATA_BUFF_SIZE); [all …]
|
D | test_hcd_intr.c | 54 urb_t *urb_list[NUM_URBS]; variable 56 urb_list[i] = test_hcd_alloc_urb(0, URB_DATA_BUFF_SIZE); 57 urb_list[i]->transfer.num_bytes = URB_DATA_BUFF_SIZE; 58 urb_list[i]->transfer.context = URB_CONTEXT_VAL; 63 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_enqueue(intr_pipe, urb_list[i])); 82 test_hcd_free_urb(urb_list[i]);
|