Lines Matching refs:check_command
1682 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()
1899 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST, in do_scsi_command()
1907 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST, in do_scsi_command()
1915 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST, in do_scsi_command()
1923 if ((reply = check_command(fsg, 6, DATA_DIR_NONE, in do_scsi_command()
1931 if ((reply = check_command(fsg, 10, DATA_DIR_NONE, in do_scsi_command()
1939 reply = check_command(fsg, 6, DATA_DIR_NONE, in do_scsi_command()
1948 if ((reply = check_command(fsg, 10, DATA_DIR_NONE, in do_scsi_command()
1957 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST, in do_scsi_command()
1965 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST, in do_scsi_command()
1973 if ((reply = check_command(fsg, 12, DATA_DIR_FROM_HOST, in do_scsi_command()
1992 if ((reply = check_command(fsg, fsg->cmnd_size, in do_scsi_command()