Searched refs:xfer_out (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/usb/test/usb_host/ |
D | msc_client_async_seq.c | 142 …usb_transfer_t *xfer_out = NULL; //Must be large enough to contain CBW and MSC reset control tr… in msc_client_async_seq_task() local 146 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_alloc(out_worst_case_size, 0, &xfer_out)); in msc_client_async_seq_task() 148 xfer_out->callback = msc_transfer_cb; in msc_client_async_seq_task() 150 xfer_out->context = (void *)&msc_obj; in msc_client_async_seq_task() 175 xfer_out->device_handle = msc_obj.dev_hdl; in msc_client_async_seq_task() 191 …MOCK_MSC_SCSI_REQ_INIT_RESET((usb_setup_packet_t *)xfer_out->data_buffer, MOCK_MSC_SCSI_INTF_NUMBE… in msc_client_async_seq_task() 192 xfer_out->num_bytes = sizeof(usb_setup_packet_t); in msc_client_async_seq_task() 193 xfer_out->bEndpointAddress = 0; in msc_client_async_seq_task() 194 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit_control(msc_obj.client_hdl, xfer_out)); in msc_client_async_seq_task() 200 …mock_msc_scsi_init_cbw((mock_msc_bulk_cbw_t *)xfer_out->data_buffer, true, msc_obj.next_stage, msc… in msc_client_async_seq_task() [all …]
|
D | msc_client_async_dconn.c | 143 usb_transfer_t *xfer_out; //Must be large enough to contain CBW and MSC reset control transfer in msc_client_async_dconn_task() local 147 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_alloc(xfer_out_size, 0, &xfer_out)); in msc_client_async_dconn_task() 148 xfer_out->context = (void *)&msc_obj; in msc_client_async_dconn_task() 181 xfer_out->device_handle = msc_obj.dev_hdl; in msc_client_async_dconn_task() 182 xfer_out->callback = msc_reset_cbw_transfer_cb; in msc_client_async_dconn_task() 201 …MOCK_MSC_SCSI_REQ_INIT_RESET((usb_setup_packet_t *)xfer_out->data_buffer, MOCK_MSC_SCSI_INTF_NUMBE… in msc_client_async_dconn_task() 202 xfer_out->num_bytes = sizeof(usb_setup_packet_t); in msc_client_async_dconn_task() 203 xfer_out->bEndpointAddress = 0; in msc_client_async_dconn_task() 204 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit_control(msc_obj.client_hdl, xfer_out)); in msc_client_async_dconn_task() 210 …mock_msc_scsi_init_cbw((mock_msc_bulk_cbw_t *)xfer_out->data_buffer, true, 0, msc_obj.test_param.n… in msc_client_async_dconn_task() [all …]
|