Home
last modified time | relevance | path

Searched refs:MII_BMSR (Results 1 – 25 of 74) sorted by relevance

123

/Linux-v4.19/drivers/net/phy/
Dlxt.c68 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt()
125 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
136 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
Damd.c36 err = phy_read(phydev, MII_BMSR); in am79c_ack_interrupt()
Dqsemi.c88 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt()
DuPD60620.c45 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status()
Dswphy.c157 case MII_BMSR: in swphy_read_reg()
Dbcm7xxx.c229 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_config_init()
450 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_ephy_config_init()
Dphy_device.c1324 bmsr = phy_read(phydev, MII_BMSR); in genphy_config_advert()
1491 int retval = phy_read(phydev, MII_BMSR); in genphy_aneg_done()
1510 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
1515 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
1669 val = phy_read(phydev, MII_BMSR); in genphy_config_init()
Dmdio-bcm-unimac.c185 mdiobus_read(bus, addr, MII_BMSR); in unimac_mdio_reset()
Dphylink.c1354 if (reg == MII_BMSR) { in phylink_mii_emul_read()
1376 case MII_BMSR: in phylink_phy_read()
1416 case MII_BMSR: in phylink_phy_write()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c138 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, &status); in vsc8211_get_link_status()
148 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, in vsc8211_get_link_status()
214 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, &status); in vsc8211_get_link_status_fiber()
224 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, in vsc8211_get_link_status_fiber()
/Linux-v4.19/drivers/net/
Dmii.c82 bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); in mii_ethtool_gset()
169 bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); in mii_ethtool_get_link_ksettings()
428 reg = mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); in mii_check_gmii_support()
447 mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); in mii_link_ok()
448 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
Dsungem_phy.c381 (void)sungem_phy_read(phy, MII_BMSR); in genmii_poll_link()
382 status = sungem_phy_read(phy, MII_BMSR); in genmii_poll_link()
/Linux-v4.19/drivers/net/dsa/
Ddsa_loop.c195 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_prepare()
214 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_add()
243 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_del()
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datlx.c99 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link()
100 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link()
Datl2.c573 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
574 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
1174 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1175 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1536 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl); in atl2_suspend()
1537 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl); in atl2_suspend()
1909 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_get_regs()
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dmedia.c407 bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
415 int new_bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
462 int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii()
480 unsigned int tmpadv = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii()
/Linux-v4.19/drivers/net/ethernet/ibm/emac/
Dphy.c210 phy_read(phy, MII_BMSR); in genmii_poll_link()
211 status = phy_read(phy, MII_BMSR); in genmii_poll_link()
540 u16 bmsr = phy_read(phy, MII_BMSR); in emac_mii_phy_probe()
/Linux-v4.19/include/uapi/linux/
Dmii.h17 #define MII_BMSR 0x01 /* Basic mode status register */ macro
Dmdio.h32 #define MDIO_STAT1 MII_BMSR
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c708 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
709 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
733 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
734 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
Datl1c_ethtool.c176 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c172 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
173 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
236 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
237 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
2098 atl1e_read_phy_reg(hw, MII_BMSR, &mii_bmsr_data); in atl1e_suspend()
2099 atl1e_read_phy_reg(hw, MII_BMSR, &mii_bmsr_data); in atl1e_suspend()
2122 atl1e_read_phy_reg(hw, MII_BMSR, in atl1e_suspend()
Datl1e_ethtool.c204 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_get_regs()
/Linux-v4.19/drivers/net/ethernet/sun/
Dsunbmac.c535 bp->sw_bmsr = bigmac_tcvr_read(bp, tregs, MII_BMSR); in bigmac_timer()
589 bp->sw_bmsr = bigmac_tcvr_read(bp, tregs, MII_BMSR); in bigmac_begin_auto_negotiation()
1049 bp->sw_bmsr = bigmac_tcvr_read(bp, bp->tregs, MII_BMSR); in bigmac_get_link()
/Linux-v4.19/drivers/net/ethernet/sis/
Dsis190.c934 val = mdio_read_latched(ioaddr, phy_id, MII_BMSR); in sis190_phy_task()
1271 status = mdio_read_latched(ioaddr, phy->phy_id, MII_BMSR); in sis190_default_phy()
1310 status = mdio_read_latched(ioaddr, mii_if->phy_id, MII_BMSR); in sis190_default_phy()
1394 status = mdio_read_latched(ioaddr, phy_id, MII_BMSR); in sis190_mii_probe()

123