Lines Matching refs:fcp_cmnd
549 struct fcp_cmnd *fcp_cmnd)
553 /* fcp_cmnd is 32 bytes */
554 memset(fcp_cmnd, 0, FCP_CMND_LEN);
558 (struct scsi_lun *)&fcp_cmnd->fc_lun);
561 fcp_cmnd->fc_pri_ta = 0;
562 fcp_cmnd->fc_tm_flags = io_req->tm_flags;
563 fcp_cmnd->fc_flags = io_req->io_req_flags;
564 fcp_cmnd->fc_cmdref = 0;
568 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA;
571 fcp_cmnd->fc_flags |= FCP_CFL_WRDATA;
573 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA;
576 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE;
580 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len);
583 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len);
593 u8 fcp_cmnd[32];
655 qedf_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tmp_fcp_cmnd);
657 /* Swap fcp_cmnd since FC is big endian */
658 cnt = sizeof(struct fcp_cmnd) / sizeof(u32);
662 memcpy(fcp_cmnd, tmp_fcp_cmnd, sizeof(struct fcp_cmnd));
667 io_req->task_retry_identifier, fcp_cmnd);
2060 mp_req->req_len = sizeof(struct fcp_cmnd);