Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_bulk.c71 urb_t *urb_cbw = test_hcd_alloc_urb(0, sizeof(mock_msc_bulk_cbw_t)); variable
74 urb_cbw->transfer.num_bytes = sizeof(mock_msc_bulk_cbw_t);
80 …mock_msc_scsi_init_cbw((mock_msc_bulk_cbw_t *)urb_cbw->transfer.data_buffer, true, block_num, TEST…
81 TEST_ASSERT_EQUAL(ESP_OK, hcd_urb_enqueue(bulk_out_pipe, urb_cbw));
83 TEST_ASSERT_EQUAL(urb_cbw, hcd_urb_dequeue(bulk_out_pipe));
84 TEST_ASSERT_EQUAL(USB_TRANSFER_STATUS_COMPLETED, urb_cbw->transfer.status);
105 test_hcd_free_urb(urb_cbw);