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