Searched refs:phy_status (Results 1 – 3 of 3) sorted by relevance
1660 u16 phy_status; in TLan_PhyMonitor() local1665 TLan_MiiReadReg(nic, phy, MII_BMSR, &phy_status); in TLan_PhyMonitor()1668 if (!(phy_status & BMSR_LSTATUS)) { in TLan_PhyMonitor()1681 if ((phy_status & BMSR_LSTATUS) && !priv->link) { in TLan_PhyMonitor()
479 uint32_t phy_status; in tg3_phy_reset() local482 err = tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()483 err |= tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
177 int phy_status; in gmii_link_ok() local190 phy_status = falcon_mdio_read ( efab, 0, GMII_PSSR ); in gmii_link_ok()192 return ( ( status & BMSR_LSTATUS ) && ( phy_status & PSSR_LSTATUS ) ); in gmii_link_ok()