Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c305 int cmnd_size; member
1667 static int check_command(struct fsg_common *common, int cmnd_size, in check_command() argument
1682 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1683 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1707 if (cmnd_size != common->cmnd_size) { in check_command()
1721 if (cmnd_size <= common->cmnd_size) { in check_command()
1724 cmnd_size, common->cmnd_size); in check_command()
1725 cmnd_size = common->cmnd_size; in check_command()
1769 for (i = 1; i < cmnd_size; ++i) { in check_command()
2006 reply = check_command(common, common->cmnd_size, DATA_DIR_FROM_HOST, in do_scsi_command()
[all …]
H A Dstorage_common.c144 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_mass_storage.c284 int cmnd_size; member
1705 static int check_command(struct fsg_common *common, int cmnd_size, in check_command() argument
1720 name, cmnd_size, dirletter[(int) data_dir], in check_command()
1721 common->data_size_from_cmnd, common->cmnd_size, hdlen); in check_command()
1748 if (cmnd_size != common->cmnd_size) { in check_command()
1763 if (cmnd_size <= common->cmnd_size) { in check_command()
1766 cmnd_size, common->cmnd_size); in check_command()
1767 cmnd_size = common->cmnd_size; in check_command()
1815 for (i = 1; i < cmnd_size; ++i) { in check_command()
1835 int cmnd_size, enum data_direction data_dir, in check_command_size_in_blocks() argument
[all …]
H A Dstorage_common.h59 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
/OK3568_Linux_fs/kernel/include/scsi/
H A Dscsi_eh.h50 int cmnd_size, unsigned sense_bytes);
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscsi_error.c962 unsigned char *cmnd, int cmnd_size, unsigned sense_bytes) in scsi_eh_prep_cmnd() argument
1005 BUG_ON(cmnd_size > BLK_MAX_CDB); in scsi_eh_prep_cmnd()
1006 memcpy(scmd->cmnd, cmnd, cmnd_size); in scsi_eh_prep_cmnd()
1064 int cmnd_size, int timeout, unsigned sense_bytes) in scsi_send_eh_cmnd() argument
1075 scsi_eh_prep_cmnd(scmd, &ses, cmnd, cmnd_size, sense_bytes); in scsi_send_eh_cmnd()