Lines Matching refs:lp_reg

1845 	unsigned int ad_reg, lp_reg;  in xgbe_phy_an37_outcome()  local
1852 lp_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_LP_ABILITY); in xgbe_phy_an37_outcome()
1853 if (lp_reg & 0x100) in xgbe_phy_an37_outcome()
1855 if (lp_reg & 0x80) in xgbe_phy_an37_outcome()
1859 __func__, pdata->phy.pause_autoneg, ad_reg, lp_reg); in xgbe_phy_an37_outcome()
1866 if (ad_reg & lp_reg & 0x100) { in xgbe_phy_an37_outcome()
1869 } else if (ad_reg & lp_reg & 0x80) { in xgbe_phy_an37_outcome()
1872 else if (lp_reg & 0x100) in xgbe_phy_an37_outcome()
1880 if (lp_reg & 0x20) in xgbe_phy_an37_outcome()
1884 ad_reg &= lp_reg; in xgbe_phy_an37_outcome()
1895 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_redrv_outcome() local
1909 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in xgbe_phy_an73_redrv_outcome()
1910 if (lp_reg & 0x80) in xgbe_phy_an73_redrv_outcome()
1912 if (lp_reg & 0x20) in xgbe_phy_an73_redrv_outcome()
1915 ad_reg &= lp_reg; in xgbe_phy_an73_redrv_outcome()
1964 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in xgbe_phy_an73_redrv_outcome()
1965 if (lp_reg & 0xc000) in xgbe_phy_an73_redrv_outcome()
1975 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_outcome() local
1982 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in xgbe_phy_an73_outcome()
1983 if (lp_reg & 0x400) in xgbe_phy_an73_outcome()
1985 if (lp_reg & 0x800) in xgbe_phy_an73_outcome()
1989 __func__, pdata->phy.pause_autoneg, ad_reg, lp_reg); in xgbe_phy_an73_outcome()
1996 if (ad_reg & lp_reg & 0x400) { in xgbe_phy_an73_outcome()
1999 } else if (ad_reg & lp_reg & 0x800) { in xgbe_phy_an73_outcome()
2002 else if (lp_reg & 0x400) in xgbe_phy_an73_outcome()
2012 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in xgbe_phy_an73_outcome()
2013 if (lp_reg & 0x80) in xgbe_phy_an73_outcome()
2015 if (lp_reg & 0x20) in xgbe_phy_an73_outcome()
2018 ad_reg &= lp_reg; in xgbe_phy_an73_outcome()
2028 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in xgbe_phy_an73_outcome()
2029 if (lp_reg & 0xc000) in xgbe_phy_an73_outcome()