Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_ctrl.c78 TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
79 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
102 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
103 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
106 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
182 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
183 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
186 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
211 TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
212 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
[all …]
Dtest_hcd_port.c92 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
93 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
96 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
238 … TEST_ASSERT_GREATER_OR_EQUAL(sizeof(usb_setup_packet_t), urb->transfer.actual_num_bytes);
239 TEST_ASSERT_LESS_OR_EQUAL(urb->transfer.num_bytes, urb->transfer.actual_num_bytes);
242 TEST_ASSERT_EQUAL(0, urb->transfer.actual_num_bytes);
Dtest_hcd_bulk.c95 TEST_ASSERT_EQUAL(sizeof(mock_msc_bulk_csw_t), urb_csw->transfer.actual_num_bytes);
99 for (int i = 0; i < urb_data->transfer.actual_num_bytes; i++) {
Dtest_hcd_isoc.c84 TEST_ASSERT_EQUAL(URB_DATA_BUFF_SIZE, urb->transfer.actual_num_bytes);
/hal_espressif-3.6.0/components/usb/include/usb/
Dusb_types_stack.h86 …int actual_num_bytes; /**< Actual number of bytes transmitted/received i… member
132 int actual_num_bytes; /**< Actual number of bytes transferred */ member
/hal_espressif-3.6.0/components/usb/test/usb_host/
Dmsc_client_async_seq.c66 TEST_ASSERT_EQUAL(transfer->num_bytes, transfer->actual_num_bytes); in msc_transfer_cb()
73 TEST_ASSERT_EQUAL(sizeof(mock_msc_bulk_cbw_t), transfer->actual_num_bytes); in msc_transfer_cb()
80 …(MOCK_MSC_SCSI_SECTOR_SIZE * msc_obj->test_param.num_sectors_per_xfer, transfer->actual_num_bytes); in msc_transfer_cb()
Dmsc_client_async_dconn.c66 TEST_ASSERT_EQUAL(transfer->num_bytes, transfer->actual_num_bytes); in msc_reset_cbw_transfer_cb()
85 TEST_ASSERT_EQUAL(transfer->num_bytes, transfer->actual_num_bytes); in msc_data_transfer_cb()
87 TEST_ASSERT_EQUAL(0, transfer->actual_num_bytes); in msc_data_transfer_cb()
Dctrl_client_async_seq.c67 …TEST_ASSERT_EQUAL(ctrl_obj->config_desc_cached->wTotalLength, transfer->actual_num_bytes - sizeof(… in ctrl_transfer_cb()
/hal_espressif-3.6.0/components/usb/
Dhcd.c1763 urb->transfer.actual_num_bytes = 0; in _pipe_cmd_flush()
1768 urb->transfer.isoc_packet_desc[pkt_idx].actual_num_bytes = 0; in _pipe_cmd_flush()
2333 transfer->actual_num_bytes = sizeof(usb_setup_packet_t); in _buffer_parse_ctrl()
2341 transfer->actual_num_bytes = transfer->num_bytes - rem_len; in _buffer_parse_ctrl()
2358 transfer->actual_num_bytes = transfer->num_bytes - rem_len; in _buffer_parse_bulk()
2382 transfer->actual_num_bytes = (mps * intr_stop_idx - 2) + (mps - rem_len); in _buffer_parse_intr()
2397 transfer->actual_num_bytes = transfer->num_bytes - last_packet_rem_len; in _buffer_parse_intr()
2407 transfer->actual_num_bytes = transfer->num_bytes; in _buffer_parse_intr()
2430 …transfer->isoc_packet_desc[pkt_idx].actual_num_bytes = transfer->isoc_packet_desc[pkt_idx].num_byt… in _buffer_parse_isoc()
2431 total_actual_num_bytes += transfer->isoc_packet_desc[pkt_idx].actual_num_bytes; in _buffer_parse_isoc()
[all …]
Dhub.c422 …f (enum_ctrl->expect_num_bytes != 0 && enum_ctrl->expect_num_bytes != transfer->actual_num_bytes) { in enum_stage_transfer_check()
/hal_espressif-3.6.0/components/usb/private_include/
Dusb_private.h26 int actual_num_bytes; member
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c936 cdc_dev->data.in_cb(transfer->data_buffer, transfer->actual_num_bytes, cdc_dev->cb_arg); in in_xfer_cb()
976 ESP_LOG_BUFFER_HEX("CDC_ACM", transfer->data_buffer, transfer->actual_num_bytes); in notif_xfer_cb()
1053 …ESP_GOTO_ON_FALSE(cdc_dev->data.out_xfer->actual_num_bytes == data_len, ESP_ERR_INVALID_RESPONSE, … in cdc_acm_host_data_tx_blocking()
1150 …ESP_GOTO_ON_FALSE(cdc_dev->ctrl_transfer->actual_num_bytes == cdc_dev->ctrl_transfer->num_bytes, E… in send_cdc_request()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dusb_host.rst256 …status %d, actual number of bytes transferred %d\n", transfer->status, transfer->actual_num_bytes);