Home
last modified time | relevance | path

Searched refs:BMSR_LSTATUS (Results 1 – 25 of 39) sorted by relevance

12

/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c147 if (!(status & BMSR_LSTATUS)) in vsc8211_get_link_status()
152 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status()
223 if (!(status & BMSR_LSTATUS)) in vsc8211_get_link_status_fiber()
228 *link_ok = (status & BMSR_LSTATUS) != 0; in vsc8211_get_link_status_fiber()
/linux-3.4.99/include/linux/
Dmdio.h93 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
Dmii.h53 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
/linux-3.4.99/drivers/net/ethernet/atheros/atlx/
Datlx.c105 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link()
Datl2.c582 if (!(phy_data & BMSR_LSTATUS)) { /* Link Down */ in atl2_check_for_link()
1196 if (!(phy_data&BMSR_LSTATUS)) { /* link down */ in atl2_check_link()
1569 if (ctrl & BMSR_LSTATUS)
1572 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) {
1621 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) {
/linux-3.4.99/drivers/net/phy/
Dfixed.c99 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE; in fixed_phy_update_regs()
Dphy_device.c720 if ((status & BMSR_LSTATUS) == 0) in genphy_update_link()
/linux-3.4.99/drivers/net/ethernet/dec/tulip/
Dmedia.c415 if ((bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
417 if ((new_bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c607 if (phy_data & BMSR_LSTATUS) { in atl1c_phy_power_saving()
632 if (phy_data & BMSR_LSTATUS) { in atl1c_phy_power_saving()
Datl1c_main.c262 if ((phy_data & BMSR_LSTATUS) == 0) { in atl1c_check_link_status()
313 link_up = phy_data & BMSR_LSTATUS; in atl1c_link_chg_event()
/linux-3.4.99/drivers/net/
Dmii.c257 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
Dsungem_phy.c383 if ((status & BMSR_LSTATUS) == 0) in genmii_poll_link()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c173 if ((phy_data & BMSR_LSTATUS) == 0) { in atl1e_check_link()
238 link_up = phy_data & BMSR_LSTATUS; in atl1e_link_chg_event()
2114 if (mii_bmsr_data & BMSR_LSTATUS) { in atl1e_suspend()
2119 if (mii_bmsr_data & BMSR_LSTATUS) in atl1e_suspend()
2123 if ((mii_bmsr_data & BMSR_LSTATUS) == 0) in atl1e_suspend()
/linux-3.4.99/drivers/net/ethernet/ibm/emac/
Dphy.c212 if (status < 0 || (status & BMSR_LSTATUS) == 0) in genmii_poll_link()
/linux-3.4.99/drivers/net/bonding/
Dbond_main.c615 return netif_carrier_ok(slave_dev) ? BMSR_LSTATUS : 0; in bond_check_dev_link()
624 return link ? BMSR_LSTATUS : 0; in bond_check_dev_link()
649 return mii->val_out & BMSR_LSTATUS; in bond_check_dev_link()
659 return reporting ? -1 : BMSR_LSTATUS; in bond_check_dev_link()
1770 (bond_check_dev_link(bond, slave_dev, 0) == BMSR_LSTATUS)) { in bond_enslave()
3586 mii->val_out = BMSR_LSTATUS; in bond_do_ioctl()
/linux-3.4.99/drivers/net/ethernet/sis/
Dsis190.c939 } else if ((val & BMSR_LSTATUS) && tp->link_status != LNK_ON) { in sis190_phy_task()
1013 } else if (!(val & BMSR_LSTATUS) && tp->link_status != LNK_AUTONEG) in sis190_phy_task()
1278 if ((status & BMSR_LSTATUS) && in sis190_default_phy()
/linux-3.4.99/drivers/net/ethernet/sun/
Dsunbmac.c539 if (bp->sw_bmsr & BMSR_LSTATUS) { in bigmac_timer()
1060 return (bp->sw_bmsr & BMSR_LSTATUS); in bigmac_get_link()
Dsunhme.c757 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
805 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
2486 return hp->sw_bmsr & BMSR_LSTATUS; in hme_get_link()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dtg3.c4008 if (!(tmp & BMSR_LSTATUS)) { in tg3_phy_copper_begin()
4139 !(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
4151 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
4160 (bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
4168 !(bmsr & BMSR_LSTATUS) && in tg3_setup_copper_phy()
4226 (bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
4231 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()
4301 if ((!tg3_readphy(tp, MII_BMSR, &bmsr) && (bmsr & BMSR_LSTATUS)) || in tg3_setup_copper_phy()
5159 bmsr |= BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
5161 bmsr &= ~BMSR_LSTATUS; in tg3_setup_fiber_mii_phy()
[all …]
Db44.c546 (bmsr & BMSR_LSTATUS)) { in b44_check_phy()
564 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()
Dbnx2.c1565 bmsr |= BMSR_LSTATUS; in bnx2_set_link()
1567 bmsr &= ~BMSR_LSTATUS; in bnx2_set_link()
1570 if (bmsr & BMSR_LSTATUS) { in bnx2_set_link()
2105 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
2122 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
5945 if (bmsr & BMSR_LSTATUS) { in bnx2_test_link()
/linux-3.4.99/drivers/net/cris/
Deth_v10.c696 if (!(data & BMSR_LSTATUS)) { in e100_check_speed()
/linux-3.4.99/drivers/net/ethernet/packetengines/
Dyellowfin.c678 if (bmsr & BMSR_LSTATUS) in yellowfin_timer()
/linux-3.4.99/drivers/net/ethernet/silan/
Dsc92031.c496 if (bmsr & BMSR_LSTATUS) { in _sc92031_check_media()
/linux-3.4.99/drivers/net/ethernet/tundra/
Dtsi108_eth.c1265 BMSR_LSTATUS)) { in tsi108_init_phy()

12