Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/net/phy/
Dlxt.c63 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt()
120 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
131 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
Damd.c31 err = phy_read(phydev, MII_BMSR); in am79c_ack_interrupt()
Dqsemi.c83 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt()
DuPD60620.c40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status()
Dswphy.c151 case MII_BMSR: in swphy_read_reg()
Dbcm7xxx.c158 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_config_init()
379 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_ephy_config_init()
Dbcm-cygnus.c143 phy_read(phydev, MII_BMSR); in bcm_omega_config_init()
Dphy_device.c1586 bmsr = phy_read(phydev, MII_BMSR); in genphy_config_advert()
1728 int retval = phy_read(phydev, MII_BMSR); in genphy_aneg_done()
1761 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
1769 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
1939 val = phy_read(phydev, MII_BMSR); in genphy_read_abilities()
Dmdio-bcm-unimac.c181 mdiobus_read(bus, addr, MII_BMSR); in unimac_mdio_reset()
/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/drivers/net/dsa/
Ddsa_loop.c191 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_prepare()
210 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_add()
239 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_del()
/Linux-v5.4/drivers/net/ethernet/atheros/atlx/
Datlx.c86 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link()
87 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link()
Datl2.c559 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
560 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
1159 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1160 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1519 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl); in atl2_suspend()
1520 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl); in atl2_suspend()
1892 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_get_regs()
/Linux-v5.4/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-v5.4/drivers/net/ethernet/ibm/emac/
Dphy.c211 phy_read(phy, MII_BMSR); in genmii_poll_link()
212 status = phy_read(phy, MII_BMSR); in genmii_poll_link()
541 u16 bmsr = phy_read(phy, MII_BMSR); in emac_mii_phy_probe()
/Linux-v5.4/include/uapi/linux/
Dmii.h17 #define MII_BMSR 0x01 /* Basic mode status register */ macro
Dmdio.h32 #define MDIO_STAT1 MII_BMSR
/Linux-v5.4/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c695 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
696 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
720 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
721 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_phy_to_ps_link()
Datl1c_ethtool.c162 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dserdes.c188 err = mv88e6352_serdes_read(chip, MII_BMSR, &status); in mv88e6352_serdes_irq_link()
196 err = mv88e6352_serdes_read(chip, MII_BMSR, &status); in mv88e6352_serdes_irq_link()
/Linux-v5.4/drivers/net/dsa/b53/
Db53_serdes.c110 bmsr = b53_serdes_read(dev, lane, B53_SERDES_MII_REG(MII_BMSR), in b53_serdes_link_state()
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c159 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
160 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
223 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
224 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
2086 atl1e_read_phy_reg(hw, MII_BMSR, &mii_bmsr_data); in atl1e_suspend()
2087 atl1e_read_phy_reg(hw, MII_BMSR, &mii_bmsr_data); in atl1e_suspend()
2110 atl1e_read_phy_reg(hw, MII_BMSR, in atl1e_suspend()
/Linux-v5.4/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()
1050 bp->sw_bmsr = bigmac_tcvr_read(bp, bp->tregs, MII_BMSR); in bigmac_get_link()
/Linux-v5.4/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()

1234