Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Dmii.h49 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
/linux-2.4.37.9/drivers/net/bonding/
Dbond_main.c1094 return netif_carrier_ok(slave_dev) ? BMSR_LSTATUS : 0; in bond_check_dev_link()
1117 return (mii->val_out & BMSR_LSTATUS); in bond_check_dev_link()
1131 return link ? BMSR_LSTATUS : 0; in bond_check_dev_link()
1141 return BMSR_LSTATUS; in bond_check_dev_link()
1155 return (reporting ? -1 : BMSR_LSTATUS); in bond_check_dev_link()
1831 (bond_check_dev_link(bond, slave_dev, 0) == BMSR_LSTATUS)) { in bond_enslave()
2505 if (link_state == BMSR_LSTATUS) { in bond_mii_monitor()
2536 if (link_state != BMSR_LSTATUS) { in bond_mii_monitor()
2586 if (link_state != BMSR_LSTATUS) { in bond_mii_monitor()
2609 if (link_state != BMSR_LSTATUS) { in bond_mii_monitor()
[all …]
/linux-2.4.37.9/drivers/net/
Dsunbmac.h241 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
Dmii.c171 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
Dioc3-eth.c852 if (ip->sw_bmsr & BMSR_LSTATUS) { in ioc3_timer()
902 if (ip->sw_bmsr & BMSR_LSTATUS) { in ioc3_timer()
Dtg3.c1441 if (!(tmp & BMSR_LSTATUS)) { in tg3_phy_copper_begin()
1540 !(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
1552 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
1561 (bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy()
1568 !(bmsr & BMSR_LSTATUS) && in tg3_setup_copper_phy()
1624 (bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy()
1629 if (bmsr & BMSR_LSTATUS) { in tg3_setup_copper_phy()
1711 (tmp & BMSR_LSTATUS)) in tg3_setup_copper_phy()
8134 (bmsr & BMSR_LSTATUS)) in tg3_phy_probe()
Dsungem.c1371 up = (val & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) == (BMSR_ANEGCOMPLETE | BMSR_LSTATUS); in gem_link_timer()
1373 up = (val & BMSR_LSTATUS) != 0; in gem_link_timer()
Db44.c514 (bmsr & BMSR_LSTATUS)) { in b44_check_phy()
532 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()
Dbig_sur_ge.c1121 *linkup = (reg_data & BMSR_LSTATUS) != 0; in big_sur_ge_get_phy_status()
Dsunbmac.c530 if (bp->sw_bmsr & BMSR_LSTATUS) { in bigmac_timer()
Dsunhme.c786 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
834 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
Dyellowfin.c726 if (bmsr & BMSR_LSTATUS) in yellowfin_timer()
Dvia-rhine.c847 if (mii_status & BMSR_LSTATUS) in via_rhine_init_one()
Dstarfire.c1691 if (reg1 & BMSR_LSTATUS) { in netdev_media_change()
Dfealnx.c993 if (mdio_read(dev, np->phys[0], MII_BMSR) & BMSR_LSTATUS) { in getlinkstatus()
Dnatsemi.c2088 edata.data = (mdio_read(dev, 1, MII_BMSR)&BMSR_LSTATUS) ? 1:0; in netdev_ethtool_ioctl()
Dforcedeth.c1743 if (!(mii_status & BMSR_LSTATUS)) { in nv_update_linkspeed()
D3c59x.c1772 if (mii_status & BMSR_LSTATUS) { in vortex_timer()
/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_phy.c145 if ((status & BMSR_LSTATUS) == 0) in genmii_poll_link()
/linux-2.4.37.9/drivers/net/tulip/
Dmedia.c425 if ((bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
427 if ((new_bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
/linux-2.4.37.9/drivers/net/e100/
De100_phy.c973 if (status & BMSR_LSTATUS) { in e100_get_link_state()
/linux-2.4.37.9/drivers/usb/
Dpegasus.c743 if (tmp & BMSR_LSTATUS) in set_carrier()
/linux-2.4.37.9/drivers/net/pcmcia/
Dxircom_tulip_cb.c988 if (reg1 & BMSR_LSTATUS) { in xircom_media_change()