Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dqlogicpti.c868 static inline void cmd_frob(struct Command_Entry *cmd, struct scsi_cmnd *Cmnd, in cmd_frob() argument
874 cmd->target_id = Cmnd->device->id; in cmd_frob()
875 cmd->target_lun = Cmnd->device->lun; in cmd_frob()
876 cmd->cdb_length = Cmnd->cmd_len; in cmd_frob()
878 if (Cmnd->device->tagged_supported) { in cmd_frob()
879 if (qpti->cmd_count[Cmnd->device->id] == 0) in cmd_frob()
880 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()
881 if (time_after(jiffies, qpti->tag_ages[Cmnd->device->id] + (5*HZ))) { in cmd_frob()
883 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()
887 if ((Cmnd->cmnd[0] == WRITE_6) || in cmd_frob()
[all …]
Dqla1280.c486 #define CMD_SP(Cmnd) &Cmnd->SCp argument
487 #define CMD_CDBLEN(Cmnd) Cmnd->cmd_len argument
488 #define CMD_CDBP(Cmnd) Cmnd->cmnd argument
489 #define CMD_SNSP(Cmnd) Cmnd->sense_buffer argument
490 #define CMD_SNSLEN(Cmnd) SCSI_SENSE_BUFFERSIZE argument
491 #define CMD_RESULT(Cmnd) Cmnd->result argument
492 #define CMD_HANDLE(Cmnd) Cmnd->host_scribble argument
493 #define CMD_REQUEST(Cmnd) Cmnd->request->cmd argument
495 #define CMD_HOST(Cmnd) Cmnd->device->host argument
496 #define SCSI_BUS_32(Cmnd) Cmnd->device->channel argument
[all …]
/Linux-v5.4/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
/Linux-v5.4/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)
/Linux-v5.4/drivers/scsi/libfc/
Dfc_fcp.c51 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) argument
52 #define CMD_ENTRY_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) argument
53 #define CMD_COMPL_STATUS(Cmnd) ((Cmnd)->SCp.this_residual) argument
54 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
55 #define CMD_RESID_LEN(Cmnd) ((Cmnd)->SCp.buffers_residual) argument
/Linux-v5.4/drivers/scsi/qedf/
Dqedf.h97 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc.h141 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_def.h220 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_def.h4711 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument