Lines Matching refs:status
15 * to read the link status. Figure out why and if it makes
376 u16 status;
379 status = sungem_phy_read(phy, MII_BMSR);
380 if ((status & BMSR_LSTATUS) == 0)
382 if (phy->autoneg && !(status & BMSR_ANEGCOMPLETE))
845 u16 status, pmask;
848 status = sungem_phy_read(phy, MII_M1011_PHY_SPEC_STATUS);
849 if ((status & MII_M1011_PHY_SPEC_STATUS_RESOLVED) == 0)
851 if (status & MII_M1011_PHY_SPEC_STATUS_1000)
853 else if (status & MII_M1011_PHY_SPEC_STATUS_100)
857 if (status & MII_M1011_PHY_SPEC_STATUS_FULLDUPLEX)
863 phy->pause = (status & pmask) == pmask;