Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/usb_host/
Dctrl_client_async_seq.c110 usb_transfer_t *ctrl_xfer[NUM_TRANSFER_OBJ] = {NULL}; in ctrl_client_async_seq_task() local
112 …SP_OK, usb_host_transfer_alloc(sizeof(usb_setup_packet_t) + MAX_TRANSFER_BYTES, 0, &ctrl_xfer[i])); in ctrl_client_async_seq_task()
113 ctrl_xfer[i]->callback = ctrl_transfer_cb; in ctrl_client_async_seq_task()
114 ctrl_xfer[i]->context = (void *)&ctrl_obj; in ctrl_client_async_seq_task()
140 ctrl_xfer[i]->device_handle = ctrl_obj.dev_hdl; in ctrl_client_async_seq_task()
156 usb_transfer_t *transfer = ctrl_xfer[ctrl_obj.num_xfer_sent % NUM_TRANSFER_OBJ]; in ctrl_client_async_seq_task()
183 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_free(ctrl_xfer[i])); in ctrl_client_async_seq_task()