Searched refs:lp_reg (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-phy-v1.c | 128 unsigned int ad_reg, lp_reg; in xgbe_phy_an_outcome() local 135 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_phy_an_outcome() 136 if (lp_reg & 0x400) in xgbe_phy_an_outcome() 138 if (lp_reg & 0x800) in xgbe_phy_an_outcome() 146 if (ad_reg & lp_reg & 0x400) { in xgbe_phy_an_outcome() 149 } else if (ad_reg & lp_reg & 0x800) { in xgbe_phy_an_outcome() 152 else if (lp_reg & 0x400) in xgbe_phy_an_outcome() 159 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in xgbe_phy_an_outcome() 160 if (lp_reg & 0x80) in xgbe_phy_an_outcome() 162 if (lp_reg in xgbe_phy_an_outcome() [all...] |
H A D | xgbe-phy-v2.c | 1529 unsigned int ad_reg, lp_reg; in xgbe_phy_an37_outcome() local 1536 lp_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_LP_ABILITY); in xgbe_phy_an37_outcome() 1537 if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1539 if (lp_reg & 0x80) in xgbe_phy_an37_outcome() 1547 if (ad_reg & lp_reg & 0x100) { in xgbe_phy_an37_outcome() 1550 } else if (ad_reg & lp_reg & 0x80) { in xgbe_phy_an37_outcome() 1553 else if (lp_reg & 0x100) in xgbe_phy_an37_outcome() 1558 if (lp_reg & 0x20) in xgbe_phy_an37_outcome() 1562 ad_reg &= lp_reg; in xgbe_phy_an37_outcome() 1573 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_redrv_outcome() local 1658 unsigned int ad_reg, lp_reg; xgbe_phy_an73_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 | 1107 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
|