Lines Matching refs:fcp_cmnd
582 mp_req->req_len = sizeof(struct fcp_cmnd); in bnx2fc_init_mp_req()
662 struct fcp_cmnd *fcp_cmnd; in bnx2fc_initiate_tmf() local
730 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf); in bnx2fc_initiate_tmf()
731 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf()
732 memset(fcp_cmnd->fc_cdb, 0, sc_cmd->cmd_len); in bnx2fc_initiate_tmf()
733 fcp_cmnd->fc_dl = 0; in bnx2fc_initiate_tmf()
1664 struct fcp_cmnd *fcp_cmnd) in bnx2fc_build_fcp_cmnd() argument
1668 memset(fcp_cmnd, 0, sizeof(struct fcp_cmnd)); in bnx2fc_build_fcp_cmnd()
1670 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun); in bnx2fc_build_fcp_cmnd()
1672 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len); in bnx2fc_build_fcp_cmnd()
1673 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len); in bnx2fc_build_fcp_cmnd()
1675 fcp_cmnd->fc_cmdref = 0; in bnx2fc_build_fcp_cmnd()
1676 fcp_cmnd->fc_pri_ta = 0; in bnx2fc_build_fcp_cmnd()
1677 fcp_cmnd->fc_tm_flags = io_req->mp_req.tm_flags; in bnx2fc_build_fcp_cmnd()
1678 fcp_cmnd->fc_flags = io_req->io_req_flags; in bnx2fc_build_fcp_cmnd()
1679 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE; in bnx2fc_build_fcp_cmnd()