Searched refs:BMSR_LSTATUS (Results 1 – 23 of 23) sorted by relevance
49 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
1094 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 …]
241 #define BMSR_LSTATUS 0x0004 /* Link status */ macro
171 if (mii->mdio_read(mii->dev, mii->phy_id, MII_BMSR) & BMSR_LSTATUS) in mii_link_ok()
852 if (ip->sw_bmsr & BMSR_LSTATUS) { in ioc3_timer()902 if (ip->sw_bmsr & BMSR_LSTATUS) { in ioc3_timer()
1441 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()
1371 up = (val & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) == (BMSR_ANEGCOMPLETE | BMSR_LSTATUS); in gem_link_timer()1373 up = (val & BMSR_LSTATUS) != 0; in gem_link_timer()
514 (bmsr & BMSR_LSTATUS)) { in b44_check_phy()532 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()
1121 *linkup = (reg_data & BMSR_LSTATUS) != 0; in big_sur_ge_get_phy_status()
530 if (bp->sw_bmsr & BMSR_LSTATUS) { in bigmac_timer()
786 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()834 if (hp->sw_bmsr & BMSR_LSTATUS) { in happy_meal_timer()
726 if (bmsr & BMSR_LSTATUS) in yellowfin_timer()
847 if (mii_status & BMSR_LSTATUS) in via_rhine_init_one()
1691 if (reg1 & BMSR_LSTATUS) { in netdev_media_change()
993 if (mdio_read(dev, np->phys[0], MII_BMSR) & BMSR_LSTATUS) { in getlinkstatus()
2088 edata.data = (mdio_read(dev, 1, MII_BMSR)&BMSR_LSTATUS) ? 1:0; in netdev_ethtool_ioctl()
1743 if (!(mii_status & BMSR_LSTATUS)) { in nv_update_linkspeed()
1772 if (mii_status & BMSR_LSTATUS) { in vortex_timer()
145 if ((status & BMSR_LSTATUS) == 0) in genmii_poll_link()
425 if ((bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()427 if ((new_bmsr & BMSR_LSTATUS) == 0) { in tulip_check_duplex()
973 if (status & BMSR_LSTATUS) { in e100_get_link_state()
743 if (tmp & BMSR_LSTATUS) in set_carrier()
988 if (reg1 & BMSR_LSTATUS) { in xircom_media_change()