Lines Matching refs:fcp_cmnd
595 mp_req->req_len = sizeof(struct fcp_cmnd);
675 struct fcp_cmnd *fcp_cmnd;
743 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf);
744 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf;
745 memset(fcp_cmnd->fc_cdb, 0, sc_cmd->cmd_len);
746 fcp_cmnd->fc_dl = 0;
1741 struct fcp_cmnd *fcp_cmnd)
1745 memset(fcp_cmnd, 0, sizeof(struct fcp_cmnd));
1747 int_to_scsilun(sc_cmd->device->lun, &fcp_cmnd->fc_lun);
1749 fcp_cmnd->fc_dl = htonl(io_req->data_xfer_len);
1750 memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len);
1752 fcp_cmnd->fc_cmdref = 0;
1753 fcp_cmnd->fc_pri_ta = 0;
1754 fcp_cmnd->fc_tm_flags = io_req->mp_req.tm_flags;
1755 fcp_cmnd->fc_flags = io_req->io_req_flags;
1756 fcp_cmnd->fc_pri_ta = FCP_PTA_SIMPLE;