/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/ |
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()
|
/linux-6.3-rc2/drivers/net/phy/ |
A D | uPD60620.c | 49 if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) { in upd60620_read_status()
|
A D | swphy.c | 136 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE; in swphy_read_reg()
|
A D | bcm84881.c | 154 !!(bmsr & BMSR_LSTATUS); in bcm84881_read_status()
|
A D | lxt.c | 211 if ((status & BMSR_LSTATUS) == 0) in lxt973a2_update_link()
|
A D | marvell-88x2222.c | 388 if (!(val & BMSR_LSTATUS)) in mv2222_read_status_1g()
|
A D | microchip_t1.c | 581 if (bmsr & BMSR_LSTATUS) in microchip_cable_test_start_common()
|
A D | phy_device.c | 2354 else if (status & BMSR_LSTATUS) in genphy_update_link() 2363 phydev->link = status & BMSR_LSTATUS ? 1 : 0; in genphy_update_link() 2708 val & BMSR_LSTATUS, in genphy_loopback()
|
A D | mxl-gpy.c | 470 ret = phy_read_poll_timeout(phydev, MII_BMSR, ret, ret & BMSR_LSTATUS, in gpy_config_aneg()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | mii.h | 57 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
|
A D | mdio.h | 123 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
|
/linux-6.3-rc2/drivers/net/usb/ |
A D | sr9700.c | 198 res = le16_to_cpu(res) | BMSR_LSTATUS; in sr_mdio_read() 200 res = le16_to_cpu(res) & ~BMSR_LSTATUS; in sr_mdio_read()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/atlx/ |
A D | atlx.c | 91 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link()
|
A D | atl2.c | 558 if (!(phy_data & BMSR_LSTATUS)) { /* Link Down */ in atl2_check_for_link() 1155 if (!(phy_data&BMSR_LSTATUS)) { /* link down */ in atl2_check_link() 1516 if (ctrl & BMSR_LSTATUS) in atl2_suspend() 1519 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend() 1568 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
|
/linux-6.3-rc2/drivers/net/ethernet/dec/tulip/ |
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()
|
/linux-6.3-rc2/drivers/net/pcs/ |
A D | pcs-lynx.c | 80 state->link = !!(bmsr & BMSR_LSTATUS); in lynx_pcs_get_state_2500basex()
|
/linux-6.3-rc2/drivers/net/dsa/mv88e6xxx/ |
A D | serdes.c | 57 if (!(bmsr & BMSR_LSTATUS)) in mv88e6xxx_serdes_pcs_get_state() 378 dsa_port_phylink_mac_change(chip->ds, port, !!(bmsr & BMSR_LSTATUS)); in mv88e6352_serdes_irq_link() 1093 dsa_port_phylink_mac_change(chip->ds, port, !!(bmsr & BMSR_LSTATUS)); in mv88e6390_serdes_irq_link_sgmii()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1e/ |
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() 2115 if (mii_bmsr_data & BMSR_LSTATUS) { in atl1e_suspend() 2120 if (mii_bmsr_data & BMSR_LSTATUS) in atl1e_suspend() 2124 if ((mii_bmsr_data & BMSR_LSTATUS) == 0) in atl1e_suspend()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_port.c | 312 bmsr |= state->link ? BMSR_LSTATUS : 0; in lan966x_port_status_get()
|
/linux-6.3-rc2/drivers/net/ethernet/ibm/emac/ |
A D | phy.c | 213 if (status < 0 || (status & BMSR_LSTATUS) == 0) in genmii_poll_link()
|
/linux-6.3-rc2/drivers/net/ethernet/sis/ |
A D | sis190.c | 942 } 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-6.3-rc2/drivers/net/ethernet/sun/ |
A D | sunbmac.c | 537 if (bp->sw_bmsr & BMSR_LSTATUS) { in bigmac_timer() 1053 return (bp->sw_bmsr & BMSR_LSTATUS); in bigmac_get_link()
|
/linux-6.3-rc2/drivers/net/ |
A D | mii.c | 446 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_hw.c | 658 return !!(phy_data & BMSR_LSTATUS); in atl1c_get_link_status()
|
/linux-6.3-rc2/drivers/net/bonding/ |
A D | bond_main.c | 751 return netif_carrier_ok(slave_dev) ? BMSR_LSTATUS : 0; in bond_check_dev_link() 756 BMSR_LSTATUS : 0; in bond_check_dev_link() 779 return mii->val_out & BMSR_LSTATUS; in bond_check_dev_link() 788 return reporting ? -1 : BMSR_LSTATUS; in bond_check_dev_link() 2028 if (bond_check_dev_link(bond, slave_dev, 0) == BMSR_LSTATUS) { in bond_enslave() 4427 mii->val_out = BMSR_LSTATUS; in bond_eth_ioctl()
|