Searched refs:lp_reg (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-phy-v2.c | 1530 unsigned int ad_reg, lp_reg; in xgbe_phy_an37_outcome() local 1537 lp_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_LP_ABILITY); in xgbe_phy_an37_outcome() 1538 if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1540 if (lp_reg & 0x80) in xgbe_phy_an37_outcome() 1548 if (ad_reg & lp_reg & 0x100) { in xgbe_phy_an37_outcome() 1551 } else if (ad_reg & lp_reg & 0x80) { in xgbe_phy_an37_outcome() 1554 else if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1559 if (lp_reg & 0x20) in xgbe_phy_an37_outcome() 1563 ad_reg &= lp_reg; in xgbe_phy_an37_outcome() 1574 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_redrv_outcome() local [all …]
|
| H A D | xgbe-mdio.c | 379 unsigned int ad_reg, lp_reg, reg; in xgbe_an73_tx_training() local 389 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in xgbe_an73_tx_training() 393 if ((ad_reg & 0xc000) && (lp_reg & 0xc000)) in xgbe_an73_tx_training() 438 unsigned int reg, ad_reg, lp_reg; in xgbe_an73_rx_bpa() local 450 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_an73_rx_bpa() 453 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_bpa() 461 unsigned int ad_reg, lp_reg; in xgbe_an73_rx_xnp() local 465 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPX); in xgbe_an73_rx_xnp() 468 (lp_reg & XGBE_XNP_NP_EXCHANGE)) in xgbe_an73_rx_xnp()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe.h | 1105 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
|