Lines Matching refs:ad_reg

1845 	unsigned int ad_reg, lp_reg;  in xgbe_phy_an37_outcome()  local
1851 ad_reg = XMDIO_READ(pdata, MDIO_MMD_VEND2, MDIO_VEND2_AN_ADVERTISE); 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()
1870 if (ad_reg & 0x100) in xgbe_phy_an37_outcome()
1884 ad_reg &= lp_reg; in xgbe_phy_an37_outcome()
1885 mode = (ad_reg & 0x20) ? XGBE_MODE_X : XGBE_MODE_UNKNOWN; in xgbe_phy_an37_outcome()
1895 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_redrv_outcome() local
1908 ad_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_ADVERTISE + 1); in xgbe_phy_an73_redrv_outcome()
1915 ad_reg &= lp_reg; in xgbe_phy_an73_redrv_outcome()
1916 if (ad_reg & 0x80) { in xgbe_phy_an73_redrv_outcome()
1925 } else if (ad_reg & 0x20) { in xgbe_phy_an73_redrv_outcome()
1963 ad_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_ADVERTISE + 2); in xgbe_phy_an73_redrv_outcome()
1975 unsigned int ad_reg, lp_reg; in xgbe_phy_an73_outcome() local
1981 ad_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_ADVERTISE); 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()
2000 if (ad_reg & 0x400) in xgbe_phy_an73_outcome()
2011 ad_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_ADVERTISE + 1); in xgbe_phy_an73_outcome()
2018 ad_reg &= lp_reg; in xgbe_phy_an73_outcome()
2019 if (ad_reg & 0x80) in xgbe_phy_an73_outcome()
2021 else if (ad_reg & 0x20) in xgbe_phy_an73_outcome()
2027 ad_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_ADVERTISE + 2); in xgbe_phy_an73_outcome()