Home
last modified time | relevance | path

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

123

/linux/drivers/net/phy/
H A Dlxt.c66 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt()
107 irq_status = phy_read(phydev, MII_BMSR); in lxt970_handle_interrupt()
194 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
205 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
H A Dncn26000.c76 ret = phy_read(phydev, MII_BMSR); in ncn26000_read_status()
83 ret = phy_read(phydev, MII_BMSR); in ncn26000_read_status()
H A Dbcm84881.c133 bmsr = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_AN_C22 + MII_BMSR); in bcm84881_aneg_done()
159 bmsr = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_AN_C22 + MII_BMSR); in bcm84881_read_status()
H A DuPD60620.c40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status()
H A Dqsemi.c79 * cleared when MII_BMSR is read and bits 1 and 3 are cleared when in qs6612_ack_interrupt()
87 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt()
H A Dswphy.c151 case MII_BMSR: in swphy_read_reg()
H A Dbcm7xxx.c164 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_config_init()
401 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_ephy_config_init()
838 phy_read(phydev, MII_BMSR); in bcm7xxx_28nm_probe()
H A Dbcm-cygnus.c143 phy_read(phydev, MII_BMSR); in bcm_omega_config_init()
H A Dmotorcomm.c1370 * we need check MII_BMSR to identify such case. in yt8521_read_status_paged()
1373 ret = __phy_read(phydev, MII_BMSR); in yt8521_read_status_paged()
1378 ret = __phy_read(phydev, MII_BMSR); in yt8521_read_status_paged()
1391 ret = __phy_read(phydev, MII_BMSR); in yt8521_read_status_paged()
1997 bmsr = __phy_read(phydev, MII_BMSR); in ytphy_utp_config_advert()
2243 val = __phy_read(phydev, MII_BMSR); in ytphy_utp_read_abilities()
H A Dphy_device.c2012 bmsr = phy_read(phydev, MII_BMSR); in genphy_config_advert()
2328 int retval = phy_read(phydev, MII_BMSR); in genphy_aneg_done()
2362 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
2370 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
2648 val = phy_read(phydev, MII_BMSR); in genphy_read_abilities()
2731 ret = phy_read_poll_timeout(phydev, MII_BMSR, val, in genphy_loopback()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A 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/drivers/net/
H A Dmii.c80 bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); in mii_ethtool_gset()
166 bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR); in mii_ethtool_get_link_ksettings()
429 reg = mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); in mii_check_gmii_support()
448 mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); in mii_link_ok()
449 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
/linux/drivers/net/ethernet/atheros/atlx/
H A 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()
H A Datl2.c553 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
554 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
1153 /* MII_BMSR must read twise */ in atl2_check_link()
1154 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1155 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1515 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl); in atl2_suspend()
1516 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl); in atl2_suspend()
1863 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_get_regs()
/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c402 bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
410 int new_bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
457 int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii()
475 unsigned int tmpadv = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii()
/linux/drivers/net/ethernet/ibm/emac/
H A 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/drivers/net/pcs/
H A Dpcs-lynx.c66 status = mdiobus_c45_read(bus, addr, MDIO_MMD_VEND2, MII_BMSR); in lynx_pcs_get_state_usxgmii()
87 bmsr = mdiodev_read(pcs, MII_BMSR); in lynx_pcs_get_state_2500basex()
/linux/include/uapi/linux/
H A Dmii.h17 #define MII_BMSR 0x01 /* Basic mode status register */ macro
H A Dmdio.h33 #define MDIO_STAT1 MII_BMSR
/linux/drivers/net/dsa/
H A Ddsa_loop.c217 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_add()
246 mdiobus_read(bus, ps->port_base + port, MII_BMSR); in dsa_loop_port_vlan_del()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.h63 #define MV88E6390_SGMII_BMSR (0x2000 + MII_BMSR)
/linux/drivers/net/dsa/b53/
H A Db53_serdes.c111 bmsr = b53_serdes_read(dev, lane, B53_SERDES_MII_REG(MII_BMSR), in b53_serdes_get_state()
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c162 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs()
H A Datl1c_hw.c655 /* MII_BMSR must be read twice */ in atl1c_get_link_status()
656 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_link_status()
657 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_link_status()
/linux/drivers/net/ethernet/sun/
H A 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()

123