Lines Matching refs:bmcr
220 int bmcr; in marvell_config_aneg() local
227 bmcr = phy_read(phydev, MII_BMCR); in marvell_config_aneg()
228 if (bmcr < 0) in marvell_config_aneg()
229 return bmcr; in marvell_config_aneg()
231 err = phy_write(phydev, MII_BMCR, bmcr | BMCR_RESET); in marvell_config_aneg()
852 int bmcr = phy_read(phydev, MII_BMCR); in marvell_read_status() local
854 if (bmcr < 0) in marvell_read_status()
855 return bmcr; in marvell_read_status()
857 if (bmcr & BMCR_FULLDPLX) in marvell_read_status()
862 if (bmcr & BMCR_SPEED1000) in marvell_read_status()
864 else if (bmcr & BMCR_SPEED100) in marvell_read_status()