Lines Matching refs:bmcr
916 int bmcr, cfg1; in smc_phy_fixed() local
929 bmcr = 0; in smc_phy_fixed()
932 bmcr |= BMCR_FULLDPLX; in smc_phy_fixed()
935 bmcr |= BMCR_SPEED100; in smc_phy_fixed()
938 smc_phy_write(dev, phyaddr, MII_BMCR, bmcr); in smc_phy_fixed()
964 unsigned int bmcr; in smc_phy_reset() local
974 bmcr = smc_phy_read(dev, phy, MII_BMCR); in smc_phy_reset()
975 if (!(bmcr & BMCR_RESET)) in smc_phy_reset()
979 return bmcr & BMCR_RESET; in smc_phy_reset()
991 unsigned int bmcr; in smc_phy_powerdown() local
1002 bmcr = smc_phy_read(dev, phy, MII_BMCR); in smc_phy_powerdown()
1003 smc_phy_write(dev, phy, MII_BMCR, bmcr | BMCR_PDOWN); in smc_phy_powerdown()