/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 147 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/ |
D | mdio.h | 93 #define MDIO_STAT1_LSTATUS BMSR_LSTATUS
|
D | mii.h | 53 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
|
/linux-3.4.99/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 105 if (!(phy_data & BMSR_LSTATUS)) { in atlx_check_for_link()
|
D | atl2.c | 582 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/ |
D | fixed.c | 99 bmsr |= BMSR_LSTATUS | BMSR_ANEGCOMPLETE; in fixed_phy_update_regs()
|
D | phy_device.c | 720 if ((status & BMSR_LSTATUS) == 0) in genphy_update_link()
|
/linux-3.4.99/drivers/net/ethernet/dec/tulip/ |
D | media.c | 415 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/ |
D | atl1c_hw.c | 607 if (phy_data & BMSR_LSTATUS) { in atl1c_phy_power_saving() 632 if (phy_data & BMSR_LSTATUS) { in atl1c_phy_power_saving()
|
D | atl1c_main.c | 262 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/ |
D | mii.c | 257 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
|
D | sungem_phy.c | 383 if ((status & BMSR_LSTATUS) == 0) in genmii_poll_link()
|
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 173 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/ |
D | phy.c | 212 if (status < 0 || (status & BMSR_LSTATUS) == 0) in genmii_poll_link()
|
/linux-3.4.99/drivers/net/bonding/ |
D | bond_main.c | 615 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/ |
D | sis190.c | 939 } 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/ |
D | sunbmac.c | 539 if (bp->sw_bmsr & BMSR_LSTATUS) { in bigmac_timer() 1060 return (bp->sw_bmsr & BMSR_LSTATUS); in bigmac_get_link()
|
D | sunhme.c | 757 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/ |
D | tg3.c | 4008 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 …]
|
D | b44.c | 546 (bmsr & BMSR_LSTATUS)) { in b44_check_phy() 564 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()
|
D | bnx2.c | 1565 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/ |
D | eth_v10.c | 696 if (!(data & BMSR_LSTATUS)) { in e100_check_speed()
|
/linux-3.4.99/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 678 if (bmsr & BMSR_LSTATUS) in yellowfin_timer()
|
/linux-3.4.99/drivers/net/ethernet/silan/ |
D | sc92031.c | 496 if (bmsr & BMSR_LSTATUS) { in _sc92031_check_media()
|
/linux-3.4.99/drivers/net/ethernet/tundra/ |
D | tsi108_eth.c | 1265 BMSR_LSTATUS)) { in tsi108_init_phy()
|