Home
last modified time | relevance | path

Searched refs:Cmnd (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/
Dqlogicpti.c857 static inline void cmd_frob(struct Command_Entry *cmd, struct scsi_cmnd *Cmnd, in cmd_frob() argument
863 cmd->target_id = Cmnd->device->id; in cmd_frob()
864 cmd->target_lun = Cmnd->device->lun; in cmd_frob()
865 cmd->cdb_length = Cmnd->cmd_len; in cmd_frob()
867 if (Cmnd->device->tagged_supported) { in cmd_frob()
868 if (qpti->cmd_count[Cmnd->device->id] == 0) in cmd_frob()
869 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()
870 if (time_after(jiffies, qpti->tag_ages[Cmnd->device->id] + (5*HZ))) { in cmd_frob()
872 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()
876 if ((Cmnd->cmnd[0] == WRITE_6) || in cmd_frob()
[all …]
Dqla1280.c514 #define CMD_SP(Cmnd) &Cmnd->SCp argument
515 #define CMD_CDBLEN(Cmnd) Cmnd->cmd_len argument
516 #define CMD_CDBP(Cmnd) Cmnd->cmnd argument
517 #define CMD_SNSP(Cmnd) Cmnd->sense_buffer argument
518 #define CMD_SNSLEN(Cmnd) SCSI_SENSE_BUFFERSIZE argument
519 #define CMD_RESULT(Cmnd) Cmnd->result argument
520 #define CMD_HANDLE(Cmnd) Cmnd->host_scribble argument
521 #define CMD_REQUEST(Cmnd) Cmnd->request->cmd argument
523 #define CMD_HOST(Cmnd) Cmnd->device->host argument
524 #define SCSI_BUS_32(Cmnd) Cmnd->device->channel argument
[all …]
/drivers/scsi/fnic/
Dfnic.h95 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument
96 #define CMD_STATE(Cmnd) ((Cmnd)->SCp.phase) argument
97 #define CMD_ABTS_STATUS(Cmnd) ((Cmnd)->SCp.Message) argument
98 #define CMD_LR_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) argument
99 #define CMD_TAG(Cmnd) ((Cmnd)->SCp.sent_command) argument
100 #define CMD_FLAGS(Cmnd) ((Cmnd)->SCp.Status) argument
/drivers/scsi/snic/
Dsnic.h109 #define CMD_SP(Cmnd) \ argument
110 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->rqi)
111 #define CMD_STATE(Cmnd) \ argument
112 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->state)
113 #define CMD_ABTS_STATUS(Cmnd) \ argument
114 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->abts_status)
115 #define CMD_LR_STATUS(Cmnd) \ argument
116 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->lr_status)
117 #define CMD_FLAGS(Cmnd) \ argument
118 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->flags)
/drivers/scsi/libfc/
Dfc_fcp.c63 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) argument
64 #define CMD_ENTRY_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) argument
65 #define CMD_COMPL_STATUS(Cmnd) ((Cmnd)->SCp.this_residual) argument
66 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
67 #define CMD_RESID_LEN(Cmnd) ((Cmnd)->SCp.buffers_residual) argument
/drivers/scsi/qedf/
Dqedf.h101 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
/drivers/scsi/bnx2fc/
Dbnx2fc.h140 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
/drivers/scsi/qla4xxx/
Dql4_def.h220 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument
/drivers/scsi/qla2xxx/
Dqla_def.h4395 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument