Lines Matching refs:pwqe

19367 	union  lpfc_wqe128 *pwqe;  in lpfc_sli4_handle_mds_loopback()  local
19408 pwqe = &iocbq->wqe; in lpfc_sli4_handle_mds_loopback()
19410 pwqe->gen_req.bde.addrHigh = putPaddrHigh(pcmd->phys); in lpfc_sli4_handle_mds_loopback()
19411 pwqe->gen_req.bde.addrLow = putPaddrLow(pcmd->phys); in lpfc_sli4_handle_mds_loopback()
19412 pwqe->gen_req.bde.tus.f.bdeSize = frame_len; in lpfc_sli4_handle_mds_loopback()
19413 pwqe->gen_req.bde.tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_sli4_handle_mds_loopback()
19415 pwqe->send_frame.frame_len = frame_len; in lpfc_sli4_handle_mds_loopback()
19416 pwqe->send_frame.fc_hdr_wd0 = be32_to_cpu(*((__be32 *)fc_hdr)); in lpfc_sli4_handle_mds_loopback()
19417 pwqe->send_frame.fc_hdr_wd1 = be32_to_cpu(*((__be32 *)fc_hdr + 1)); in lpfc_sli4_handle_mds_loopback()
19418 pwqe->send_frame.fc_hdr_wd2 = be32_to_cpu(*((__be32 *)fc_hdr + 2)); in lpfc_sli4_handle_mds_loopback()
19419 pwqe->send_frame.fc_hdr_wd3 = be32_to_cpu(*((__be32 *)fc_hdr + 3)); in lpfc_sli4_handle_mds_loopback()
19420 pwqe->send_frame.fc_hdr_wd4 = be32_to_cpu(*((__be32 *)fc_hdr + 4)); in lpfc_sli4_handle_mds_loopback()
19421 pwqe->send_frame.fc_hdr_wd5 = be32_to_cpu(*((__be32 *)fc_hdr + 5)); in lpfc_sli4_handle_mds_loopback()
19423 pwqe->generic.wqe_com.word7 = 0; in lpfc_sli4_handle_mds_loopback()
19424 pwqe->generic.wqe_com.word10 = 0; in lpfc_sli4_handle_mds_loopback()
19426 bf_set(wqe_cmnd, &pwqe->generic.wqe_com, CMD_SEND_FRAME); in lpfc_sli4_handle_mds_loopback()
19427 bf_set(wqe_sof, &pwqe->generic.wqe_com, 0x2E); /* SOF byte */ in lpfc_sli4_handle_mds_loopback()
19428 bf_set(wqe_eof, &pwqe->generic.wqe_com, 0x41); /* EOF byte */ in lpfc_sli4_handle_mds_loopback()
19429 bf_set(wqe_lenloc, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19430 bf_set(wqe_xbl, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19431 bf_set(wqe_dbde, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19432 bf_set(wqe_xc, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19433 bf_set(wqe_cmd_type, &pwqe->generic.wqe_com, 0xA); in lpfc_sli4_handle_mds_loopback()
19434 bf_set(wqe_cqid, &pwqe->generic.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_sli4_handle_mds_loopback()
19435 bf_set(wqe_xri_tag, &pwqe->generic.wqe_com, iocbq->sli4_xritag); in lpfc_sli4_handle_mds_loopback()
19436 bf_set(wqe_reqtag, &pwqe->generic.wqe_com, iocbq->iotag); in lpfc_sli4_handle_mds_loopback()
19437 bf_set(wqe_class, &pwqe->generic.wqe_com, CLASS3); in lpfc_sli4_handle_mds_loopback()
19438 pwqe->generic.wqe_com.abort_tag = iocbq->iotag; in lpfc_sli4_handle_mds_loopback()
21358 struct lpfc_iocbq *pwqe) in lpfc_sli4_issue_wqe() argument
21360 union lpfc_wqe128 *wqe = &pwqe->wqe; in lpfc_sli4_issue_wqe()
21369 if (pwqe->cmd_flag & LPFC_IO_NVME_LS) { in lpfc_sli4_issue_wqe()
21373 sglq = __lpfc_sli_get_els_sglq(phba, pwqe); in lpfc_sli4_issue_wqe()
21378 pwqe->sli4_lxritag = sglq->sli4_lxritag; in lpfc_sli4_issue_wqe()
21379 pwqe->sli4_xritag = sglq->sli4_xritag; in lpfc_sli4_issue_wqe()
21380 if (lpfc_wqe_bpl2sgl(phba, pwqe, sglq) == NO_XRI) { in lpfc_sli4_issue_wqe()
21384 bf_set(wqe_xri_tag, &pwqe->wqe.xmit_bls_rsp.wqe_com, in lpfc_sli4_issue_wqe()
21385 pwqe->sli4_xritag); in lpfc_sli4_issue_wqe()
21392 lpfc_sli_ringtxcmpl_put(phba, pring, pwqe); in lpfc_sli4_issue_wqe()
21400 if (pwqe->cmd_flag & (LPFC_IO_NVME | LPFC_IO_FCP | LPFC_IO_CMF)) { in lpfc_sli4_issue_wqe()
21414 lpfc_sli_ringtxcmpl_put(phba, pring, pwqe); in lpfc_sli4_issue_wqe()
21422 if (pwqe->cmd_flag & LPFC_IO_NVMET) { in lpfc_sli4_issue_wqe()
21427 ctxp = pwqe->context_un.axchg; in lpfc_sli4_issue_wqe()
21429 if (pwqe->sli4_xritag == NO_XRI) { in lpfc_sli4_issue_wqe()
21430 pwqe->sli4_lxritag = sglq->sli4_lxritag; in lpfc_sli4_issue_wqe()
21431 pwqe->sli4_xritag = sglq->sli4_xritag; in lpfc_sli4_issue_wqe()
21433 bf_set(wqe_xri_tag, &pwqe->wqe.xmit_bls_rsp.wqe_com, in lpfc_sli4_issue_wqe()
21434 pwqe->sli4_xritag); in lpfc_sli4_issue_wqe()
21444 lpfc_sli_ringtxcmpl_put(phba, pring, pwqe); in lpfc_sli4_issue_wqe()