Home
last modified time | relevance | path

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

123

/drivers/net/cxgb3/
Dvsc8211.c135 err = mdio_read(cphy, 0, MII_BMSR, &status); in vsc8211_get_link_status()
145 err = mdio_read(cphy, 0, MII_BMSR, &status); in vsc8211_get_link_status()
207 err = mdio_read(cphy, 0, MII_BMSR, &status); in vsc8211_get_link_status_fiber()
217 err = mdio_read(cphy, 0, MII_BMSR, &status); in vsc8211_get_link_status_fiber()
Dael1002.c1161 if (!phy_addr && !mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, &stat) && in t3_qt2045_phy_prep()
/drivers/net/atlx/
Datlx.c95 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link()
96 atlx_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atlx_check_for_link()
Datl2.c554 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
555 atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl2_check_for_link()
1180 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1181 atl2_read_phy_reg(hw, MII_BMSR, &phy_data); in atl2_check_link()
1553 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl);
1554 atl2_read_phy_reg(hw, MII_BMSR, (u16 *)&ctrl);
1925 atl2_read_phy_reg(hw, MII_BMSR, &phy_data);
/drivers/net/tulip/
Dmedia.c417 bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
425 int new_bmsr = tulip_mdio_read(dev, tp->phys[0], MII_BMSR); in tulip_check_duplex()
471 int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii()
489 unsigned int tmpadv = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii()
Dwinbond-840.c449 int mii_status = mdio_read(dev, phy, MII_BMSR); in w840_probe1()
681 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link()
686 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link()
/drivers/net/
Dmii.c232 reg = mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); in mii_check_gmii_support()
251 mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR); in mii_link_ok()
252 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
Dsis190.c932 } else if (!(mdio_read_latched(ioaddr, phy_id, MII_BMSR) & in sis190_phy_task()
1248 status = mdio_read_latched(ioaddr, phy->phy_id, MII_BMSR); in sis190_default_phy()
1287 status = mdio_read_latched(ioaddr, mii_if->phy_id, MII_BMSR); in sis190_default_phy()
1367 status = mdio_read_latched(ioaddr, phy_id, MII_BMSR); in sis190_mii_probe()
Ddl2k.h275 MII_BMSR = 1, enumerator
Dvia-rhine.c1076 iowrite8(MII_BMSR, ioaddr + MIIRegAddr); in rhine_enable_linkmon()
1081 iowrite8(MII_BMSR | 0x40, ioaddr + MIIRegAddr); in rhine_enable_linkmon()
1173 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); in rhine_open()
1188 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); in rhine_tx_timeout()
Dsunhme.c726 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_timer()
757 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_timer()
783 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_timer()
1055 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_tcvr_reset()
1294 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_begin_auto_negotiation()
1740 hp->sw_bmsr = happy_meal_tcvr_read(hp, tregs, MII_BMSR); in happy_meal_set_initial_advertisement()
Dnatsemi.c777 pci_name(np->pci_dev), mdio_read(dev, MII_BMSR), in natsemi_init_media()
1360 tmp = miiport_read(dev, i, MII_BMSR); in find_mii()
1659 mdio_read(dev, MII_BMSR); in check_link()
1660 bmsr = mdio_read(dev, MII_BMSR); in check_link()
2651 mdio_read(dev, MII_BMSR); in get_link()
2652 return (mdio_read(dev, MII_BMSR)&BMSR_LSTATUS) ? 1:0; in get_link()
Dsungem_phy.c381 (void)phy_read(phy, MII_BMSR); in genmii_poll_link()
382 status = phy_read(phy, MII_BMSR); in genmii_poll_link()
Dtg3.c1148 if (!tg3_readphy(tp, MII_BMSR, &reg)) in tg3_ump_link_report()
1791 err = tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
1792 err |= tg3_readphy(tp, MII_BMSR, &phy_status); in tg3_phy_reset()
2600 if (tg3_readphy(tp, MII_BMSR, &tmp) || in tg3_phy_copper_begin()
2601 tg3_readphy(tp, MII_BMSR, &tmp)) in tg3_phy_copper_begin()
2747 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
2748 if (!tg3_readphy(tp, MII_BMSR, &bmsr) && in tg3_setup_copper_phy()
2756 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
2757 if (tg3_readphy(tp, MII_BMSR, &bmsr) || in tg3_setup_copper_phy()
2766 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy()
[all …]
/drivers/net/ibm_newemac/
Dphy.c207 phy_read(phy, MII_BMSR); in genmii_poll_link()
208 status = phy_read(phy, MII_BMSR); in genmii_poll_link()
511 u16 bmsr = phy_read(phy, MII_BMSR); in emac_mii_phy_probe()
/drivers/net/phy/
Dqsemi.c89 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt()
Dphy_device.c594 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
600 status = phy_read(phydev, MII_BMSR); in genphy_update_link()
722 val = phy_read(phydev, MII_BMSR); in genphy_config_init()
Dlxt.c66 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt()
Dfixed.c108 fp->regs[MII_BMSR] = bmsr; in fixed_phy_update_regs()
/drivers/net/atl1e/
Datl1e_main.c171 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
172 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_check_link()
237 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
238 atl1e_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1e_link_chg_event()
2105 atl1e_read_phy_reg(hw, MII_BMSR, (u16 *)&mii_bmsr_data); in atl1e_suspend()
2106 atl1e_read_phy_reg(hw, MII_BMSR, (u16 *)&mii_bmsr_data); in atl1e_suspend()
2129 atl1e_read_phy_reg(hw, MII_BMSR, in atl1e_suspend()
Datl1e_hw.h633 #define MII_BMSR 0x01 macro
Datl1e_ethtool.c202 atl1e_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1e_get_regs()
/drivers/net/atl1c/
Datl1c_main.c215 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_check_link_status()
216 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_check_link_status()
280 atl1c_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1c_link_chg_event()
281 atl1c_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); in atl1c_link_chg_event()
2342 atl1c_read_phy_reg(hw, MII_BMSR, (u16 *)&mii_bmsr_data); in atl1c_suspend()
2343 atl1c_read_phy_reg(hw, MII_BMSR, (u16 *)&mii_bmsr_data); in atl1c_suspend()
2358 atl1c_read_phy_reg(hw, MII_BMSR, in atl1c_suspend()
Datl1c_ethtool.c174 atl1c_read_phy_reg(hw, MII_BMSR, &phy_data); in atl1c_get_regs()
Datl1c_hw.h713 #define MII_BMSR 0x01 macro

123