Lines Matching refs:adv_reg_p
2535 * The adv_reg_p must be passed in separately for use with SPARC RPs. A
2540 pf_tlp_decode(pcie_bus_t *bus_p, pf_pcie_adv_err_regs_t *adv_reg_p) {
2541 pcie_tlp_hdr_t *tlp_hdr = (pcie_tlp_hdr_t *)adv_reg_p->pcie_ue_hdr;
2546 adv_reg_p->pcie_ue_tgt_addr = 0;
2547 adv_reg_p->pcie_ue_tgt_bdf = PCIE_INVALID_BDF;
2548 adv_reg_p->pcie_ue_tgt_trans = 0;
2557 flt_addr = ((uint64_t)adv_reg_p->pcie_ue_hdr[2] << 32);
2558 flt_addr |= adv_reg_p->pcie_ue_hdr[3];
2560 flt_addr = adv_reg_p->pcie_ue_hdr[2];
2563 tlp_bdf = (pcie_req_id_t)(adv_reg_p->pcie_ue_hdr[1] >> 16);
2574 (PF_FIRST_AER_ERR(PCIE_AER_UCE_PTLP, adv_reg_p) ||
2575 (PF_FIRST_AER_ERR(PCIE_AER_UCE_CA, adv_reg_p)))) {
2586 flt_bdf = (pcie_req_id_t)(adv_reg_p->pcie_ue_hdr[2] >> 16);
2592 pcie_cpl_t *cpl_tlp = (pcie_cpl_t *)&adv_reg_p->pcie_ue_hdr[1];
2614 adv_reg_p->pcie_ue_tgt_addr = flt_addr;
2615 adv_reg_p->pcie_ue_tgt_bdf = flt_bdf;
2616 adv_reg_p->pcie_ue_tgt_trans = flt_trans_type;