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.
688 with its ISA Compatible I/O Port enabled, a command is issued
739 Issue the Inquire PCI Host Adapter Information command to determine
754 Issue the Modify I/O Address command to disable the
756 Modify I/O Address command allows modification of the
766 issue the Fetch Host Adapter Local RAM command to read
769 Issue the Inquire Board ID command since this option is
1168 later when the Inquire Extended Setup Information command is
1313 Issue the Inquire Extended Setup Information command. Only genuine
1314 BusLogic Host Adapters and true clones support this command.
1316 Register I/O port will fail this command.
1402 Issue the Inquire Board ID command.
1408 Issue the Inquire Configuration command.
1415 Issue the Inquire Setup Information command.
1423 Issue the Inquire Extended Setup Information command.
1432 Issue the Inquire Firmware Version 3rd Digit command.
1442 Issue the Inquire Host Adapter Model Number command.
1505 Issue the Inquire Firmware Version Letter command.
1579 Issue the Inquire PCI Host Adapter Information command to read the
1599 Issue the Fetch Host Adapter Local RAM command to read the
2122 Outgoing Mailbox for each new command, rather than scanning
2137 Set CCB Format command to allow 32 Logical Units per Target Device.
2198 Issue the Inquire Target Devices command for host adapters with
2200 ID 0 to 7 command for older host adapters. This is necessary to
2203 valid data. The Inquire Target Devices command is preferable to
2210 Issue a Inquire Target Devices command. Inquire Target
2227 Issue an Inquire Installed Devices command. For each
2243 Issue the Inquire Setup Information command.
2256 Issue the Inquire Synchronous Period command.
2260 /* Issue a Inquire Synchronous Period command. For each
2681 is essential that for each CCB and SCSI Command issued, command
2746 struct scsi_cmnd *command = ccb->command;
2767 Bus Device Reset CCBs have the command field
2769 for a command that did not have a currently active
2774 while (command != NULL) {
2776 command->reset_chain;
2777 command->reset_chain = NULL;
2778 command->result = DID_RESET << 16;
2779 command->scsi_done(command);
2780 command = nxt_cmd;
2792 command = ccb->command;
2795 command->result = DID_RESET << 16;
2796 command->scsi_done(command);
2816 command->result = DID_OK << 16;
2822 command->result = DID_ABORT << 16;
2825 command->result = blogic_resultcode(adapter,
2833 "Adapter Status %02X Target Status %02X\n", adapter, ccb->serial, ccb->tgt_id, command->result, ccb->adapter_status, ccb->tgt_status);
2840 blogic_notice(" %02X", adapter, command->sense_buffer[i]);
2847 When an INQUIRY command completes normally, save the
2856 (struct scsi_inquiry *) scsi_sglist(command);
2868 command->scsi_done(command);
3021 static int blogic_qcmd_lck(struct scsi_cmnd *command,
3025 (struct blogic_adapter *) command->device->host->hostdata;
3027 &adapter->tgt_flags[command->device->id];
3029 unsigned char *cdb = command->cmnd;
3030 int cdblen = command->cmd_len;
3031 int tgt_id = command->device->id;
3032 int lun = command->device->lun;
3033 int buflen = scsi_bufflen(command);
3044 if (cdb[0] == REQUEST_SENSE && command->sense_buffer[0] != 0) {
3045 command->result = DID_OK << 16;
3046 comp_cb(command);
3063 command->result = DID_ERROR << 16;
3064 comp_cb(command);
3072 count = scsi_dma_map(command);
3087 scsi_for_each_sg(command, sg, count, i) {
3153 a queued command will not remain in a disconnected state
3160 last sequence point, this command will be issued with an
3163 queued commands before this command may be executed.
3182 ccb->command = command;
3184 command->sense_buffer, ccb->sense_datalen,
3193 command->scsi_done = comp_cb;
3214 command->result = DID_ERROR << 16;
3215 command->scsi_done(command);
3245 static int blogic_abort(struct scsi_cmnd *command)
3248 (struct blogic_adapter *) command->device->host->hostdata;
3250 int tgt_id = command->device->id;
3259 if (ccb->command == command)
3278 Abort message is treated as a non-tagged command, it is
3651 command line. Individual option specifications for a single host adapter are