Searched refs:xfer_in (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/usb/test/usb_host/ |
D | msc_client_async_seq.c | 143 usb_transfer_t *xfer_in = NULL; //Must be large enough to contain CSW and Data in msc_client_async_seq_task() local 147 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_alloc(in_worst_case_size, 0, &xfer_in)); in msc_client_async_seq_task() 149 xfer_in->callback = msc_transfer_cb; in msc_client_async_seq_task() 151 xfer_in->context = (void *)&msc_obj; in msc_client_async_seq_task() 176 xfer_in->device_handle = msc_obj.dev_hdl; in msc_client_async_seq_task() 209 …xfer_in->num_bytes = usb_round_up_to_mps(MOCK_MSC_SCSI_SECTOR_SIZE * msc_obj.test_param.num_sector… in msc_client_async_seq_task() 210 xfer_in->bEndpointAddress = MOCK_MSC_SCSI_BULK_IN_EP_ADDR; in msc_client_async_seq_task() 211 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit(xfer_in)); in msc_client_async_seq_task() 217 … xfer_in->num_bytes = usb_round_up_to_mps(sizeof(mock_msc_bulk_csw_t), MOCK_MSC_SCSI_BULK_EP_MPS); in msc_client_async_seq_task() 218 xfer_in->bEndpointAddress = MOCK_MSC_SCSI_BULK_IN_EP_ADDR; in msc_client_async_seq_task() [all …]
|
D | msc_client_async_dconn.c | 144 …usb_transfer_t *xfer_in[msc_obj.num_data_transfers]; //We manually split the data stage into mul… in msc_client_async_dconn_task() local 150 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_alloc(xfer_in_size, 0, &xfer_in[i])); in msc_client_async_dconn_task() 151 xfer_in[i]->context = (void *)&msc_obj; in msc_client_async_dconn_task() 184 xfer_in[i]->device_handle = msc_obj.dev_hdl; in msc_client_async_dconn_task() 185 xfer_in[i]->callback = msc_data_transfer_cb; in msc_client_async_dconn_task() 221 … xfer_in[i]->num_bytes = usb_round_up_to_mps(MOCK_MSC_SCSI_SECTOR_SIZE, MOCK_MSC_SCSI_BULK_EP_MPS); in msc_client_async_dconn_task() 222 xfer_in[i]->bEndpointAddress = MOCK_MSC_SCSI_BULK_IN_EP_ADDR; in msc_client_async_dconn_task() 226 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_submit(xfer_in[i])); in msc_client_async_dconn_task() 256 TEST_ASSERT_EQUAL(ESP_OK, usb_host_transfer_free(xfer_in[i])); in msc_client_async_dconn_task()
|