/linux/drivers/net/phy/ |
H A D | lxt.c | 66 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 D | ncn26000.c | 76 ret = phy_read(phydev, MII_BMSR); in ncn26000_read_status() 83 ret = phy_read(phydev, MII_BMSR); in ncn26000_read_status()
|
H A D | bcm84881.c | 133 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 D | uPD60620.c | 40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status()
|
H A D | qsemi.c | 79 * 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 D | swphy.c | 151 case MII_BMSR: in swphy_read_reg()
|
H A D | bcm7xxx.c | 164 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 D | bcm-cygnus.c | 143 phy_read(phydev, MII_BMSR); in bcm_omega_config_init()
|
H A D | motorcomm.c | 1370 * 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 D | phy_device.c | 2012 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 D | vsc8211.c | 138 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 D | mii.c | 80 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 D | atlx.c | 86 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 D | atl2.c | 553 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 D | media.c | 402 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 D | phy.c | 211 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 D | pcs-lynx.c | 66 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 D | mii.h | 17 #define MII_BMSR 0x01 /* Basic mode status register */ macro
|
H A D | mdio.h | 33 #define MDIO_STAT1 MII_BMSR
|
/linux/drivers/net/dsa/ |
H A D | dsa_loop.c | 217 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 D | serdes.h | 63 #define MV88E6390_SGMII_BMSR (0x2000 + MII_BMSR)
|
/linux/drivers/net/dsa/b53/ |
H A D | b53_serdes.c | 111 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 D | atl1c_ethtool.c | 162 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs()
|
H A D | atl1c_hw.c | 655 /* 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 D | sunbmac.c | 535 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()
|