Lines Matching refs:mii_status
1391 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local
1442 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in phy_init()
1443 if (mii_status & PHY_GIGABIT) { in phy_init()
3308 int mii_status; in nv_force_linkspeed() local
3314 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_force_linkspeed()
3315 if (mii_status & PHY_GIGABIT) { in nv_force_linkspeed()
3388 int mii_status; in nv_update_linkspeed() local
3412 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_update_linkspeed()
3414 if (!(mii_status & BMSR_LSTATUS)) { in nv_update_linkspeed()
3439 if (!(mii_status & BMSR_ANEGCOMPLETE)) { in nv_update_linkspeed()
5034 int mii_status; in nv_link_test() local
5037 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_link_test()
5040 if (!(mii_status & BMSR_LSTATUS)) in nv_link_test()
6088 u32 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_probe() local
6089 if (mii_status & PHY_GIGABIT) in nv_probe()