Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Df_mass_storage.c1682 static int check_command(struct fsg_dev *fsg, int cmnd_size, in check_command() function
1826 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
1834 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST, in do_scsi_command()
1842 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST, in do_scsi_command()
1850 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
1858 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST, in do_scsi_command()
1866 if ((reply = check_command(fsg, 6, DATA_DIR_NONE, in do_scsi_command()
1875 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
1883 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST, in do_scsi_command()
1891 if ((reply = check_command(fsg, 12, DATA_DIR_TO_HOST, in do_scsi_command()
[all …]
Dfile_storage.c2695 static int check_command(struct fsg_dev *fsg, int cmnd_size, in check_command() function
2866 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
2874 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST, in do_scsi_command()
2882 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST, in do_scsi_command()
2890 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
2898 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST, in do_scsi_command()
2906 if ((reply = check_command(fsg, 6, DATA_DIR_NONE, in do_scsi_command()
2915 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
2923 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST, in do_scsi_command()
2931 if ((reply = check_command(fsg, 12, DATA_DIR_TO_HOST, in do_scsi_command()
[all …]
/drivers/mtd/nand/
Dnandsim.c1057 static int check_command(int cmd) in check_command() function
1971 if (check_command(byte)) { in ns_nand_write_byte()