Home
last modified time | relevance | path

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

123

/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()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pcs.c78 val & BMSR_LSTATUS ? "Up" : "Down"); in stmmac_integrated_pcs_irq()
80 phylink_pcs_change(&spcs->pcs, val & BMSR_LSTATUS); in stmmac_integrated_pcs_irq()
/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.c166 !!(bmsr & BMSR_LSTATUS); in bcm84881_read_status()
H A Dlxt.c211 if ((status & BMSR_LSTATUS) == 0) in lxt973a2_update_link()
H A Dmarvell-88x2222.c385 if (!(val & BMSR_LSTATUS)) in mv2222_read_status_1g()
H A Dphy_device.c2476 else if (status & BMSR_LSTATUS) in genphy_update_link()
2485 phydev->link = status & BMSR_LSTATUS ? 1 : 0; in genphy_update_link()
2843 val & BMSR_LSTATUS, in genphy_loopback()
/linux/include/uapi/linux/
H A Dmii.h57 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
H A Dmdio.h140 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.c91 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link()
H A Datl2.c558 if (!(phy_data & BMSR_LSTATUS)) { /* Link Down */ in atl2_check_for_link()
1156 if (!(phy_data&BMSR_LSTATUS)) { /* link down */ in atl2_check_link()
1517 if (ctrl & BMSR_LSTATUS) in atl2_suspend()
1520 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend()
1569 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
/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()
/linux/drivers/net/
H A Dmii.c216 if (!(bmsr & BMSR_LSTATUS)) in mii_ethtool_get_link_ksettings()
449 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
H A Dsungem_phy.c380 if ((status & BMSR_LSTATUS) == 0) in genmii_poll_link()
/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()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.c42 if (!(bmsr & BMSR_LSTATUS)) in mv88e6xxx_pcs_decode_state()
/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c213 if (status < 0 || (status & BMSR_LSTATUS) == 0) in genmii_poll_link()
/linux/drivers/net/ethernet/sis/
H A Dsis190.c942 } else if ((val & BMSR_LSTATUS) && tp->link_status != LNK_ON) { in sis190_phy_task()
1016 } else if (!(val & BMSR_LSTATUS) && tp->link_status != LNK_AUTONEG) in sis190_phy_task()
1284 if ((status & BMSR_LSTATUS) && in sis190_default_phy()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c313 bmsr |= state->link ? BMSR_LSTATUS : 0; in lan966x_port_status_get()
/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c537 if (bp->sw_bmsr & BMSR_LSTATUS) { in bigmac_timer()
1053 return (bp->sw_bmsr & BMSR_LSTATUS); in bigmac_get_link()
H A Dsunhme.c791 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
839 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
2224 return hp->sw_bmsr & BMSR_LSTATUS; in hme_get_link()
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c658 return !!(phy_data & BMSR_LSTATUS); in atl1c_get_link_status()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c4482 if (!(tmp & BMSR_LSTATUS)) { in tg3_phy_copper_begin()
4792 !(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
4804 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
4813 (bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
4821 !(bmsr & BMSR_LSTATUS) && in tg3_setup_copper_phy()
4879 (bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
4884 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()
4975 if ((!tg3_readphy(tp, MII_BMSR, &bmsr) && (bmsr & BMSR_LSTATUS)) || in tg3_setup_copper_phy()
5862 bmsr |= BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
5864 bmsr &= ~BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
[all …]
H A Db44.c546 (bmsr & BMSR_LSTATUS)) { in b44_check_phy()
564 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()

123