Lines Matching refs:COMMAND
312 #define COMMAND 0 macro
2155 raw_cmd->cmd[COMMAND] = FM_MODE(_floppy, FD_FORMAT); in setup_format_params()
2340 if (raw_cmd->cmd[COMMAND] & 0x80) in rw_interrupt()
2399 if (CT(raw_cmd->cmd[COMMAND]) != FD_READ || in rw_interrupt()
2403 } else if (CT(raw_cmd->cmd[COMMAND]) == FD_READ) { in rw_interrupt()
2462 if (current_count_sectors <= 0 && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE && in copy_buffer()
2468 if (remaining > blk_rq_bytes(current_req) && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in copy_buffer()
2503 if (CT(raw_cmd->cmd[COMMAND]) == FD_READ) in copy_buffer()
2505 if (CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) in copy_buffer()
2512 if (CT(raw_cmd->cmd[COMMAND]) == FD_READ) in copy_buffer()
2539 if (CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in virtualdmabug_workaround()
2540 raw_cmd->cmd[COMMAND] &= ~0x80; /* switch off multiple track mode */ in virtualdmabug_workaround()
2583 raw_cmd->cmd[COMMAND] = FM_MODE(_floppy, FD_READ); in make_raw_rw_request()
2586 raw_cmd->cmd[COMMAND] = FM_MODE(_floppy, FD_WRITE); in make_raw_rw_request()
2661 } else if (!raw_cmd->cmd[HEAD] && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in make_raw_rw_request()
2673 if (CT(raw_cmd->cmd[COMMAND]) == FD_READ) { in make_raw_rw_request()
2678 if (CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in make_raw_rw_request()
2689 raw_cmd->cmd[COMMAND] = FM_MODE(_floppy, FD_READ); in make_raw_rw_request()
2740 if (CT(raw_cmd->cmd[COMMAND]) == FD_READ) in make_raw_rw_request()
2748 ((CT(raw_cmd->cmd[COMMAND]) == FD_READ || in make_raw_rw_request()
2760 if (CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in make_raw_rw_request()
2782 CT(raw_cmd->cmd[COMMAND]) == FD_WRITE && in make_raw_rw_request()
2798 raw_cmd->cmd[COMMAND], raw_cmd->cmd[SECTOR], in make_raw_rw_request()
2818 if (CT(raw_cmd->cmd[COMMAND]) == FD_READ) in make_raw_rw_request()
2820 if (CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) in make_raw_rw_request()