Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/net/core/
Dlink_watch.c42 if (!netif_carrier_ok(dev)) in default_operstate()
82 if (!netif_carrier_ok(dev) || netif_dormant(dev)) in linkwatch_init_dev()
98 return netif_carrier_ok(dev) && qdisc_tx_changing(dev); in linkwatch_urgent_event()
159 if (netif_carrier_ok(dev)) in linkwatch_do_dev()
/Linux-v4.19/Documentation/networking/
Doperstates.txt95 netif_carrier_ok() can be used to query that bit.
105 netif_carrier_ok() and !netif_dormant().
112 !netif_carrier_ok():
117 netif_carrier_ok() && netif_dormant():
120 netif_carrier_ok() && !netif_dormant():
132 netif_carrier_ok() && !netif_dormant() is set by the
/Linux-v4.19/drivers/staging/octeon/
Dethernet-rgmii.c131 if (!netif_carrier_ok(dev)) in cvm_oct_rgmii_poll()
133 } else if (netif_carrier_ok(dev)) { in cvm_oct_rgmii_poll()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_selftest.c74 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_state()
87 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_speed()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_sysfs.c59 bool is_up = netif_running(ndev) && netif_carrier_ok(ndev); in rxe_set_port_state()
/Linux-v4.19/drivers/leds/trigger/
Dledtrig-netdev.c135 if (netif_carrier_ok(trigger_data->net_dev)) in device_name_store()
332 if (netif_carrier_ok(dev)) in netdev_trig_notify()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c152 netif_carrier_ok(netdev)) { in usnic_ib_handle_usdev_event()
160 !netif_carrier_ok(netdev)) { in usnic_ib_handle_usdev_event()
424 if (netif_carrier_ok(us_ibdev->netdev)) in usnic_ib_device_add()
/Linux-v4.19/drivers/net/wan/
Dhdlc_fr.c232 if (!netif_carrier_ok(pvc->main)) in pvc_carrier()
235 if (!netif_carrier_ok(pvc->ether)) in pvc_carrier()
239 if (netif_carrier_ok(pvc->main)) in pvc_carrier()
242 if (netif_carrier_ok(pvc->ether)) in pvc_carrier()
355 pvc->state.active = netif_carrier_ok(pvc->frad); in pvc_open()
Dhdlc.c108 on = netif_carrier_ok(dev); in hdlc_device_event()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_selftest.c177 carrier_ok = netif_carrier_ok(dev); in mlx4_en_ex_selftest()
/Linux-v4.19/drivers/net/usb/
Dr8152.c1275 if (!netif_carrier_ok(netdev)) in read_bulk_callback()
1343 if (!netif_carrier_ok(netdev)) in write_bulk_callback()
1396 if (!netif_carrier_ok(tp->netdev)) { in intr_callback()
1401 if (netif_carrier_ok(tp->netdev)) { in intr_callback()
2034 if (!netif_carrier_ok(tp->netdev)) in bottom_half()
2071 !test_bit(WORK_ENABLE, &tp->flags) || !netif_carrier_ok(tp->netdev)) in r8152_submit_rx()
2133 if (netif_carrier_ok(netdev)) { in rtl8152_set_rx_mode()
3800 if (!netif_carrier_ok(netdev)) { in set_carrier()
3816 if (netif_carrier_ok(netdev)) { in set_carrier()
3855 netif_carrier_ok(tp->netdev)) in rtl_work_func_t()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c186 if (!netif_carrier_ok(netdev)) { in ipoib_get_link_ksettings()
/Linux-v4.19/drivers/net/ethernet/silan/
Dsc92031.c482 if (netif_carrier_ok(dev) && priv->mc_flags != old_mc_flags) in _sc92031_set_rx_config()
951 if (unlikely(!netif_carrier_ok(dev))) { in sc92031_start_xmit()
1032 if (netif_carrier_ok(dev)) in sc92031_open()
1108 if (netif_carrier_ok(dev)) in sc92031_tx_timeout()
1565 if (netif_carrier_ok(dev)) in sc92031_resume()
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datlx.c106 if (netif_carrier_ok(netdev)) { in atlx_check_for_link()
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c500 if (!netif_carrier_ok(ndev)) { in xgene_enet_link_state()
508 if (netif_carrier_ok(ndev)) { in xgene_enet_link_state()
Dxgene_enet_sgmac.c553 if (!netif_carrier_ok(ndev)) { in xgene_enet_link_state()
563 if (netif_carrier_ok(ndev)) { in xgene_enet_link_state()
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c242 if (netif_carrier_ok(priv->netdev)) in mwifiex_reset_connect_state()
717 if (!netif_carrier_ok(priv->netdev)) in mwifiex_process_sta_event()
843 if (netif_carrier_ok(priv->netdev)) in mwifiex_process_sta_event()
/Linux-v4.19/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c47 if (netif_carrier_ok(dev)) { in ehea_get_link_ksettings()
/Linux-v4.19/drivers/net/
Dmii.c487 int prev_link = netif_carrier_ok(mii->dev); in mii_check_link()
513 old_carrier = netif_carrier_ok(mii->dev) ? 1 : 0; in mii_check_media()
Dnet_failover.c33 return netif_running(dev) && netif_carrier_ok(dev); in net_failover_xmit_ready()
443 if (netif_carrier_ok(slave_dev)) in net_failover_lower_state_changed()
Dxen-netfront.c289 if (unlikely(!netif_carrier_ok(queue->info->netdev))) in xennet_alloc_rx_buffers()
362 if (netif_carrier_ok(dev)) { in xennet_open()
383 BUG_ON(!netif_carrier_ok(queue->info->netdev)); in xennet_tx_buf_gc()
630 if (unlikely(!netif_carrier_ok(dev) || in xennet_start_xmit()
1240 if (likely(netif_carrier_ok(dev) && in xennet_rx_interrupt()
/Linux-v4.19/drivers/usb/gadget/function/
Du_ether.c461 if (netif_carrier_ok(dev->net)) in tx_complete()
626 if (netif_carrier_ok(dev->net)) in eth_open()
674 if (netif_carrier_ok(net)) { in eth_stop()
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dde2104x.c898 if (!netif_carrier_ok(de->dev)) { in de_link_up()
907 if (netif_carrier_ok(de->dev)) { in de_link_down()
978 if (!netif_carrier_ok(dev)) in de21040_media_timer()
1065 if (!netif_carrier_ok(dev)) in de21041_media_timer()
1173 if (netif_carrier_ok(de->dev) && de->media_type != DE_MEDIA_AUI && in de_media_interrupt()
1673 if (netif_carrier_ok(de->dev)) in de_nway_reset()
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c139 if (!netif_carrier_ok(self->ndev) && self->link_status.mbps) { in aq_nic_update_link_status()
147 if (netif_carrier_ok(self->ndev) && !self->link_status.mbps) { in aq_nic_update_link_status()
174 if (!netif_carrier_ok(self->ndev)) in aq_nic_service_timer_cb()
/Linux-v4.19/net/bridge/
Dbr_forward.c149 if (rcu_access_pointer(to->backup_port) && !netif_carrier_ok(to->dev)) { in br_forward()

12345678