Home
last modified time | relevance | path

Searched refs:adv_reg (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/sun4v/io/px/
H A Dpx_err.c142 pf_pcie_adv_err_regs_t adv_reg; in px_err_fill_pfd() local
184 adv_reg.pcie_ue_hdr[0] = (uint32_t)(pec_p->hdr[0] >>32); in px_err_fill_pfd()
185 adv_reg.pcie_ue_hdr[1] = (uint32_t)(pec_p->hdr[0]); in px_err_fill_pfd()
186 adv_reg.pcie_ue_hdr[2] = (uint32_t)(pec_p->hdr[1] >>32); in px_err_fill_pfd()
187 adv_reg.pcie_ue_hdr[3] = (uint32_t)(pec_p->hdr[1]); in px_err_fill_pfd()
189 if (pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg) == in px_err_fill_pfd()
191 fault_bdf = adv_reg.pcie_ue_tgt_bdf; in px_err_fill_pfd()
192 fault_addr = adv_reg.pcie_ue_tgt_addr; in px_err_fill_pfd()
677 pf_pcie_adv_err_regs_t adv_reg; in px_port_handle_errors() local
700 adv_reg.pcie_ue_hdr[0] = (uint32_t)(epkt->hdr[0] >> 32); in px_port_handle_errors()
[all …]
/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_fm.c592 pf_pcie_adv_err_regs_t *adv_reg = PCIE_ADV_REG(pfd_p); in px_err_check_pcie() local
610 adv_reg->pcie_ce_status = regs->ce_reg; in px_err_check_pcie()
611 adv_reg->pcie_ue_status = regs->ue_reg | regs->primary_ue; in px_err_check_pcie()
617 adv_reg->pcie_adv_ctl++; in px_err_check_pcie()
620 if (pf_tlp_decode(PCIE_DIP2BUS(dip), adv_reg) == DDI_SUCCESS) in px_err_check_pcie()
622 adv_reg->pcie_ue_tgt_bdf; in px_err_check_pcie()
624 if (pf_tlp_decode(PCIE_DIP2BUS(dip), adv_reg) == DDI_SUCCESS) { in px_err_check_pcie()
626 adv_reg->pcie_ue_tgt_bdf; in px_err_check_pcie()
627 if (adv_reg->pcie_ue_tgt_trans == in px_err_check_pcie()
630 adv_reg->pcie_ue_tgt_addr; in px_err_check_pcie()
[all …]
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_err.c1883 pf_pcie_adv_err_regs_t adv_reg; in px_err_wuc_ruc_handle() local
1890 adv_reg.pcie_ue_hdr[0] = (uint32_t)(data >> 32); in px_err_wuc_ruc_handle()
1891 adv_reg.pcie_ue_hdr[1] = (uint32_t)(data & 0xFFFFFFFF); in px_err_wuc_ruc_handle()
1893 adv_reg.pcie_ue_hdr[2] = (uint32_t)(data >> 32); in px_err_wuc_ruc_handle()
1894 adv_reg.pcie_ue_hdr[3] = (uint32_t)(data & 0xFFFFFFFF); in px_err_wuc_ruc_handle()
1896 (void) pf_tlp_decode(PCIE_DIP2BUS(rpdip), &adv_reg); in px_err_wuc_ruc_handle()
1897 sts = pf_hdl_lookup(rpdip, derr->fme_ena, adv_reg.pcie_ue_tgt_trans, in px_err_wuc_ruc_handle()
1898 adv_reg.pcie_ue_tgt_addr, adv_reg.pcie_ue_tgt_bdf); in px_err_wuc_ruc_handle()
2209 pf_pcie_adv_err_regs_t adv_reg; in PX_ERPT_SEND_DEC() local
2218 adv_reg.pcie_ue_hdr[0] = (uint32_t)(rx_h1 >> 32); in PX_ERPT_SEND_DEC()
[all …]
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_common.c2557 static s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, in ixgbe_negotiate_fc() argument
2560 if ((!(adv_reg)) || (!(lp_reg))) in ixgbe_negotiate_fc()
2563 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in ixgbe_negotiate_fc()
2578 } else if (!(adv_reg & adv_sym) && (adv_reg & adv_asm) && in ixgbe_negotiate_fc()
2582 } else if ((adv_reg & adv_sym) && (adv_reg & adv_asm) && in ixgbe_negotiate_fc()