/Linux-v4.19/net/core/ |
D | link_watch.c | 42 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/ |
D | operstates.txt | 95 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/ |
D | ethernet-rgmii.c | 131 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/ |
D | en_selftest.c | 74 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/ |
D | rxe_sysfs.c | 59 bool is_up = netif_running(ndev) && netif_carrier_ok(ndev); in rxe_set_port_state()
|
/Linux-v4.19/drivers/leds/trigger/ |
D | ledtrig-netdev.c | 135 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/ |
D | usnic_ib_main.c | 152 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/ |
D | hdlc_fr.c | 232 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()
|
D | hdlc.c | 108 on = netif_carrier_ok(dev); in hdlc_device_event()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 177 carrier_ok = netif_carrier_ok(dev); in mlx4_en_ex_selftest()
|
/Linux-v4.19/drivers/net/usb/ |
D | r8152.c | 1275 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/ |
D | ipoib_ethtool.c | 186 if (!netif_carrier_ok(netdev)) { in ipoib_get_link_ksettings()
|
/Linux-v4.19/drivers/net/ethernet/silan/ |
D | sc92031.c | 482 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/ |
D | atlx.c | 106 if (netif_carrier_ok(netdev)) { in atlx_check_for_link()
|
/Linux-v4.19/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_xgmac.c | 500 if (!netif_carrier_ok(ndev)) { in xgene_enet_link_state() 508 if (netif_carrier_ok(ndev)) { in xgene_enet_link_state()
|
D | xgene_enet_sgmac.c | 553 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/ |
D | sta_event.c | 242 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/ |
D | ehea_ethtool.c | 47 if (netif_carrier_ok(dev)) { in ehea_get_link_ksettings()
|
/Linux-v4.19/drivers/net/ |
D | mii.c | 487 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()
|
D | net_failover.c | 33 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()
|
D | xen-netfront.c | 289 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/ |
D | u_ether.c | 461 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/ |
D | de2104x.c | 898 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/ |
D | aq_nic.c | 139 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/ |
D | br_forward.c | 149 if (rcu_access_pointer(to->backup_port) && !netif_carrier_ok(to->dev)) { in br_forward()
|