Searched refs:bot_execute_command (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/ |
D | msc_scsi_bot.c | 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() function 328 return bot_execute_command(device, &cbw.base, data, num_sectors * sector_size); in scsi_cmd_read10() 344 return bot_execute_command(device, &cbw.base, (void *)data, num_sectors * sector_size); in scsi_cmd_write10() 356 MSC_RETURN_ON_ERROR( bot_execute_command(device, &cbw.base, &response, sizeof(response)) ); in scsi_cmd_read_capacity() 371 return bot_execute_command(device, &cbw.base, NULL, 0); in scsi_cmd_unit_ready() 384 MSC_RETURN_ON_ERROR( bot_execute_command(device, &cbw.base, &response, sizeof(response)) ); in scsi_cmd_sense() 408 return bot_execute_command(device, &cbw.base, &response, sizeof(response) ); in scsi_cmd_inquiry() 422 return bot_execute_command(device, &cbw.base, &response, sizeof(response) ); in scsi_cmd_mode_sense() 433 return bot_execute_command(device, &cbw.base, NULL, 0); in scsi_cmd_prevent_removal()
|