Home
last modified time | relevance | path

Searched refs:BMSR_LSTATUS (Results 1 – 25 of 76) sorted by relevance

1234

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c147 if (!(status & BMSR_LSTATUS)) in vsc8211_get_link_status()
152 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status()
223 if (!(status & BMSR_LSTATUS)) in vsc8211_get_link_status_fiber()
228 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status_fiber()
/openbmc/u-boot/drivers/net/
H A Ddnet.c270 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()
H A Dat91_emac.c238 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()
H A Dmcfmii.c248 linkgood = (BMSR_ANEGCOMPLETE | BMSR_LSTATUS); in __mii_init()
250 linkgood = BMSR_LSTATUS; in __mii_init()
H A Dpic32_eth.c202 if (stat & BMSR_LSTATUS) in pic32_mac_init()
206 if (!(stat & BMSR_LSTATUS)) in pic32_mac_init()
H A Dax88180.c341 if (bmsr_val & BMSR_LSTATUS) { in ax88180_media_config()
350 if (bmsr_val & BMSR_LSTATUS) { in ax88180_media_config()
H A Dmacb.c547 if (!(status & BMSR_LSTATUS)) { in macb_phy_init()
553 if (status & BMSR_LSTATUS) in macb_phy_init()
559 if (!(status & BMSR_LSTATUS)) { in macb_phy_init()
H A Dsmc911x.c101 } while (!(status & BMSR_LSTATUS)); in smc911x_phy_configure()
/openbmc/linux/drivers/net/phy/
H A DuPD60620.c49 if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) { in upd60620_read_status()
H A Dswphy.c136 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE; in swphy_read_reg()
H A Dbcm84881.c154 !!(bmsr & BMSR_LSTATUS); in bcm84881_read_status()
H A Dlxt.c211 if ((status & BMSR_LSTATUS) == 0) in lxt973a2_update_link()
/openbmc/linux/include/uapi/linux/
H A Dmii.h57 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
H A Dmdio.h125 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
/openbmc/u-boot/include/linux/
H A Dmii.h54 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
H A Dmdio.h97 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
/openbmc/linux/drivers/net/usb/
H A Dsr9700.c205 res = le16_to_cpu(res) | BMSR_LSTATUS; in sr_mdio_read()
207 res = le16_to_cpu(res) & ~BMSR_LSTATUS; in sr_mdio_read()
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.c91 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c409 if ((bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
411 if ((new_bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
/openbmc/u-boot/drivers/usb/eth/
H A Dlan75xx.c50 dev->phy_id, MII_BMSR, BMSR_LSTATUS, in lan75xx_phy_gig_workaround()
/openbmc/u-boot/drivers/qe/
H A Duec_phy.c379 if ((status & BMSR_LSTATUS) && (status & BMSR_ANEGCAPABLE) in genmii_update_link()
398 if (status & BMSR_LSTATUS) in genmii_update_link()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-lynx.c73 state->link = !!(bmsr & BMSR_LSTATUS); in lynx_pcs_get_state_2500basex()
/openbmc/u-boot/drivers/net/phy/
H A Dphy.c234 if (phydev->link && mii_reg & BMSR_LSTATUS) in genphy_update_link()
271 if (mii_reg & BMSR_LSTATUS) in genphy_update_link()
/openbmc/u-boot/common/
H A Dmiiphyutil.c553 if ((reg & BMSR_LSTATUS) != 0) { in miiphy_link()
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c155 if ((phy_data & BMSR_LSTATUS) == 0) { in atl1e_check_link()
220 link_up = phy_data & BMSR_LSTATUS; in atl1e_link_chg_event()
2121 if (mii_bmsr_data & BMSR_LSTATUS) { in atl1e_suspend()
2126 if (mii_bmsr_data & BMSR_LSTATUS) in atl1e_suspend()
2130 if ((mii_bmsr_data & BMSR_LSTATUS) == 0) in atl1e_suspend()

1234