Lines Matching defs:cmnd
159 efct_populate_io_fcp_cmd(struct efct_io *io, struct fcp_cmnd *cmnd,
164 io->exp_xfer_len = be32_to_cpu(cmnd->fc_dl);
181 efct_get_flags_fcp_cmd(struct fcp_cmnd *cmnd)
185 switch (cmnd->fc_pri_ta & FCP_PTA_MASK) {
199 if (cmnd->fc_flags & FCP_CFL_WRDATA)
201 if (cmnd->fc_flags & FCP_CFL_RDDATA)
343 struct fcp_cmnd *cmnd = NULL;
352 cmnd = seq->payload->dma.virt;
358 lun = scsilun_to_int(&cmnd->fc_lun);
379 efct_populate_io_fcp_cmd(io, cmnd, fchdr, true);
381 if (cmnd->fc_tm_flags) {
382 efct_dispatch_unsol_tmf(io, cmnd->fc_tm_flags, lun);
384 u32 flags = efct_get_flags_fcp_cmd(cmnd);
386 if (cmnd->fc_flags & FCP_CFL_LEN_MASK) {
394 efct_scsi_recv_cmd(io, lun, cmnd->fc_cdb,
395 sizeof(cmnd->fc_cdb), flags);