Lines Matching refs:mii_status
1365 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local
1416 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in phy_init()
1417 if (mii_status & PHY_GIGABIT) { in phy_init()
3045 int mii_status; in nv_update_linkspeed() local
3055 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_update_linkspeed()
3057 if (!(mii_status & BMSR_LSTATUS)) { in nv_update_linkspeed()
3082 if (!(mii_status & BMSR_ANEGCOMPLETE)) { in nv_update_linkspeed()
4574 int mii_status; in nv_link_test() local
4577 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_link_test()
4580 if (!(mii_status & BMSR_LSTATUS)) in nv_link_test()
5632 u32 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_probe() local
5633 if (mii_status & PHY_GIGABIT) in nv_probe()