Lines Matching defs:command

264 		[PHASE_COMMAND]		= "command",
362 static struct { int command; void *from; } cmd_list[8];
365 static void fas216_cmd(FAS216_Info *info, unsigned int command)
367 cmd_list[cmd_ptr].command = command;
372 fas216_writeb(info, REG_CMD, command);
396 printk("%02x:%p ", cmd_list[i].command, cmd_list[i].from);
491 * synchronous negotiation on each REQUEST SENSE and INQUIRY command.
909 case PHASE_DONE: /* at end of command - complete */
994 fas216_log(info, LOG_CONNECT, "reconnected previously executing command");
997 fas216_log(info, LOG_CONNECT, "had to move command to disconnected queue");
1004 fas216_log(info, LOG_CONNECT, "had to get command");
1018 * Our command structure not found - abort the
1019 * command on the target. Since we have no
1020 * record of this command, we can't send
1061 printk(KERN_ERR "scsi%d.%c: command complete with no "
1074 * NOTE: we DO NOT save the command nor status pointers
1152 * invalid command interrupt when I do. Weird.
1282 * fas216_send_command - send command after all message bytes have been sent
1285 * Send a command to a target after all message bytes have been sent
1296 /* load command */
1496 /* error - we've sent out all the command bytes
1499 * to include the command bytes sent for this to work
1503 "target trying to receive more command bytes\n",
1625 * fas216_intr - handle interrupts to progress a command
1628 * Handle interrupts from the interface to progress a command
1649 fas216_log(info, LOG_ERROR, "illegal command given\n");
1722 /* load command */
1819 * tagged queuing - allocate a new tag to this command
1891 * fas216_kick - kick a command to the interface
1894 * Kick a command to the interface, interface should be idle.
1908 * Obtain the next command to process.
1930 /* retrieve next command */
1941 * no command pending, so enable reselection.
1948 * We're going to start a command, so disable reselection
1954 "moved command for %d to disconnected queue",
1999 * fas216_rq_sns_done - Finish processing automatic request sense command
2001 * @SCpnt: command that completed
2004 * Finish processing automatic request sense command
2024 * reflect the status of the command that we were asked by
2033 * fas216_std_done - finish processing of standard command
2035 * @SCpnt: command that completed
2038 * Finish processing of standard command
2049 "command complete, result=0x%08x", SCpnt->result);
2059 * If the command returned CHECK_CONDITION or COMMAND_TERMINATED
2067 * If the command did not complete with GOOD status,
2074 * We have successfully completed a command. Make sure that
2122 * Place this command into the high priority "request
2123 * sense" slot. This will be the very next command
2127 printk(KERN_WARNING "scsi%d.%c: losing request command\n",
2133 * fas216_done - complete processing for current command
2137 * Complete processing for current command
2173 * Clear down this command as completed. If we need to request
2193 panic("scsi%d.H: null command in fas216_done",
2198 * fas216_queue_command - queue a command for adapter to process.
2200 * @done: done function to call once command is complete
2202 * Queue a command for adapter to process.
2215 "received command (%p)", SCpnt);
2229 * Add command into execute queue and let it complete under
2235 * If we successfully added the command,
2266 * fas216_noqueue_command - process a command for the adapter.
2269 * Queue a command for adapter to process.
2290 * This wastes time, since we can't return until the command is
2301 * interrupt routine. That way, we keep the command
2344 res_success, /* command on issue queue */
2345 res_hw_abort /* command on disconnected dev */
2349 * fas216_do_abort - decide how to abort a command
2350 * @SCpnt: command to abort
2352 * Decide how to abort a command.
2362 * The command was on the issue queue, and has not been
2363 * issued yet. We can remove the command from the queue,
2365 * interface know about the command.
2372 * The command was on the disconnected queue. We must
2384 * If the interface is idle, and the command is 'disconnectable',
2400 * The command will be executed next, but a command
2417 * fas216_eh_abort - abort this command
2418 * @SCpnt: command to abort
2420 * Abort this command.
2433 scmd_printk(KERN_WARNING, SCpnt, "abort command\n");
2440 * We found the command, and cleared it out. Either
2441 * the command is still known to be executing on the
2457 * We are unable to abort the command for some reason.
2469 * fas216_eh_device_reset - Reset the device associated with this command
2470 * @SCpnt: command specifing device to reset
2472 * Reset the device associated with this command.
2501 * so, we guarantee that we won't touch the command
2514 * Hijack this SCSI command structure to send
2551 * fas216_eh_bus_reset - Reset the bus associated with the command
2552 * @SCpnt: command specifing bus to reset
2554 * Reset the bus associated with the command.
2587 * all command structures. Leave the running
2588 * command in place.
2651 * fas216_eh_host_reset - Reset the host associated with this command
2652 * @SCpnt: command specifing host to reset
2654 * Reset the host associated with this command.