PCIE_ADV_REG
PCIE_ADV_REG(pfd_p) = PCIE_ZALLOC(pf_pcie_adv_err_regs_t);
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_bdf = PCIE_INVALID_BDF;
kmem_free(PCIE_ADV_REG(pfd_p),
PCIE_ADV_REG(pfd_p) = PCIE_ZALLOC(pf_pcie_adv_err_regs_t);
PCIE_ADV_REG(pfd_p)->pcie_ue_sev = pcie_aer_uce_severity;
kmem_free(PCIE_ADV_REG(pfd_p), sizeof (pf_pcie_adv_err_regs_t));
(PCIE_ADV_REG(pfd_p)->pcie_ue_status & \
((PCIE_ADV_REG(pfd_p)->pcie_ue_mask) ^ 0xFFFFFFFF))
if (PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_addr)
secbus = PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_bdf;
PCIE_ADV_REG(pfd_p)->pcie_ue_status = aer_ue;
PCIE_ADV_REG(pfd_p)->pcie_adv_ctl,
PCIE_ADV_REG(pfd_p)->pcie_ue_status,
PCIE_ADV_REG(pfd_p)->pcie_ue_mask,
PCIE_ADV_REG(pfd_p)->pcie_ue_sev,
PCIE_ADV_REG(pfd_p)->pcie_ue_hdr[0],
PCIE_ADV_REG(pfd_p)->pcie_ue_hdr[1],
PCIE_ADV_REG(pfd_p)->pcie_ue_hdr[2],
PCIE_ADV_REG(pfd_p)->pcie_ue_hdr[3],
PCIE_ADV_REG(pfd_p)->pcie_ce_status,
PCIE_ADV_REG(pfd_p)->pcie_ce_mask,
if (HAS_AER_LOGS(pfd_p, PCIE_ADV_REG(pfd_p)->pcie_ue_status)) {
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_trans,
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_addr,
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_bdf,
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_trans = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_addr = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_bdf = PCIE_INVALID_BDF;
PCIE_ADV_REG(pfd_p)->pcie_adv_ctl = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_status = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_mask = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_sev = 0;
PCIE_ADV_REG(pfd_p)->pcie_ce_status = 0;
PCIE_ADV_REG(pfd_p)->pcie_ce_mask = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_trans = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_addr = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_bdf = PCIE_INVALID_BDF;
pf_pcie_adv_err_regs_t *reg_p = PCIE_ADV_REG(pfd_p);
pf_pcie_adv_err_regs_t *pcie_adv_regs = PCIE_ADV_REG(pfd_p);
PF_FIRST_AER_ERR(bit, PCIE_ADV_REG(pfd_p)))
(PCIE_ADV_REG(pfd_p)->pcie_ce_status & PCIE_AER_CE_AD_NFE)
pf_pcie_adv_err_regs_t *pcie_adv_regs = PCIE_ADV_REG(pfd_p);
uint32_t ue_err = PCIE_ADV_REG(pfd_p)->pcie_ue_status;
(pf_tlp_decode(PCIE_PFD2BUS(pfd_p), PCIE_ADV_REG(pfd_p)) ==
PCIE_ADV_REG(pfd_p)->pcie_ue_tgt_addr;
if (pf_tlp_decode(bus_p, PCIE_ADV_REG(pfd_p)) == DDI_SUCCESS) {
#define PCIE_ADV_HDR(pfd_p, n) PCIE_ADV_REG(pfd_p)->pcie_ue_hdr[n]
PCIE_ADV_REG(pfd_p)->pcie_ext.pcie_adv_bdg_regs
PCIE_ADV_REG(pfd_p)->pcie_ext.pcie_adv_rp_regs
pf_pcie_adv_err_regs_t *adv_reg = PCIE_ADV_REG(pfd_p);
PCIE_ADV_REG(pfd_p)->pcie_ce_status = 0;
PCIE_ADV_REG(pfd_p)->pcie_ue_status = 0;
PCIE_ADV_REG(pfd_p)->pcie_adv_ctl = 0;