Lines Matching refs:mii_control
1389 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local
1459 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in phy_init()
1460 mii_control |= BMCR_ANENABLE; in phy_init()
1466 mii_control |= BMCR_ANRESTART; in phy_init()
1467 if (mii_rw(dev, np->phyaddr, MII_BMCR, mii_control)) { in phy_init()
1476 if (phy_reset(dev, mii_control)) { in phy_init()
1519 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in phy_init()
1520 mii_control |= (BMCR_ANRESTART | BMCR_ANENABLE); in phy_init()
1522 mii_control |= BMCR_PDOWN; in phy_init()
1523 if (mii_rw(dev, np->phyaddr, MII_BMCR, mii_control)) in phy_init()
6047 u16 phy_reserved, mii_control; in nv_restore_phy() local
6060 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in nv_restore_phy()
6061 mii_control |= (BMCR_ANRESTART | BMCR_ANENABLE); in nv_restore_phy()
6062 mii_rw(dev, np->phyaddr, MII_BMCR, mii_control); in nv_restore_phy()