Home
last modified time | relevance | path

Searched refs:netif_carrier_ok (Results 1 – 25 of 32) sorted by relevance

12

/linux-2.4.37.9/drivers/net/e100/
De100_phy.c323 if (netif_carrier_ok(bdp->device)) { in e100_phy_fix_squelch()
417 if (!netif_carrier_ok(bdp->device)) { in e100_fix_polarity()
735 if (!netif_carrier_ok(bdp->device) || (bdp->flags & DF_SPEED_FORCED) || in e100_set_fc()
785 old_link = netif_carrier_ok(bdp->device) ? 1 : 0; in e100_phy_check()
788 if (!old_link && netif_carrier_ok(bdp->device)) { in e100_phy_check()
793 if (old_link && !netif_carrier_ok(bdp->device)) { in e100_phy_check()
1005 if (!netif_carrier_ok(bdp->device)) in e100_update_link_state()
1008 if (netif_carrier_ok(bdp->device)) in e100_update_link_state()
1065 !netif_carrier_ok(bdp->device)) { in e100_handle_zlock()
De100_main.c1866 if (netif_carrier_ok(dev)) { in e100_watchdog()
1884 if (netif_carrier_ok(dev)) { in e100_watchdog()
2687 if (netif_running(bdp->device) && netif_carrier_ok(bdp->device)) in e100_exec_non_cu_cmd()
3406 if (netif_carrier_ok(bdp->device)) { in e100_ethtool_get_settings()
/linux-2.4.37.9/drivers/net/
Dmii.c196 int prev_link = netif_carrier_ok(mii->dev); in mii_check_link()
216 old_carrier = netif_carrier_ok(mii->dev) ? 1 : 0; in mii_check_media()
Db44.c481 if (!netif_carrier_ok(bp->dev)) { in b44_link_report()
513 if (!netif_carrier_ok(bp->dev) && in b44_check_phy()
532 } else if (netif_carrier_ok(bp->dev) && !(bmsr & BMSR_LSTATUS)) { in b44_check_phy()
1529 edata.data = netif_carrier_ok(bp->dev) ? 1 : 0; in b44_ethtool_ioctl()
Dtg3.c1203 if (!netif_carrier_ok(tp->dev)) { in tg3_link_report()
1537 netif_carrier_ok(tp->dev)) { in tg3_setup_copper_phy()
1776 if (current_link_up != netif_carrier_ok(tp->dev)) { in tg3_setup_copper_phy()
2392 netif_carrier_ok(tp->dev) && in tg3_setup_fiber_phy()
2471 if (current_link_up != netif_carrier_ok(tp->dev)) { in tg3_setup_fiber_phy()
2513 if (netif_carrier_ok(tp->dev)) { in tg3_setup_phy()
5106 if (!netif_carrier_ok(tp->dev)) in tg3_set_coalesce()
5740 if (!netif_carrier_ok(tp->dev)) in tg3_periodic_fetch_stats()
5827 if (netif_carrier_ok(tp->dev) && in tg3_timer()
5831 if (! netif_carrier_ok(tp->dev) && in tg3_timer()
Dwinbond-840.c742 if (netif_carrier_ok(dev)) { in update_link()
750 if (!netif_carrier_ok(dev)) { in update_link()
Dsis900.c1131 if (netif_carrier_ok(net_dev)) { in sis630_set_eq()
1215 if (!netif_carrier_ok(net_dev)) { in sis900_timer()
Dnatsemi.c1194 if (netif_carrier_ok(dev)) { in check_link()
1203 if (!netif_carrier_ok(dev)) { in check_link()
Dbig_sur_ge.c1155 netif_carrier = netif_carrier_ok(netdev) != 0; in big_sur_ge_poll_mii()
Dforcedeth.c1865 if (!netif_carrier_ok(dev)) { in nv_linkchange()
1871 if (netif_carrier_ok(dev)) { in nv_linkchange()
Dskge.c971 if (netif_carrier_ok(dev)) in bcom_check_link()
1018 if (!netif_carrier_ok(dev)) in bcom_check_link()
/linux-2.4.37.9/drivers/net/bonding/
Dbonding.h57 netif_carrier_ok(dev))
/linux-2.4.37.9/drivers/net/wan/
Dfarsync.c1098 if (netif_carrier_ok(port_to_dev(port))) { in fst_intr_te1_alarm()
1106 if (!netif_carrier_ok(port_to_dev(port))) { in fst_intr_te1_alarm()
1138 if (!netif_carrier_ok(port_to_dev(port))) { in fst_intr_ctlchg()
1143 if (netif_carrier_ok(port_to_dev(port))) { in fst_intr_ctlchg()
2308 if (!netif_carrier_ok(dev)) { in fst_start_xmit()
/linux-2.4.37.9/net/sched/
Dsch_generic.c152 netif_carrier_ok(dev)) { in dev_watchdog()
/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_enet.c864 if (netif_carrier_ok(fep->ndev)) in emac_reset_configure()
965 if (link == netif_carrier_ok(fep->ndev)) { in emac_link_timer()
1090 edata.data = netif_carrier_ok(dev); in emac_ethtool()
/linux-2.4.37.9/drivers/usb/gadget/
Dether.c1591 *(u8 *)req->buf = netif_carrier_ok (dev->net) ? 1 : 0; in eth_setup()
1999 if (netif_carrier_ok (dev->net)) in tx_complete()
2190 if (netif_carrier_ok (dev->net)) in eth_open()
2211 if (netif_carrier_ok (dev->net)) { in eth_stop()
/linux-2.4.37.9/net/core/
Drtnetlink.c170 if (!netif_running(dev) || !netif_carrier_ok(dev)) in rtnetlink_fill_ifinfo()
Dethtool.c27 return netif_carrier_ok(dev) ? 1 : 0; in ethtool_op_get_link()
/linux-2.4.37.9/include/linux/
Dnetdevice.h659 static inline int netif_carrier_ok(struct net_device *dev) in netif_carrier_ok() function
/linux-2.4.37.9/drivers/net/e1000/
De1000_main.c2585 if (!netif_carrier_ok(netdev)) {
2648 if (netif_carrier_ok(netdev)) {
2683 if (!netif_carrier_ok(netdev)) {
3649 if (netif_carrier_ok(netdev) &&
3752 if (!netif_carrier_ok(poll_dev))
3841 if (unlikely(cleaned && netif_carrier_ok(netdev) &&
/linux-2.4.37.9/drivers/usb/
Drtl8150.c637 edata.data = netif_carrier_ok(netdev); in rtl8150_ethtool_ioctl()
Dcatc.c704 edata.data = netif_carrier_ok(dev); in netdev_ethtool_ioctl()
DCDCEther.c477 edata.data = netif_carrier_ok(netdev); in netdev_ethtool_ioctl()
Dpegasus.c964 edata.data = netif_carrier_ok(net); in pegasus_ethtool_ioctl()
/linux-2.4.37.9/Documentation/networking/
Dbonding.txt391 ioctls vs. netif_carrier_ok() to determine the link status.
394 netif_carrier_ok() relies on the device driver to maintain its
405 A value of 1 enables the use of netif_carrier_ok(), a value of

12