Lines Matching refs:bmcr
905 int bmcr, cfg1; in smc_phy_fixed() local
918 bmcr = 0; in smc_phy_fixed()
921 bmcr |= BMCR_FULLDPLX; in smc_phy_fixed()
924 bmcr |= BMCR_SPEED100; in smc_phy_fixed()
927 smc_phy_write(dev, phyaddr, MII_BMCR, bmcr); in smc_phy_fixed()
953 unsigned int bmcr; in smc_phy_reset() local
963 bmcr = smc_phy_read(dev, phy, MII_BMCR); in smc_phy_reset()
964 if (!(bmcr & BMCR_RESET)) in smc_phy_reset()
968 return bmcr & BMCR_RESET; in smc_phy_reset()
980 unsigned int bmcr; in smc_phy_powerdown() local
991 bmcr = smc_phy_read(dev, phy, MII_BMCR); in smc_phy_powerdown()
992 smc_phy_write(dev, phy, MII_BMCR, bmcr | BMCR_PDOWN); in smc_phy_powerdown()