Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/private_include/
Dmsc_scsi_bot.h24 esp_err_t scsi_cmd_read10(msc_device_t *device,
30 esp_err_t scsi_cmd_write10(msc_device_t *device,
36 esp_err_t scsi_cmd_read_capacity(msc_device_t *device,
40 esp_err_t scsi_cmd_sense(msc_device_t *device, scsi_sense_data_t *sense);
42 esp_err_t scsi_cmd_unit_ready(msc_device_t *device);
44 esp_err_t scsi_cmd_inquiry(msc_device_t *device);
46 esp_err_t scsi_cmd_prevent_removal(msc_device_t *device, bool prevent);
48 esp_err_t scsi_cmd_mode_sense(msc_device_t *device);
50 esp_err_t msc_mass_reset(msc_device_t *device);
52 esp_err_t msc_get_max_lun(msc_device_t *device, uint8_t *lun);
Dmsc_common.h43 } msc_device_t; typedef
45 esp_err_t msc_bulk_transfer(msc_device_t *device_handle, uint8_t *data, size_t size, msc_endpoint_t…
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/msc/components/msc/src/
Dmsc_host.c148 static esp_err_t msc_deinit_device(msc_device_t *dev, bool install_failed) in msc_deinit_device()
174 static esp_err_t msc_wait_for_ready_state(msc_device_t *dev, size_t timeout_ms) in msc_wait_for_ready_state()
232 static msc_device_t *find_msc_device(usb_device_handle_t device_handle) in find_msc_device()
256 msc_device_t *msc_device = find_msc_device(event->dev_gone.dev_hdl); in client_event_cb()
345 msc_device_t *msc_device; in msc_host_install_device()
349 MSC_GOTO_ON_FALSE( msc_device = calloc(1, sizeof(msc_device_t)), ESP_ERR_NO_MEM ); in msc_host_install_device()
398 return msc_deinit_device((msc_device_t *)device, false); in msc_host_uninstall_device()
405 msc_device_t *dev = (msc_device_t *)device; in msc_host_read_sector()
413 msc_device_t *dev = (msc_device_t *)device; in msc_host_write_sector()
425 static esp_err_t msc_read_string_desc(msc_device_t *dev, uint8_t index, wchar_t *str) in msc_read_string_desc()
[all …]
Dmsc_scsi_bot.c250 static esp_err_t clear_feature(msc_device_t *device, uint8_t endpoint) in clear_feature()
262 esp_err_t msc_mass_reset(msc_device_t *device) in msc_mass_reset()
272 esp_err_t msc_get_max_lun(msc_device_t *device, uint8_t *lun) in msc_get_max_lun()
284 static esp_err_t bot_execute_command(msc_device_t *device, msc_cbw_t *cbw, void *data, size_t size) in bot_execute_command()
314 esp_err_t scsi_cmd_read10(msc_device_t *device, in scsi_cmd_read10()
331 esp_err_t scsi_cmd_write10(msc_device_t *device, in scsi_cmd_write10()
347 esp_err_t scsi_cmd_read_capacity(msc_device_t *device, uint32_t *block_size, uint32_t *block_count) in scsi_cmd_read_capacity()
364 esp_err_t scsi_cmd_unit_ready(msc_device_t *device) in scsi_cmd_unit_ready()
374 esp_err_t scsi_cmd_sense(msc_device_t *device, scsi_sense_data_t *sense) in scsi_cmd_sense()
398 esp_err_t scsi_cmd_inquiry(msc_device_t *device) in scsi_cmd_inquiry()
[all …]
Ddiskio_usb.c38 msc_device_t *dev = __containerof(disk, msc_device_t, disk); in usb_disk_read()
60 msc_device_t *dev = __containerof(disk, msc_device_t, disk); in usb_disk_write()
Dmsc_host_vfs.c68 msc_device_t *dev = (msc_device_t *)device; in msc_host_vfs_register()