Lines Matching refs:check_command
2529 static int check_command(struct fsg_dev *fsg, int cmnd_size,
2684 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2692 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST,
2700 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST,
2708 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2716 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2724 if ((reply = check_command(fsg, 6, DATA_DIR_NONE,
2733 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2741 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2749 if ((reply = check_command(fsg, 12, DATA_DIR_TO_HOST,
2757 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2765 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2773 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2781 if ((reply = check_command(fsg, 6, DATA_DIR_NONE,
2789 if ((reply = check_command(fsg, 10, DATA_DIR_NONE,
2797 reply = check_command(fsg, 6, DATA_DIR_NONE,
2806 if ((reply = check_command(fsg, 10, DATA_DIR_NONE,
2815 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST,
2823 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST,
2831 if ((reply = check_command(fsg, 12, DATA_DIR_FROM_HOST,
2850 if ((reply = check_command(fsg, fsg->cmnd_size,