/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | vsc8211.c | 147 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 D | dnet.c | 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()
|
H A D | at91_emac.c | 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()
|
H A D | mcfmii.c | 248 linkgood = (BMSR_ANEGCOMPLETE | BMSR_LSTATUS); in __mii_init() 250 linkgood = BMSR_LSTATUS; in __mii_init()
|
H A D | pic32_eth.c | 202 if (stat & BMSR_LSTATUS) in pic32_mac_init() 206 if (!(stat & BMSR_LSTATUS)) in pic32_mac_init()
|
H A D | ax88180.c | 341 if (bmsr_val & BMSR_LSTATUS) { in ax88180_media_config() 350 if (bmsr_val & BMSR_LSTATUS) { in ax88180_media_config()
|
H A D | macb.c | 547 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 D | smc911x.c | 101 } while (!(status & BMSR_LSTATUS)); in smc911x_phy_configure()
|
/openbmc/linux/drivers/net/phy/ |
H A D | uPD60620.c | 49 if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) { in upd60620_read_status()
|
H A D | swphy.c | 136 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE; in swphy_read_reg()
|
H A D | bcm84881.c | 154 !!(bmsr & BMSR_LSTATUS); in bcm84881_read_status()
|
H A D | lxt.c | 211 if ((status & BMSR_LSTATUS) == 0) in lxt973a2_update_link()
|
/openbmc/linux/include/uapi/linux/ |
H A D | mii.h | 57 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
|
H A D | mdio.h | 125 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
|
/openbmc/u-boot/include/linux/ |
H A D | mii.h | 54 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
|
H A D | mdio.h | 97 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
|
/openbmc/linux/drivers/net/usb/ |
H A D | sr9700.c | 205 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 D | atlx.c | 91 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | media.c | 409 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 D | lan75xx.c | 50 dev->phy_id, MII_BMSR, BMSR_LSTATUS, in lan75xx_phy_gig_workaround()
|
/openbmc/u-boot/drivers/qe/ |
H A D | uec_phy.c | 379 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 D | pcs-lynx.c | 73 state->link = !!(bmsr & BMSR_LSTATUS); in lynx_pcs_get_state_2500basex()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | phy.c | 234 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 D | miiphyutil.c | 553 if ((reg & BMSR_LSTATUS) != 0) { in miiphy_link()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 155 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()
|