Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage.c526 if (unlikely(fmass->data_size_from_cmd == 0)) in done_scsi_read()
532 nreadsector = fmass->data_size_from_cmd; in done_scsi_read()
641 if (unlikely(fmass->data_size_from_cmd == 0)) in done_scsi_write()
665 nwritesector = min(nwritesector, fmass->data_size_from_cmd); in done_scsi_write()
785 if (fmass->data_size < fmass->data_size_from_cmd) in fmass_check_receive_cbw()
787 fmass->data_size_from_cmd = fmass->data_size; in fmass_check_receive_cbw()
805 fmass->data_size_from_cmd = 0; in fmass_do_scsi_command()
810 fmass->data_size_from_cmd = fmass->cmd[4]; in fmass_do_scsi_command()
815 fmass->data_size_from_cmd = fmass->cmd[4]; in fmass_do_scsi_command()
820 fmass->data_size_from_cmd = fmass->cmd[4]; in fmass_do_scsi_command()
[all …]
Df_mass_storage.h199 uint32_t data_size_from_cmd; member