Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/usb/include/usb/
Dusb_host.h437 esp_err_t usb_host_transfer_alloc(size_t data_buffer_size, int num_isoc_packets, usb_transfer_t **t…
449 esp_err_t usb_host_transfer_free(usb_transfer_t *transfer);
461 esp_err_t usb_host_transfer_submit(usb_transfer_t *transfer);
475 esp_err_t usb_host_transfer_submit_control(usb_host_client_handle_t client_hdl, usb_transfer_t *tra…
Dusb_types_stack.h118 typedef struct usb_transfer_s usb_transfer_t; typedef
123 typedef void (*usb_transfer_cb_t)(usb_transfer_t *transfer);
/hal_espressif-3.6.0/components/usb/test/usb_host/
Dmsc_client_async_dconn.c61 static void msc_reset_cbw_transfer_cb(usb_transfer_t *transfer) in msc_reset_cbw_transfer_cb()
80 static void msc_data_transfer_cb(usb_transfer_t *transfer) in msc_data_transfer_cb()
143 usb_transfer_t *xfer_out; //Must be large enough to contain CBW and MSC reset control transfer in msc_client_async_dconn_task()
144usb_transfer_t *xfer_in[msc_obj.num_data_transfers]; //We manually split the data stage into mul… in msc_client_async_dconn_task()
Dctrl_client_async_seq.c62 static void ctrl_transfer_cb(usb_transfer_t *transfer) in ctrl_transfer_cb()
110 usb_transfer_t *ctrl_xfer[NUM_TRANSFER_OBJ] = {NULL}; in ctrl_client_async_seq_task()
156 usb_transfer_t *transfer = ctrl_xfer[ctrl_obj.num_xfer_sent % NUM_TRANSFER_OBJ]; in ctrl_client_async_seq_task()
Dmsc_client_async_seq.c59 static void msc_transfer_cb(usb_transfer_t *transfer) in msc_transfer_cb()
142usb_transfer_t *xfer_out = NULL; //Must be large enough to contain CBW and MSC reset control tr… in msc_client_async_seq_task()
143 usb_transfer_t *xfer_in = NULL; //Must be large enough to contain CSW and Data in msc_client_async_seq_task()
/hal_espressif-3.6.0/components/usb/private_include/
Dusb_private.h37 _Static_assert(sizeof(usb_transfer_dummy_t) == sizeof(usb_transfer_t), "usb_transfer_dummy_t does n…
48 usb_transfer_t transfer;
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/private_include/
Dmsc_common.h40 usb_transfer_t *xfer;
47 esp_err_t msc_control_transfer(msc_device_t *device_handle, usb_transfer_t *xfer, size_t len);
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c118 usb_transfer_t *out_xfer; // OUT data transfer
119 usb_transfer_t *in_xfer; // IN data transfer
126 usb_transfer_t *xfer; // IN notification transfer
131 usb_transfer_t *ctrl_transfer; // CTRL (endpoint 0) transfer
148 static void notif_xfer_cb(usb_transfer_t *transfer);
157 static void in_xfer_cb(usb_transfer_t *transfer);
166 static void out_xfer_cb(usb_transfer_t *transfer);
234 static esp_err_t cdc_acm_reset_transfer_endpoint(usb_device_handle_t dev_hdl, usb_transfer_t *trans… in cdc_acm_reset_transfer_endpoint()
899 static bool cdc_acm_is_transfer_completed(usb_transfer_t *transfer) in cdc_acm_is_transfer_completed()
929 static void in_xfer_cb(usb_transfer_t *transfer) in in_xfer_cb()
[all …]
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/
Dmsc_host.c380 usb_transfer_t *larger_xfer; in msc_host_install_device()
433 usb_transfer_t *xfer = dev->xfer; in msc_read_string_desc()
481 static void transfer_callback(usb_transfer_t *transfer) in transfer_callback()
493 static esp_err_t wait_for_transfer_done(usb_transfer_t *xfer) in wait_for_transfer_done()
515 usb_transfer_t *xfer = device->xfer; in msc_bulk_transfer()
542 esp_err_t msc_control_transfer(msc_device_t *device, usb_transfer_t *xfer, size_t len) in msc_control_transfer()
Dmsc_scsi_bot.c253 usb_transfer_t *xfer = device->xfer; in clear_feature()
264 usb_transfer_t *xfer = device->xfer; in msc_mass_reset()
274 usb_transfer_t *xfer = device->xfer; in msc_get_max_lun()
/hal_espressif-3.6.0/components/usb/
Dhcd.c2057 static inline void _buffer_fill_ctrl(dma_buffer_block_t *buffer, usb_transfer_t *transfer) in _buffer_fill_ctrl()
2084 static inline void _buffer_fill_bulk(dma_buffer_block_t *buffer, usb_transfer_t *transfer, bool is_… in _buffer_fill_bulk()
2106 static inline void _buffer_fill_intr(dma_buffer_block_t *buffer, usb_transfer_t *transfer, bool is_… in _buffer_fill_intr()
2148 static inline void _buffer_fill_isoc(dma_buffer_block_t *buffer, usb_transfer_t *transfer, bool is_… in _buffer_fill_isoc()
2198 usb_transfer_t *transfer = &urb->transfer; in _buffer_fill()
2329 usb_transfer_t *transfer = &buffer->urb->transfer; in _buffer_parse_ctrl()
2351 usb_transfer_t *transfer = &buffer->urb->transfer; in _buffer_parse_bulk()
2367 usb_transfer_t *transfer = &buffer->urb->transfer; in _buffer_parse_intr()
2417 usb_transfer_t *transfer = &buffer->urb->transfer; in _buffer_parse_isoc()
2448 usb_transfer_t *transfer = &buffer->urb->transfer; in _buffer_parse_error()
Dusb_host.c1208 static bool transfer_check(usb_transfer_t *transfer, usb_transfer_type_t type, int mps, bool is_in) in transfer_check()
1262 esp_err_t usb_host_transfer_alloc(size_t data_buffer_size, int num_isoc_packets, usb_transfer_t **t… in usb_host_transfer_alloc()
1272 esp_err_t usb_host_transfer_free(usb_transfer_t *transfer) in usb_host_transfer_free()
1282 esp_err_t usb_host_transfer_submit(usb_transfer_t *transfer) in usb_host_transfer_submit()
1323 esp_err_t usb_host_transfer_submit_control(usb_host_client_handle_t client_hdl, usb_transfer_t *tra… in usb_host_transfer_submit_control()
Dhub.c322 usb_transfer_t *transfer = &enum_ctrl->urb->transfer; in enum_stage_transfer()
416 usb_transfer_t *transfer = &dequeued_enum_urb->transfer; in enum_stage_transfer_check()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dusb_host.rst252 static void transfer_cb(usb_transfer_t *transfer)
276 usb_transfer_t *transfer;