Lines Matching refs:lp_reg
868 unsigned int ad_reg, lp_reg; in axgbe_phy_an73_redrv_outcome() local
879 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in axgbe_phy_an73_redrv_outcome()
880 if (lp_reg & 0x80) in axgbe_phy_an73_redrv_outcome()
882 if (lp_reg & 0x20) in axgbe_phy_an73_redrv_outcome()
885 ad_reg &= lp_reg; in axgbe_phy_an73_redrv_outcome()
928 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in axgbe_phy_an73_redrv_outcome()
929 if (lp_reg & 0xc000) in axgbe_phy_an73_redrv_outcome()
938 unsigned int ad_reg, lp_reg; in axgbe_phy_an73_outcome() local
945 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA); in axgbe_phy_an73_outcome()
946 if (lp_reg & 0x400) in axgbe_phy_an73_outcome()
948 if (lp_reg & 0x800) in axgbe_phy_an73_outcome()
956 if (ad_reg & lp_reg & 0x400) { in axgbe_phy_an73_outcome()
959 } else if (ad_reg & lp_reg & 0x800) { in axgbe_phy_an73_outcome()
962 else if (lp_reg & 0x400) in axgbe_phy_an73_outcome()
969 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 1); in axgbe_phy_an73_outcome()
970 if (lp_reg & 0x80) in axgbe_phy_an73_outcome()
972 if (lp_reg & 0x20) in axgbe_phy_an73_outcome()
975 ad_reg &= lp_reg; in axgbe_phy_an73_outcome()
985 lp_reg = XMDIO_READ(pdata, MDIO_MMD_AN, MDIO_AN_LPA + 2); in axgbe_phy_an73_outcome()
986 if (lp_reg & 0xc000) in axgbe_phy_an73_outcome()