Lines Matching refs:fcp_cmnd
563 struct fcp_cmnd *fcp_cmnd) in qedf_build_fcp_cmnd() argument
568 memset(fcp_cmnd, 0, FCP_CMND_LEN); in qedf_build_fcp_cmnd()
572 (struct scsi_lun *)&fcp_cmnd->fc_lun); in qedf_build_fcp_cmnd()
575 fcp_cmnd->fc_pri_ta = 0; in qedf_build_fcp_cmnd()
576 fcp_cmnd->fc_tm_flags = io_req->tm_flags; in qedf_build_fcp_cmnd()
577 fcp_cmnd->fc_flags = io_req->io_req_flags; in qedf_build_fcp_cmnd()
578 fcp_cmnd->fc_cmdref = 0; in qedf_build_fcp_cmnd()
582 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA; in qedf_build_fcp_cmnd()
585 fcp_cmnd->fc_flags |= FCP_CFL_WRDATA; in qedf_build_fcp_cmnd()
587 fcp_cmnd->fc_flags |= FCP_CFL_RDDATA; in qedf_build_fcp_cmnd()
590 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE; in qedf_build_fcp_cmnd()
594 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len); in qedf_build_fcp_cmnd()
597 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len); in qedf_build_fcp_cmnd()
607 u8 fcp_cmnd[32]; in qedf_init_task() local
667 qedf_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tmp_fcp_cmnd); in qedf_init_task()
670 cnt = sizeof(struct fcp_cmnd) / sizeof(u32); in qedf_init_task()
674 memcpy(fcp_cmnd, tmp_fcp_cmnd, sizeof(struct fcp_cmnd)); in qedf_init_task()
679 io_req->task_retry_identifier, fcp_cmnd); in qedf_init_task()
1711 mp_req->req_len = sizeof(struct fcp_cmnd); in qedf_init_mp_req()