Lines Matching refs:check_command
2113 static int check_command(struct fsg_dev *fsg, int cmnd_size,
2272 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2280 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST,
2288 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST,
2296 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2304 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2312 if ((reply = check_command(fsg, 6, DATA_DIR_NONE,
2321 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2330 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2339 if ((reply = check_command(fsg, 12, DATA_DIR_TO_HOST,
2347 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2357 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2367 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2375 if ((reply = check_command(fsg, 10, DATA_DIR_TO_HOST,
2383 if ((reply = check_command(fsg, 6, DATA_DIR_TO_HOST,
2391 if ((reply = check_command(fsg, 6, DATA_DIR_NONE,
2399 if ((reply = check_command(fsg, 10, DATA_DIR_NONE,
2407 reply = check_command(fsg, 6, DATA_DIR_NONE,
2416 if ((reply = check_command(fsg, 10, DATA_DIR_NONE,
2425 if ((reply = check_command(fsg, 6, DATA_DIR_FROM_HOST,
2434 if ((reply = check_command(fsg, 10, DATA_DIR_FROM_HOST,
2443 if ((reply = check_command(fsg, 12, DATA_DIR_FROM_HOST,
2463 if ((reply = check_command(fsg, fsg->cmnd_size,