Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/
Dmsc_scsi_bot.c53 #define CBW_CMD_SIZE(cmd) (sizeof(cmd) - sizeof(msc_cbw_t)) macro
321 CBW_BASE_INIT(IN_DIR, CBW_CMD_SIZE(cbw_read10_t), num_sectors * sector_size), in scsi_cmd_read10()
338 CBW_BASE_INIT(OUT_DIR, CBW_CMD_SIZE(cbw_write10_t), num_sectors * sector_size), in scsi_cmd_write10()
352 CBW_BASE_INIT(IN_DIR, CBW_CMD_SIZE(cbw_read_capacity_t), sizeof(response)), in scsi_cmd_read_capacity()
367 CBW_BASE_INIT(IN_DIR, CBW_CMD_SIZE(cbw_unit_ready_t), 0), in scsi_cmd_unit_ready()
379 CBW_BASE_INIT(IN_DIR, CBW_CMD_SIZE(cbw_sense_t), sizeof(response)), in scsi_cmd_sense()
403 CBW_BASE_INIT(IN_DIR, CBW_CMD_SIZE(cbw_inquiry_t), sizeof(response)), in scsi_cmd_inquiry()
416 CBW_BASE_INIT(IN_DIR, CBW_CMD_SIZE(mode_sense_t), sizeof(response)), in scsi_cmd_mode_sense()
428 CBW_BASE_INIT(OUT_DIR, CBW_CMD_SIZE(prevent_allow_medium_removal_t), 0), in scsi_cmd_prevent_removal()