Lines Matching defs:command

313 	if (ccb->command != NULL)
314 scsi_dma_unmap(ccb->command);
319 ccb->command = NULL;
327 blogic_cmd sends the command opcode to adapter, optionally
334 -1 if the command was invalid, or -2 if a timeout occurred.
339 driver are initialized, the only Host Adapter command that is issued is the
403 and the command has completed, or set if the Operation
432 The Modify I/O Address command does not cause a Command Complete
449 Select an appropriate timeout value for awaiting command completion.
550 Indicate the command completed successfully.
631 with its ISA Compatible I/O Port enabled, a command is issued
682 Issue the Inquire PCI Host Adapter Information command to determine
694 Issue the Modify I/O Address command to disable the
696 Modify I/O Address command allows modification of the
706 issue the Fetch Host Adapter Local RAM command to read
709 Issue the Inquire Board ID command since this option is
1061 later when the Inquire Extended Setup Information command is
1206 Issue the Inquire Extended Setup Information command. Only genuine
1207 BusLogic Host Adapters and true clones support this command.
1209 Register I/O port will fail this command.
1295 Issue the Inquire Board ID command.
1301 Issue the Inquire Configuration command.
1308 Issue the Inquire Setup Information command.
1316 Issue the Inquire Extended Setup Information command.
1325 Issue the Inquire Firmware Version 3rd Digit command.
1335 Issue the Inquire Host Adapter Model Number command.
1398 Issue the Inquire Firmware Version Letter command.
1464 Issue the Inquire PCI Host Adapter Information command to read the
1484 Issue the Fetch Host Adapter Local RAM command to read the
1971 Outgoing Mailbox for each new command, rather than scanning
1986 Set CCB Format command to allow 32 Logical Units per Target Device.
2047 Issue the Inquire Target Devices command for host adapters with
2049 ID 0 to 7 command for older host adapters. This is necessary to
2052 valid data. The Inquire Target Devices command is preferable to
2059 Issue a Inquire Target Devices command. Inquire Target
2076 Issue an Inquire Installed Devices command. For each
2092 Issue the Inquire Setup Information command.
2105 Issue the Inquire Synchronous Period command.
2109 /* Issue a Inquire Synchronous Period command. For each
2541 is essential that for each CCB and SCSI Command issued, command
2603 struct scsi_cmnd *command = ccb->command;
2624 Bus Device Reset CCBs have the command field
2626 for a command that did not have a currently active
2631 while (command != NULL) {
2633 command->reset_chain;
2634 command->reset_chain = NULL;
2635 command->result = DID_RESET << 16;
2636 scsi_done(command);
2637 command = nxt_cmd;
2649 command = ccb->command;
2652 command->result = DID_RESET << 16;
2653 scsi_done(command);
2673 command->result = DID_OK << 16;
2679 command->result = DID_ABORT << 16;
2682 command->result = blogic_resultcode(adapter,
2690 "Adapter Status %02X Target Status %02X\n", adapter, ccb->serial, ccb->tgt_id, command->result, ccb->adapter_status, ccb->tgt_status);
2697 blogic_notice(" %02X", adapter, command->sense_buffer[i]);
2704 When an INQUIRY command completes normally, save the
2713 (struct scsi_inquiry *) scsi_sglist(command);
2725 scsi_done(command);
2878 static int blogic_qcmd_lck(struct scsi_cmnd *command)
2882 (struct blogic_adapter *) command->device->host->hostdata;
2884 &adapter->tgt_flags[command->device->id];
2886 unsigned char *cdb = command->cmnd;
2887 int cdblen = command->cmd_len;
2888 int tgt_id = command->device->id;
2889 int lun = command->device->lun;
2890 int buflen = scsi_bufflen(command);
2901 if (cdb[0] == REQUEST_SENSE && command->sense_buffer[0] != 0) {
2902 command->result = DID_OK << 16;
2903 comp_cb(command);
2920 command->result = DID_ERROR << 16;
2921 comp_cb(command);
2929 count = scsi_dma_map(command);
2944 scsi_for_each_sg(command, sg, count, i) {
3010 a queued command will not remain in a disconnected state
3017 last sequence point, this command will be issued with an
3020 queued commands before this command may be executed.
3039 ccb->command = command;
3041 command->sense_buffer, ccb->sense_datalen,
3070 command->result = DID_ERROR << 16;
3071 scsi_done(command);
3101 static int blogic_abort(struct scsi_cmnd *command)
3104 (struct blogic_adapter *) command->device->host->hostdata;
3106 int tgt_id = command->device->id;
3115 if (ccb->command == command)
3134 Abort message is treated as a non-tagged command, it is
3507 command line. Individual option specifications for a single host adapter are