Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c303 int cmnd_size; member
1672 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1673 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1697 if (cmnd_size != common->cmnd_size) { in check_command()
1711 if (cmnd_size <= common->cmnd_size) { in check_command()
1714 cmnd_size, common->cmnd_size); in check_command()
1715 cmnd_size = common->cmnd_size; in check_command()
1759 for (i = 1; i < cmnd_size; ++i) { in check_command()
2014 reply = check_command(common, common->cmnd_size, in do_scsi_command()
2091 common->cmnd_size = cbw->Length; in received_cbw()
[all …]
H A Dstorage_common.c143 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
/openbmc/linux/include/scsi/
H A Dscsi_eh.h48 int cmnd_size, unsigned sense_bytes);
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c256 int cmnd_size; member
1738 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1766 if (cmnd_size != common->cmnd_size) { in check_command()
1781 if (cmnd_size <= common->cmnd_size) { in check_command()
1784 cmnd_size, common->cmnd_size); in check_command()
1785 cmnd_size = common->cmnd_size; in check_command()
1833 for (i = 1; i < cmnd_size; ++i) { in check_command()
1853 int cmnd_size, enum data_direction data_dir, in check_command_size_in_blocks() argument
1858 return check_command(common, cmnd_size, data_dir, in check_command_size_in_blocks()
2153 reply = check_command(common, common->cmnd_size, in do_scsi_command()
[all …]
H A Dstorage_common.h59 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
/openbmc/linux/drivers/scsi/
H A Dscsi_error.c1039 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) in scsi_eh_prep_cmnd() argument
1081 BUG_ON(cmnd_size > sizeof(scmd->cmnd)); in scsi_eh_prep_cmnd()
1082 memcpy(scmd->cmnd, cmnd, cmnd_size); in scsi_eh_prep_cmnd()
1140 unsigned char *cmnd, int cmnd_size, int timeout, unsigned sense_bytes) in scsi_send_eh_cmnd() argument
1151 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes); in scsi_send_eh_cmnd()