Searched refs:BMSR_LSTATUS (Results 1 – 20 of 20) sorted by relevance
270 if (!(status & BMSR_LSTATUS)) { in dnet_phy_init()276 if (status & BMSR_LSTATUS) in dnet_phy_init()282 if (!(status & BMSR_LSTATUS)) { in dnet_phy_init()
238 if (!(status & BMSR_LSTATUS)) { in at91emac_phy_init()246 if (status & BMSR_LSTATUS) in at91emac_phy_init()251 if (!(status & BMSR_LSTATUS)) { in at91emac_phy_init()277 if (!(stat1 & BMSR_LSTATUS)) /* link status up? */ in at91emac_UpdateLinkSpeed()
249 linkgood = (BMSR_ANEGCOMPLETE | BMSR_LSTATUS); in __mii_init()251 linkgood = BMSR_LSTATUS; in __mii_init()
341 if (bmsr_val & BMSR_LSTATUS) { in ax88180_media_config()350 if (bmsr_val & BMSR_LSTATUS) { in ax88180_media_config()
205 if (stat & BMSR_LSTATUS) in pic32_mac_init()209 if (!(stat & BMSR_LSTATUS)) in pic32_mac_init()
101 } while (!(status & BMSR_LSTATUS)); in smc911x_phy_configure()
618 if (!(status & BMSR_LSTATUS)) { in macb_phy_init()624 if (status & BMSR_LSTATUS) { in macb_phy_init()636 if (!(status & BMSR_LSTATUS)) { in macb_phy_init()
149 chip->lnkup = (bmsr & BMSR_LSTATUS) ? 1 : 0; in ftmac110_phyqry()
240 up = (val & BMSR_LSTATUS) ? 1 : 0; in bcm6368_eth_adjust_link()
295 } while (!(status & BMSR_LSTATUS)); in miiphy_wait_aneg()
54 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
97 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
50 dev->phy_id, MII_BMSR, BMSR_LSTATUS, in lan75xx_phy_gig_workaround()
495 have_link = mcs7830_read_phy(udev, MII_BMSR) & BMSR_LSTATUS; in mcs7830_init_common()
439 BMSR_LSTATUS; in asix_init_common()
375 link_detected = *tmp16 & BMSR_LSTATUS; in asix_wait_link()
657 & BMSR_LSTATUS; in smsc95xx_init_common()
379 if ((status & BMSR_LSTATUS) && (status & BMSR_ANEGCAPABLE) in genmii_update_link()398 if (status & BMSR_LSTATUS) in genmii_update_link()
234 if (phydev->link && mii_reg & BMSR_LSTATUS) in genphy_update_link()271 if (mii_reg & BMSR_LSTATUS) in genphy_update_link()
553 if ((reg & BMSR_LSTATUS) != 0) { in miiphy_link()