Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/usb_host/
Dmsc_client_async_seq.c50 msc_client_test_param_t test_param; member
80 …TEST_ASSERT_EQUAL(MOCK_MSC_SCSI_SECTOR_SIZE * msc_obj->test_param.num_sectors_per_xfer, transfer->… in msc_transfer_cb()
87 …_scsi_check_csw((mock_msc_bulk_csw_t *)transfer->data_buffer, msc_obj->test_param.msc_scsi_xfer_ta… in msc_transfer_cb()
88 msc_obj->num_sectors_read += msc_obj->test_param.num_sectors_per_xfer; in msc_transfer_cb()
89 if (msc_obj->num_sectors_read < msc_obj->test_param.num_sectors_to_read) { in msc_transfer_cb()
122 memcpy(&msc_obj.test_param, arg, sizeof(msc_client_test_param_t)); in msc_client_async_seq_task()
145 …ase_size = usb_round_up_to_mps(MAX(MOCK_MSC_SCSI_SECTOR_SIZE * msc_obj.test_param.num_sectors_per_… in msc_client_async_seq_task()
180 TEST_ASSERT_EQUAL(msc_obj.test_param.idVendor, device_desc->idVendor); in msc_client_async_seq_task()
181 TEST_ASSERT_EQUAL(msc_obj.test_param.idProduct, device_desc->idProduct); in msc_client_async_seq_task()
200 …ut->data_buffer, true, msc_obj.next_stage, msc_obj.test_param.num_sectors_per_xfer, msc_obj.test_p… in msc_client_async_seq_task()
[all …]
Dctrl_client_async_seq.c51 ctrl_client_test_param_t test_param; member
69 if (ctrl_obj->num_xfer_sent < ctrl_obj->test_param.num_ctrl_xfer_to_send) { in ctrl_transfer_cb()
71 } else if (ctrl_obj->num_xfer_done == ctrl_obj->test_param.num_ctrl_xfer_to_send) { in ctrl_transfer_cb()
94 memcpy(&ctrl_obj.test_param, arg, sizeof(ctrl_client_test_param_t)); in ctrl_client_async_seq_task()
145 TEST_ASSERT_EQUAL(ctrl_obj.test_param.idVendor, device_desc->idVendor); in ctrl_client_async_seq_task()
146 TEST_ASSERT_EQUAL(ctrl_obj.test_param.idProduct, device_desc->idProduct); in ctrl_client_async_seq_task()
Dmsc_client_async_dconn.c51 msc_client_test_param_t test_param; member
122 memcpy(&msc_obj.test_param, arg, sizeof(msc_client_test_param_t)); in msc_client_async_dconn_task()
128 … msc_obj.num_data_transfers = msc_obj.test_param.num_sectors_per_xfer / MOCK_MSC_SCSI_SECTOR_SIZE; in msc_client_async_dconn_task()
190 TEST_ASSERT_EQUAL(msc_obj.test_param.idVendor, device_desc->idVendor); in msc_client_async_dconn_task()
191 TEST_ASSERT_EQUAL(msc_obj.test_param.idProduct, device_desc->idProduct); in msc_client_async_dconn_task()
210 …lk_cbw_t *)xfer_out->data_buffer, true, 0, msc_obj.test_param.num_sectors_per_xfer, msc_obj.test_p… in msc_client_async_dconn_task()
/hal_espressif-3.6.0/components/driver/test/
Dtest_spi_param.c26 static void local_test_loop(const void *test_param, void* context);
548 spitest_param_set_t test_param = { in TEST_SPI_LOCAL() local
558 local_test_start(&spi, 1000*1000, &test_param, NULL); in TEST_SPI_LOCAL()