Searched refs:xfer (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/ |
D | msc_host.c | 162 usb_host_transfer_free(dev->xfer); in msc_deinit_device() 166 MSC_RETURN_ON_ERROR( usb_host_transfer_free(dev->xfer) ); in msc_deinit_device() 361 MSC_GOTO_ON_ERROR( usb_host_transfer_alloc(transfer_size, 0, &msc_device->xfer) ); in msc_host_install_device() 382 usb_host_transfer_free(msc_device->xfer); in msc_host_install_device() 383 msc_device->xfer = larger_xfer; in msc_host_install_device() 433 usb_transfer_t *xfer = dev->xfer; in msc_read_string_desc() local 434 USB_SETUP_PACKET_INIT_GET_STR_DESC((usb_setup_packet_t *)xfer->data_buffer, index, 0x409, 64); in msc_read_string_desc() 435 MSC_RETURN_ON_ERROR( msc_control_transfer(dev, xfer, USB_SETUP_PACKET_SIZE + 64) ); in msc_read_string_desc() 437 usb_standard_desc_t *desc = (usb_standard_desc_t *)(xfer->data_buffer + USB_SETUP_PACKET_SIZE); in msc_read_string_desc() 438 wchar_t *data = (wchar_t *)(xfer->data_buffer + USB_SETUP_PACKET_SIZE + 2); in msc_read_string_desc() [all …]
|
D | msc_scsi_bot.c | 253 usb_transfer_t *xfer = device->xfer; in clear_feature() local 256 USB_SETUP_PACKET_INIT_CLEAR_FEATURE_EP((usb_setup_packet_t *)xfer->data_buffer, endpoint); in clear_feature() 257 MSC_RETURN_ON_ERROR( msc_control_transfer(device, xfer, USB_SETUP_PACKET_SIZE) ); in clear_feature() 264 usb_transfer_t *xfer = device->xfer; in msc_mass_reset() local 266 USB_MASS_REQ_INIT_RESET((usb_setup_packet_t *)xfer->data_buffer, 0); in msc_mass_reset() 267 MSC_RETURN_ON_ERROR( msc_control_transfer(device, xfer, USB_SETUP_PACKET_SIZE) ); in msc_mass_reset() 274 usb_transfer_t *xfer = device->xfer; in msc_get_max_lun() local 276 USB_MASS_REQ_INIT_GET_MAX_LUN((usb_setup_packet_t *)xfer->data_buffer, 0); in msc_get_max_lun() 277 MSC_RETURN_ON_ERROR( msc_control_transfer(device, xfer, USB_SETUP_PACKET_SIZE + 1) ); in msc_get_max_lun() 279 *lun = xfer->data_buffer[USB_SETUP_PACKET_SIZE]; in msc_get_max_lun()
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/ |
D | i2c_cxx.hpp | 198 …std::future<typename TransferT::TransferReturnT> transfer(std::shared_ptr<TransferT> xfer, uint8_t… 477 … TransferT::TransferReturnT> I2CMaster::transfer(std::shared_ptr<TransferT> xfer, uint8_t i2c_addr) in transfer() argument 479 if (!xfer) throw I2CException(ESP_ERR_INVALID_ARG); in transfer() 481 … return std::async(std::launch::async, [this](std::shared_ptr<TransferT> xfer, uint8_t i2c_addr) { in transfer() argument 482 return xfer->do_transfer(i2c_num, i2c_addr); in transfer() 483 }, xfer, i2c_addr); in transfer()
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/private_include/ |
D | msc_common.h | 40 usb_transfer_t *xfer; member 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/ |
D | cdc_acm_host.c | 126 usb_transfer_t *xfer; // IN notification transfer member 279 ESP_ERROR_CHECK(usb_host_transfer_submit(cdc_dev->notif.xfer)); in cdc_acm_start() 515 usb_host_transfer_free(cdc_dev->notif.xfer); in cdc_acm_transfers_free() 554 usb_host_transfer_alloc(USB_EP_DESC_GET_MPS(notif_ep_desc), 0, &cdc_dev->notif.xfer), in cdc_acm_transfers_allocate() 556 cdc_dev->notif.xfer->device_handle = cdc_dev->dev_hdl; in cdc_acm_transfers_allocate() 557 cdc_dev->notif.xfer->bEndpointAddress = notif_ep_desc->bEndpointAddress; in cdc_acm_transfers_allocate() 558 cdc_dev->notif.xfer->callback = notif_xfer_cb; in cdc_acm_transfers_allocate() 559 cdc_dev->notif.xfer->context = cdc_dev; in cdc_acm_transfers_allocate() 560 cdc_dev->notif.xfer->num_bytes = USB_EP_DESC_GET_MPS(notif_ep_desc); in cdc_acm_transfers_allocate() 829 ESP_ERROR_CHECK(cdc_acm_reset_transfer_endpoint(cdc_dev->dev_hdl, cdc_dev->notif.xfer)); in cdc_acm_host_close() [all …]
|