Searched refs:lp_reg (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v1.c | 237 unsigned int ad_reg, lp_reg; in xgbe_phy_an_outcome() local 244 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_phy_an_outcome() 245 if (lp_reg & 0x400) in xgbe_phy_an_outcome() 247 if (lp_reg & 0x800) in xgbe_phy_an_outcome() 255 if (ad_reg & lp_reg & 0x400) { in xgbe_phy_an_outcome() 258 } else if (ad_reg & lp_reg & 0x800) { in xgbe_phy_an_outcome() 261 else if (lp_reg & 0x400) in xgbe_phy_an_outcome() 268 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in xgbe_phy_an_outcome() 269 if (lp_reg & 0x80) in xgbe_phy_an_outcome() 271 if (lp_reg & 0x20) { in xgbe_phy_an_outcome() [all …]
|
D | xgbe-phy-v2.c | 1573 unsigned int ad_reg, lp_reg; in xgbe_phy_an37_outcome() local 1580 lp_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_LP_ABILITY); in xgbe_phy_an37_outcome() 1581 if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1583 if (lp_reg & 0x80) in xgbe_phy_an37_outcome() 1591 if (ad_reg & lp_reg & 0x100) { in xgbe_phy_an37_outcome() 1594 } else if (ad_reg & lp_reg & 0x80) { in xgbe_phy_an37_outcome() 1597 else if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1602 if (lp_reg & 0x20) in xgbe_phy_an37_outcome() 1606 ad_reg &= lp_reg; in xgbe_phy_an37_outcome() 1617 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_redrv_outcome() local [all …]
|
D | xgbe-mdio.c | 472 unsigned int ad_reg, lp_reg, reg; in xgbe_an73_tx_training() local 482 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in xgbe_an73_tx_training() 486 if ((ad_reg & 0xc000) && (lp_reg & 0xc000)) in xgbe_an73_tx_training() 530 unsigned int reg, ad_reg, lp_reg; in xgbe_an73_rx_bpa() local 542 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_an73_rx_bpa() 545 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_bpa() 553 unsigned int ad_reg, lp_reg; in xgbe_an73_rx_xnp() local 557 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPX); in xgbe_an73_rx_xnp() 560 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_xnp()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 2267 s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, in ixgbe_negotiate_fc() argument 2270 if ((!(adv_reg)) || (!(lp_reg))) in ixgbe_negotiate_fc() 2273 if ((adv_reg & adv_sym) && (lp_reg & lp_sym)) { in ixgbe_negotiate_fc() 2289 (lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc() 2293 !(lp_reg & lp_sym) && (lp_reg & lp_asm)) { in ixgbe_negotiate_fc()
|
D | ixgbe.h | 1000 s32 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
|