Lines Matching defs:command

267 		[PHASE_COMMAND]		= "command",
365 static struct { int command; void *from; } cmd_list[8];
368 static void fas216_cmd(FAS216_Info *info, unsigned int command)
370 cmd_list[cmd_ptr].command = command;
375 fas216_writeb(info, REG_CMD, command);
399 printk("%02x:%p ", cmd_list[i].command, cmd_list[i].from);
494 * synchronous negotiation on each REQUEST SENSE and INQUIRY command.
912 case PHASE_DONE: /* at end of command - complete */
997 fas216_log(info, LOG_CONNECT, "reconnected previously executing command");
1000 fas216_log(info, LOG_CONNECT, "had to move command to disconnected queue");
1007 fas216_log(info, LOG_CONNECT, "had to get command");
1021 * Our command structure not found - abort the
1022 * command on the target. Since we have no
1023 * record of this command, we can't send
1065 printk(KERN_ERR "scsi%d.%c: command complete with no "
1078 * NOTE: we DO NOT save the command nor status pointers
1157 * invalid command interrupt when I do. Weird.
1287 * fas216_send_command - send command after all message bytes have been sent
1290 * Send a command to a target after all message bytes have been sent
1301 /* load command */
1502 /* error - we've sent out all the command bytes
1505 * to include the command bytes sent for this to work
1509 "target trying to receive more command bytes\n",
1631 * fas216_intr - handle interrupts to progress a command
1634 * Handle interrupts from the interface to progress a command
1655 fas216_log(info, LOG_ERROR, "illegal command given\n");
1728 /* load command */
1886 * fas216_kick - kick a command to the interface
1889 * Kick a command to the interface, interface should be idle.
1903 * Obtain the next command to process.
1925 /* retrieve next command */
1936 * no command pending, so enable reselection.
1943 * We're going to start a command, so disable reselection
1949 "moved command for %d to disconnected queue",
1994 * fas216_rq_sns_done - Finish processing automatic request sense command
1996 * @SCpnt: command that completed
1999 * Finish processing automatic request sense command
2021 * reflect the status of the command that we were asked by
2030 * fas216_std_done - finish processing of standard command
2032 * @SCpnt: command that completed
2035 * Finish processing of standard command
2050 "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
2121 * Place this command into the high priority "request
2122 * sense" slot. This will be the very next command
2126 printk(KERN_WARNING "scsi%d.%c: losing request command\n",
2132 * fas216_done - complete processing for current command
2136 * Complete processing for current command
2172 * Clear down this command as completed. If we need to request
2192 panic("scsi%d.H: null command in fas216_done",
2197 * fas216_queue_command_internal - queue a command for the adapter to process
2199 * @done: done function to call once command is complete
2201 * Queue a command for adapter to process.
2214 "received command (%p)", SCpnt);
2227 * Add command into execute queue and let it complete under
2233 * If we successfully added the command,
2269 * fas216_noqueue_command - process a command for the adapter.
2272 * Queue a command for adapter to process.
2292 * This wastes time, since we can't return until the command is
2303 * interrupt routine. That way, we keep the command
2346 res_success, /* command on issue queue */
2347 res_hw_abort /* command on disconnected dev */
2351 * fas216_do_abort - decide how to abort a command
2352 * @SCpnt: command to abort
2354 * Decide how to abort a command.
2364 * The command was on the issue queue, and has not been
2365 * issued yet. We can remove the command from the queue,
2367 * interface know about the command.
2374 * The command was on the disconnected queue. We must
2386 * If the interface is idle, and the command is 'disconnectable',
2402 * The command will be executed next, but a command
2419 * fas216_eh_abort - abort this command
2420 * @SCpnt: command to abort
2422 * Abort this command.
2435 scmd_printk(KERN_WARNING, SCpnt, "abort command\n");
2442 * We found the command, and cleared it out. Either
2443 * the command is still known to be executing on the
2459 * We are unable to abort the command for some reason.
2471 * fas216_eh_device_reset - Reset the device associated with this command
2472 * @SCpnt: command specifing device to reset
2474 * Reset the device associated with this command.
2503 * so, we guarantee that we won't touch the command
2516 * Hijack this SCSI command structure to send
2553 * fas216_eh_bus_reset - Reset the bus associated with the command
2554 * @SCpnt: command specifing bus to reset
2556 * Reset the bus associated with the command.
2589 * all command structures. Leave the running
2590 * command in place.
2653 * fas216_eh_host_reset - Reset the host associated with this command
2654 * @SCpnt: command specifing host to reset
2656 * Reset the host associated with this command.