Lines Matching refs:fcp_cmnd
554 struct fcp_cmnd *fcp_cmnd)
558 /* fcp_cmnd is 32 bytes */
559 memset(fcp_cmnd, 0, FCP_CMND_LEN);
563 (struct scsi_lun *)&fcp_cmnd->fc_lun);
566 fcp_cmnd->fc_pri_ta = 0;
567 fcp_cmnd->fc_tm_flags = io_req->tm_flags;
568 fcp_cmnd->fc_flags = io_req->io_req_flags;
569 fcp_cmnd->fc_cmdref = 0;
573 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA;
576 fcp_cmnd->fc_flags |= FCP_CFL_WRDATA;
578 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA;
581 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE;
585 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len);
588 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len);
598 u8 fcp_cmnd[32];
660 qedf_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tmp_fcp_cmnd);
662 /* Swap fcp_cmnd since FC is big endian */
663 cnt = sizeof(struct fcp_cmnd) / sizeof(u32);
667 memcpy(fcp_cmnd, tmp_fcp_cmnd, sizeof(struct fcp_cmnd));
672 io_req->task_retry_identifier, fcp_cmnd);
2080 mp_req->req_len = sizeof(struct fcp_cmnd);