Home
last modified time | relevance | path

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

123

/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/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()
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()
H A Dwinbond-840.c438 int mii_status = mdio_read(dev, phy, MII_BMSR); in w840_probe1()
664 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link()
669 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link()
/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
/linux/drivers/net/phy/
H A Dswphy.c151 case MII_BMSR: in swphy_read_reg()
H A Dmotorcomm.c1373 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.c2013 bmsr = phy_read(phydev, MII_BMSR); in genphy_config_advert()
2329 int retval = phy_read(phydev, MII_BMSR); in genphy_aneg_done()
2363 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
2371 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
2649 val = phy_read(phydev, MII_BMSR); in genphy_read_abilities()
2732 ret = phy_read_poll_timeout(phydev, MII_BMSR, val, in genphy_loopback()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c153 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
154 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
217 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
218 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
2100 atl1e_read_phy_reg(hw, MII_BMSR, &mii_bmsr_data); in atl1e_suspend()
2101 atl1e_read_phy_reg(hw, MII_BMSR, &mii_bmsr_data); in atl1e_suspend()
2124 atl1e_read_phy_reg(hw, MII_BMSR, in atl1e_suspend()
H A Datl1e_ethtool.c190 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_get_regs()
/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/mdio/
H A Dmdio-bcm-unimac.c191 mdiobus_read(bus, addr, MII_BMSR); in unimac_mdio_reset()
/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()
H A Dsunhme.c613 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_begin_auto_negotiation()
759 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_timer()
790 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_timer()
816 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_timer()
1050 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_tcvr_reset()
1560 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_set_initial_advertisement()
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c656 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()
H A Datl1c_ethtool.c162 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs()
/linux/drivers/net/ethernet/sis/
H A Dsis190.c937 val = mdio_read_latched(ioaddr, phy_id, MII_BMSR); in sis190_phy_task()
1281 status = mdio_read_latched(ioaddr, phy->phy_id, MII_BMSR); in sis190_default_phy()
1320 status = mdio_read_latched(ioaddr, mii_if->phy_id, MII_BMSR); in sis190_default_phy()
1404 status = mdio_read_latched(ioaddr, phy_id, MII_BMSR); in sis190_mii_probe()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-6352.c174 bmsr = __mdiodev_read(&mpcs->mdio, MII_BMSR); in marvell_c22_pcs_get_state()
/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c781 pci_name(np->pci_dev), mdio_read(dev, MII_BMSR), in natsemi_init_media()
1359 tmp = miiport_read(dev, i, MII_BMSR); in find_mii()
1657 mdio_read(dev, MII_BMSR); in check_link()
1658 bmsr = mdio_read(dev, MII_BMSR); in check_link()
2662 mdio_read(dev, MII_BMSR); in get_link()
2663 return (mdio_read(dev, MII_BMSR)&BMSR_LSTATUS) ? 1:0; in get_link()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c1746 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg()
1749 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg()
1784 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic()
1795 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic()
H A Dmac.c1048 ret_val = e1e_rphy(hw, MII_BMSR, &mii_status_reg); in e1000e_config_fc_after_link_up()
1051 ret_val = e1e_rphy(hw, MII_BMSR, &mii_status_reg); in e1000e_config_fc_after_link_up()
/linux/drivers/net/
H A Dsungem_phy.c378 (void)sungem_phy_read(phy, MII_BMSR); in genmii_poll_link()
379 status = sungem_phy_read(phy, MII_BMSR); in genmii_poll_link()

123