Lines Matching refs:bmcr
209 int bmcr; in marvell_config_aneg() local
216 bmcr = phy_read(phydev, MII_BMCR); in marvell_config_aneg()
217 if (bmcr < 0) in marvell_config_aneg()
218 return bmcr; in marvell_config_aneg()
220 err = phy_write(phydev, MII_BMCR, bmcr | BMCR_RESET); in marvell_config_aneg()
795 int bmcr = phy_read(phydev, MII_BMCR); in marvell_read_status() local
797 if (bmcr < 0) in marvell_read_status()
798 return bmcr; in marvell_read_status()
800 if (bmcr & BMCR_FULLDPLX) in marvell_read_status()
805 if (bmcr & BMCR_SPEED1000) in marvell_read_status()
807 else if (bmcr & BMCR_SPEED100) in marvell_read_status()