Lines Matching refs:wqe_com
121 bf_set(wqe_cmnd, &wqe->fcp_iread.wqe_com, CMD_FCP_IREAD64_WQE); in lpfc_wqe_cmd_template()
122 bf_set(wqe_pu, &wqe->fcp_iread.wqe_com, PARM_READ_CHECK); in lpfc_wqe_cmd_template()
123 bf_set(wqe_class, &wqe->fcp_iread.wqe_com, CLASS3); in lpfc_wqe_cmd_template()
124 bf_set(wqe_ct, &wqe->fcp_iread.wqe_com, SLI4_CT_RPI); in lpfc_wqe_cmd_template()
131 bf_set(wqe_qosd, &wqe->fcp_iread.wqe_com, 0); in lpfc_wqe_cmd_template()
132 bf_set(wqe_iod, &wqe->fcp_iread.wqe_com, LPFC_WQE_IOD_READ); in lpfc_wqe_cmd_template()
133 bf_set(wqe_lenloc, &wqe->fcp_iread.wqe_com, LPFC_WQE_LENLOC_WORD4); in lpfc_wqe_cmd_template()
134 bf_set(wqe_dbde, &wqe->fcp_iread.wqe_com, 0); in lpfc_wqe_cmd_template()
135 bf_set(wqe_wqes, &wqe->fcp_iread.wqe_com, 1); in lpfc_wqe_cmd_template()
138 bf_set(wqe_cmd_type, &wqe->fcp_iread.wqe_com, COMMAND_DATA_IN); in lpfc_wqe_cmd_template()
139 bf_set(wqe_cqid, &wqe->fcp_iread.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_wqe_cmd_template()
140 bf_set(wqe_pbde, &wqe->fcp_iread.wqe_com, 0); in lpfc_wqe_cmd_template()
161 bf_set(wqe_cmnd, &wqe->fcp_iwrite.wqe_com, CMD_FCP_IWRITE64_WQE); in lpfc_wqe_cmd_template()
162 bf_set(wqe_pu, &wqe->fcp_iwrite.wqe_com, PARM_READ_CHECK); in lpfc_wqe_cmd_template()
163 bf_set(wqe_class, &wqe->fcp_iwrite.wqe_com, CLASS3); in lpfc_wqe_cmd_template()
164 bf_set(wqe_ct, &wqe->fcp_iwrite.wqe_com, SLI4_CT_RPI); in lpfc_wqe_cmd_template()
171 bf_set(wqe_qosd, &wqe->fcp_iwrite.wqe_com, 0); in lpfc_wqe_cmd_template()
172 bf_set(wqe_iod, &wqe->fcp_iwrite.wqe_com, LPFC_WQE_IOD_WRITE); in lpfc_wqe_cmd_template()
173 bf_set(wqe_lenloc, &wqe->fcp_iwrite.wqe_com, LPFC_WQE_LENLOC_WORD4); in lpfc_wqe_cmd_template()
174 bf_set(wqe_dbde, &wqe->fcp_iwrite.wqe_com, 0); in lpfc_wqe_cmd_template()
175 bf_set(wqe_wqes, &wqe->fcp_iwrite.wqe_com, 1); in lpfc_wqe_cmd_template()
178 bf_set(wqe_cmd_type, &wqe->fcp_iwrite.wqe_com, COMMAND_DATA_OUT); in lpfc_wqe_cmd_template()
179 bf_set(wqe_cqid, &wqe->fcp_iwrite.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_wqe_cmd_template()
180 bf_set(wqe_pbde, &wqe->fcp_iwrite.wqe_com, 0); in lpfc_wqe_cmd_template()
199 bf_set(wqe_cmnd, &wqe->fcp_icmd.wqe_com, CMD_FCP_ICMND64_WQE); in lpfc_wqe_cmd_template()
200 bf_set(wqe_pu, &wqe->fcp_icmd.wqe_com, 0); in lpfc_wqe_cmd_template()
201 bf_set(wqe_class, &wqe->fcp_icmd.wqe_com, CLASS3); in lpfc_wqe_cmd_template()
202 bf_set(wqe_ct, &wqe->fcp_icmd.wqe_com, SLI4_CT_RPI); in lpfc_wqe_cmd_template()
209 bf_set(wqe_qosd, &wqe->fcp_icmd.wqe_com, 1); in lpfc_wqe_cmd_template()
210 bf_set(wqe_iod, &wqe->fcp_icmd.wqe_com, LPFC_WQE_IOD_NONE); in lpfc_wqe_cmd_template()
211 bf_set(wqe_lenloc, &wqe->fcp_icmd.wqe_com, LPFC_WQE_LENLOC_NONE); in lpfc_wqe_cmd_template()
212 bf_set(wqe_dbde, &wqe->fcp_icmd.wqe_com, 0); in lpfc_wqe_cmd_template()
213 bf_set(wqe_wqes, &wqe->fcp_icmd.wqe_com, 1); in lpfc_wqe_cmd_template()
216 bf_set(wqe_cmd_type, &wqe->fcp_icmd.wqe_com, COMMAND_DATA_IN); in lpfc_wqe_cmd_template()
217 bf_set(wqe_cqid, &wqe->fcp_icmd.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_wqe_cmd_template()
218 bf_set(wqe_pbde, &wqe->fcp_icmd.wqe_com, 0); in lpfc_wqe_cmd_template()
289 bf_set(wqe_wqec, &wqe->generic.wqe_com, 1); in lpfc_sli4_wq_put()
291 bf_set(wqe_wqec, &wqe->generic.wqe_com, 0); in lpfc_sli4_wq_put()
293 bf_set(wqe_wqid, &wqe->generic.wqe_com, q->queue_id); in lpfc_sli4_wq_put()
3405 bf_set(wqe_ctxt_tag, &wqe->xmit_els_rsp.wqe_com, irsp->ulpContext); in lpfc_sli_prep_unsol_wqe()
3408 bf_set(wqe_rcvoxid, &wqe->xmit_els_rsp.wqe_com, in lpfc_sli_prep_unsol_wqe()
10596 bf_set(wqe_wqes, &wqe->fcp_iwrite.wqe_com, 1); in lpfc_prep_embed_io()
10597 bf_set(wqe_dbde, &wqe->fcp_iwrite.wqe_com, 0); in lpfc_prep_embed_io()
10610 bf_set(wqe_dbde, &wqe->generic.wqe_com, 1); in lpfc_prep_embed_io()
10611 bf_set(wqe_wqes, &wqe->generic.wqe_com, 0); in lpfc_prep_embed_io()
10617 bf_set(wqe_ccpe, &wqe->fcp_iwrite.wqe_com, 1); in lpfc_prep_embed_io()
10618 bf_set(wqe_ccp, &wqe->fcp_iwrite.wqe_com, in lpfc_prep_embed_io()
10621 bf_set(wqe_appid, &wqe->fcp_iwrite.wqe_com, 1); in lpfc_prep_embed_io()
10622 bf_set(wqe_wqes, &wqe->fcp_iwrite.wqe_com, 1); in lpfc_prep_embed_io()
10712 bf_set(wqe_xri_tag, &wqe->generic.wqe_com, in __lpfc_sli_issue_iocb_s4()
10835 bf_set(wqe_cmnd, &wqe->els_req.wqe_com, CMD_ELS_REQUEST64_WQE); in __lpfc_sli_prep_els_req_rsp_s4()
10866 bf_set(wqe_els_id, &wqe->els_req.wqe_com, els_id); in __lpfc_sli_prep_els_req_rsp_s4()
10874 bf_set(wqe_cmnd, &wqe->xmit_els_rsp.wqe_com, in __lpfc_sli_prep_els_req_rsp_s4()
10878 bf_set(wqe_tmo, &wqe->generic.wqe_com, tmo); in __lpfc_sli_prep_els_req_rsp_s4()
10879 bf_set(wqe_reqtag, &wqe->generic.wqe_com, cmdiocbq->iotag); in __lpfc_sli_prep_els_req_rsp_s4()
10880 bf_set(wqe_class, &wqe->generic.wqe_com, CLASS3); in __lpfc_sli_prep_els_req_rsp_s4()
10892 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com, in __lpfc_sli_prep_els_req_rsp_s4()
10898 bf_set(wqe_ct, &wqe->generic.wqe_com, 0); in __lpfc_sli_prep_els_req_rsp_s4()
10900 bf_set(wqe_ct, &wqe->generic.wqe_com, 1); in __lpfc_sli_prep_els_req_rsp_s4()
10983 bf_set(wqe_ctxt_tag, &cmdwqe->gen_req.wqe_com, rpi); in __lpfc_sli_prep_gen_req_s4()
10986 bf_set(wqe_tmo, &cmdwqe->gen_req.wqe_com, tmo); in __lpfc_sli_prep_gen_req_s4()
10987 bf_set(wqe_class, &cmdwqe->gen_req.wqe_com, CLASS3); in __lpfc_sli_prep_gen_req_s4()
10988 bf_set(wqe_cmnd, &cmdwqe->gen_req.wqe_com, CMD_GEN_REQUEST64_CR); in __lpfc_sli_prep_gen_req_s4()
10989 bf_set(wqe_ct, &cmdwqe->gen_req.wqe_com, SLI4_CT_RPI); in __lpfc_sli_prep_gen_req_s4()
11066 bf_set(wqe_ctxt_tag, &wqe->xmit_sequence.wqe_com, rpi); in __lpfc_sli_prep_xmit_seq64_s4()
11068 bf_set(wqe_cmnd, &wqe->xmit_sequence.wqe_com, in __lpfc_sli_prep_xmit_seq64_s4()
11072 bf_set(wqe_class, &wqe->xmit_sequence.wqe_com, CLASS3); in __lpfc_sli_prep_xmit_seq64_s4()
11075 bf_set(wqe_rcvoxid, &wqe->xmit_sequence.wqe_com, ox_id); in __lpfc_sli_prep_xmit_seq64_s4()
11142 bf_set(wqe_cmnd, &wqe->abort_cmd.wqe_com, CMD_ABORT_XRI_WQE); in __lpfc_sli_prep_abort_xri_s4()
11145 wqe->abort_cmd.wqe_com.abort_tag = ulp_context; in __lpfc_sli_prep_abort_xri_s4()
11148 bf_set(wqe_reqtag, &wqe->abort_cmd.wqe_com, iotag); in __lpfc_sli_prep_abort_xri_s4()
11151 bf_set(wqe_qosd, &wqe->abort_cmd.wqe_com, 1); in __lpfc_sli_prep_abort_xri_s4()
11155 bf_set(wqe_wqec, &wqe->abort_cmd.wqe_com, 1); in __lpfc_sli_prep_abort_xri_s4()
11156 bf_set(wqe_cqid, &wqe->abort_cmd.wqe_com, cqid); in __lpfc_sli_prep_abort_xri_s4()
11157 bf_set(wqe_cmd_type, &wqe->abort_cmd.wqe_com, OTHER_COMMAND); in __lpfc_sli_prep_abort_xri_s4()
19021 bf_set(wqe_cmnd, &icmd->generic.wqe_com, CMD_XMIT_BLS_RSP64_CX); in lpfc_sli4_seq_abort_rsp()
19179 bf_set(wqe_ctxt_tag, &first_iocbq->wqe.xmit_els_rsp.wqe_com, in lpfc_prep_seq()
19181 bf_set(wqe_rcvoxid, &first_iocbq->wqe.xmit_els_rsp.wqe_com, in lpfc_prep_seq()
19380 pwqe->generic.wqe_com.word7 = 0; in lpfc_sli4_handle_mds_loopback()
19381 pwqe->generic.wqe_com.word10 = 0; in lpfc_sli4_handle_mds_loopback()
19383 bf_set(wqe_cmnd, &pwqe->generic.wqe_com, CMD_SEND_FRAME); in lpfc_sli4_handle_mds_loopback()
19384 bf_set(wqe_sof, &pwqe->generic.wqe_com, 0x2E); /* SOF byte */ in lpfc_sli4_handle_mds_loopback()
19385 bf_set(wqe_eof, &pwqe->generic.wqe_com, 0x41); /* EOF byte */ in lpfc_sli4_handle_mds_loopback()
19386 bf_set(wqe_lenloc, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19387 bf_set(wqe_xbl, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19388 bf_set(wqe_dbde, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19389 bf_set(wqe_xc, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19390 bf_set(wqe_cmd_type, &pwqe->generic.wqe_com, 0xA); in lpfc_sli4_handle_mds_loopback()
19391 bf_set(wqe_cqid, &pwqe->generic.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_sli4_handle_mds_loopback()
19392 bf_set(wqe_xri_tag, &pwqe->generic.wqe_com, iocbq->sli4_xritag); in lpfc_sli4_handle_mds_loopback()
19393 bf_set(wqe_reqtag, &pwqe->generic.wqe_com, iocbq->iotag); in lpfc_sli4_handle_mds_loopback()
19394 bf_set(wqe_class, &pwqe->generic.wqe_com, CLASS3); in lpfc_sli4_handle_mds_loopback()
19395 pwqe->generic.wqe_com.abort_tag = iocbq->iotag; in lpfc_sli4_handle_mds_loopback()
21225 cmd = bf_get(wqe_cmnd, &wqe->generic.wqe_com); in lpfc_wqe_bpl2sgl()
21344 bf_set(wqe_xri_tag, &pwqe->wqe.xmit_bls_rsp.wqe_com, in lpfc_sli4_issue_wqe()
21365 bf_set(wqe_cqid, &wqe->generic.wqe_com, qp->io_cq_map); in lpfc_sli4_issue_wqe()
21393 bf_set(wqe_xri_tag, &pwqe->wqe.xmit_bls_rsp.wqe_com, in lpfc_sli4_issue_wqe()
21395 bf_set(wqe_cqid, &wqe->generic.wqe_com, qp->io_cq_map); in lpfc_sli4_issue_wqe()
21457 abtswqe->abort_cmd.wqe_com.abort_tag = xritag; in lpfc_sli4_issue_abort_iotag()
21458 bf_set(wqe_reqtag, &abtswqe->abort_cmd.wqe_com, abtsiocb->iotag); in lpfc_sli4_issue_abort_iotag()
21459 bf_set(wqe_cmnd, &abtswqe->abort_cmd.wqe_com, CMD_ABORT_XRI_CX); in lpfc_sli4_issue_abort_iotag()
21460 bf_set(wqe_xri_tag, &abtswqe->generic.wqe_com, 0); in lpfc_sli4_issue_abort_iotag()
21461 bf_set(wqe_qosd, &abtswqe->abort_cmd.wqe_com, 1); in lpfc_sli4_issue_abort_iotag()
21462 bf_set(wqe_lenloc, &abtswqe->abort_cmd.wqe_com, LPFC_WQE_LENLOC_NONE); in lpfc_sli4_issue_abort_iotag()
21463 bf_set(wqe_cmd_type, &abtswqe->abort_cmd.wqe_com, OTHER_COMMAND); in lpfc_sli4_issue_abort_iotag()
22592 cmnd = bf_get(wqe_cmnd, &wqe->els_req.wqe_com); in lpfc_sli_prep_wqe()
22621 bf_set(wqe_ct, &wqe->els_req.wqe_com, 1); in lpfc_sli_prep_wqe()
22622 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com, in lpfc_sli_prep_wqe()
22625 bf_set(wqe_ct, &wqe->els_req.wqe_com, 0); in lpfc_sli_prep_wqe()
22626 bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com, in lpfc_sli_prep_wqe()
22631 bf_set(wqe_temp_rpi, &wqe->els_req.wqe_com, in lpfc_sli_prep_wqe()
22634 bf_set(wqe_dbde, &wqe->els_req.wqe_com, 1); in lpfc_sli_prep_wqe()
22635 bf_set(wqe_iod, &wqe->els_req.wqe_com, LPFC_WQE_IOD_READ); in lpfc_sli_prep_wqe()
22636 bf_set(wqe_qosd, &wqe->els_req.wqe_com, 1); in lpfc_sli_prep_wqe()
22637 bf_set(wqe_lenloc, &wqe->els_req.wqe_com, LPFC_WQE_LENLOC_NONE); in lpfc_sli_prep_wqe()
22638 bf_set(wqe_ebde_cnt, &wqe->els_req.wqe_com, 0); in lpfc_sli_prep_wqe()
22660 bf_set(wqe_dbde, &wqe->xmit_els_rsp.wqe_com, 1); in lpfc_sli_prep_wqe()
22661 bf_set(wqe_iod, &wqe->xmit_els_rsp.wqe_com, LPFC_WQE_IOD_WRITE); in lpfc_sli_prep_wqe()
22662 bf_set(wqe_qosd, &wqe->xmit_els_rsp.wqe_com, 1); in lpfc_sli_prep_wqe()
22663 bf_set(wqe_lenloc, &wqe->xmit_els_rsp.wqe_com, in lpfc_sli_prep_wqe()
22665 bf_set(wqe_ebde_cnt, &wqe->xmit_els_rsp.wqe_com, 0); in lpfc_sli_prep_wqe()
22671 bf_set(wqe_ct, &wqe->xmit_els_rsp.wqe_com, 1); in lpfc_sli_prep_wqe()
22678 if (bf_get(wqe_ct, &wqe->xmit_els_rsp.wqe_com)) in lpfc_sli_prep_wqe()
22679 bf_set(wqe_ctxt_tag, &wqe->xmit_els_rsp.wqe_com, in lpfc_sli_prep_wqe()
22686 bf_set(wqe_dbde, &wqe->gen_req.wqe_com, 1); in lpfc_sli_prep_wqe()
22687 bf_set(wqe_iod, &wqe->gen_req.wqe_com, LPFC_WQE_IOD_READ); in lpfc_sli_prep_wqe()
22688 bf_set(wqe_qosd, &wqe->gen_req.wqe_com, 1); in lpfc_sli_prep_wqe()
22689 bf_set(wqe_lenloc, &wqe->gen_req.wqe_com, LPFC_WQE_LENLOC_NONE); in lpfc_sli_prep_wqe()
22690 bf_set(wqe_ebde_cnt, &wqe->gen_req.wqe_com, 0); in lpfc_sli_prep_wqe()
22698 bf_set(wqe_pu, &wqe->xmit_sequence.wqe_com, 0); in lpfc_sli_prep_wqe()
22699 bf_set(wqe_dbde, &wqe->xmit_sequence.wqe_com, 1); in lpfc_sli_prep_wqe()
22700 bf_set(wqe_iod, &wqe->xmit_sequence.wqe_com, in lpfc_sli_prep_wqe()
22702 bf_set(wqe_lenloc, &wqe->xmit_sequence.wqe_com, in lpfc_sli_prep_wqe()
22704 bf_set(wqe_ebde_cnt, &wqe->xmit_sequence.wqe_com, 0); in lpfc_sli_prep_wqe()
22710 bf_set(wqe_ct, &wqe->xmit_bls_rsp.wqe_com, 1); in lpfc_sli_prep_wqe()
22711 bf_set(wqe_ctxt_tag, &wqe->xmit_bls_rsp.wqe_com, in lpfc_sli_prep_wqe()
22713 bf_set(wqe_qosd, &wqe->xmit_bls_rsp.wqe_com, 1); in lpfc_sli_prep_wqe()
22714 bf_set(wqe_lenloc, &wqe->xmit_bls_rsp.wqe_com, in lpfc_sli_prep_wqe()
22732 wqe->generic.wqe_com.abort_tag = abort_tag; in lpfc_sli_prep_wqe()
22733 bf_set(wqe_reqtag, &wqe->generic.wqe_com, job->iotag); in lpfc_sli_prep_wqe()
22734 bf_set(wqe_cmd_type, &wqe->generic.wqe_com, command_type); in lpfc_sli_prep_wqe()
22735 bf_set(wqe_cqid, &wqe->generic.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_sli_prep_wqe()