/linux-6.6.21/net/core/ |
D | link_watch.c | 44 if (!netif_carrier_ok(dev)) { in default_operstate() 55 return netif_carrier_ok(peer) ? IF_OPER_DOWN : in default_operstate() 99 if (!netif_carrier_ok(dev) || netif_dormant(dev) || in linkwatch_init_dev() 116 return netif_carrier_ok(dev) && qdisc_tx_changing(dev); in linkwatch_urgent_event() 177 if (netif_carrier_ok(dev)) in linkwatch_do_dev()
|
/linux-6.6.21/Documentation/networking/ |
D | operstates.rst | 118 netif_carrier_ok() can be used to query that bit. 129 to netif_carrier_ok() and !netif_dormant(). 136 !netif_carrier_ok(): 141 netif_carrier_ok() && netif_dormant(): 144 netif_carrier_ok() && !netif_dormant(): 157 netif_carrier_ok() && !netif_dormant() is set by the
|
/linux-6.6.21/drivers/staging/octeon/ |
D | ethernet-rgmii.c | 123 if (!netif_carrier_ok(dev)) in cvm_oct_rgmii_poll() 125 } else if (netif_carrier_ok(dev)) { in cvm_oct_rgmii_poll()
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 295 if (netif_carrier_ok(nic->ndev)) in aq_mdo_dev_open() 467 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_secy() 486 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_secy() 596 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_txsa() 618 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_txsa() 635 if ((clear_type & AQ_CLEAR_HW) && netif_carrier_ok(nic->ndev)) { in aq_clear_txsa() 765 if (netif_carrier_ok(nic->ndev) && netif_running(ctx->secy->netdev)) in aq_mdo_add_rxsc() 786 if (netif_carrier_ok(nic->ndev) && netif_running(ctx->secy->netdev)) in aq_mdo_upd_rxsc() 850 if (netif_carrier_ok(nic->ndev)) in aq_mdo_del_rxsc() 926 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_rxsa() [all …]
|
/linux-6.6.21/net/lapb/ |
D | lapb_iface.c | 477 if (netif_carrier_ok(dev)) { in lapb_device_event() 491 if (netif_carrier_ok(dev)) in lapb_device_event() 504 if (netif_carrier_ok(dev)) { in lapb_device_event()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_selftest.c | 51 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_state() 62 if (!netif_carrier_ok(priv->netdev)) in mlx5e_test_link_speed()
|
/linux-6.6.21/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 158 netif_carrier_ok(netdev)) { in usnic_ib_handle_usdev_event() 167 !netif_carrier_ok(netdev)) { in usnic_ib_handle_usdev_event() 415 if (netif_carrier_ok(us_ibdev->netdev)) in usnic_ib_device_add()
|
/linux-6.6.21/drivers/net/can/dev/ |
D | dev.c | 135 if (netif_carrier_ok(dev)) in can_restart() 400 if (!netif_carrier_ok(dev)) in open_candev()
|
/linux-6.6.21/drivers/net/ethernet/silan/ |
D | sc92031.c | 481 if (netif_carrier_ok(dev) && priv->mc_flags != old_mc_flags) in _sc92031_set_rx_config() 948 if (unlikely(!netif_carrier_ok(dev))) { in sc92031_start_xmit() 1027 if (netif_carrier_ok(dev)) in sc92031_open() 1100 if (netif_carrier_ok(dev)) in sc92031_tx_timeout() 1547 if (netif_carrier_ok(dev)) in sc92031_resume()
|
/linux-6.6.21/drivers/net/wan/ |
D | hdlc_fr.c | 218 if (!netif_carrier_ok(pvc->main)) in pvc_carrier() 221 if (!netif_carrier_ok(pvc->ether)) in pvc_carrier() 225 if (netif_carrier_ok(pvc->main)) in pvc_carrier() 228 if (netif_carrier_ok(pvc->ether)) in pvc_carrier() 334 pvc->state.active = netif_carrier_ok(pvc->frad); in pvc_open()
|
D | hdlc.c | 111 on = netif_carrier_ok(dev); in hdlc_device_event()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 177 carrier_ok = netif_carrier_ok(dev); in mlx4_en_ex_selftest()
|
/linux-6.6.21/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ethtool.c | 189 if (!netif_carrier_ok(netdev)) { in ipoib_get_link_ksettings()
|
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 93 if (netif_carrier_ok(netdev)) { in atlx_check_for_link()
|
/linux-6.6.21/drivers/net/ethernet/google/gve/ |
D | gve_main.c | 1454 if (link_status == netif_carrier_ok(priv->dev)) in gve_handle_link_status() 1474 if (!netif_carrier_ok(priv->dev)) { in gve_set_xdp() 1699 if (netif_carrier_ok(priv->dev)) { in gve_adjust_queues() 1735 if (netif_carrier_ok(priv->dev)) in gve_turndown() 1853 if (netif_carrier_ok(netdev)) { in gve_set_features() 2154 bool was_up = netif_carrier_ok(priv->dev); in gve_reset() 2358 bool was_up = netif_carrier_ok(priv->dev); in gve_shutdown() 2376 bool was_up = netif_carrier_ok(priv->dev); in gve_suspend()
|
/linux-6.6.21/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_xgmac.c | 488 if (!netif_carrier_ok(ndev)) { in xgene_enet_link_state() 496 if (netif_carrier_ok(ndev)) { in xgene_enet_link_state()
|
D | xgene_enet_sgmac.c | 543 if (!netif_carrier_ok(ndev)) { in xgene_enet_link_state() 553 if (netif_carrier_ok(ndev)) { in xgene_enet_link_state()
|
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/ |
D | sta_event.c | 231 if (netif_carrier_ok(priv->netdev)) in mwifiex_reset_connect_state() 708 if (!netif_carrier_ok(priv->netdev)) in mwifiex_process_sta_event() 834 if (netif_carrier_ok(priv->netdev)) in mwifiex_process_sta_event()
|
/linux-6.6.21/drivers/net/ethernet/ibm/ehea/ |
D | ehea_ethtool.c | 33 if (netif_carrier_ok(dev)) { in ehea_get_link_ksettings()
|
/linux-6.6.21/drivers/net/hyperv/ |
D | netvsc_bpf.c | 269 netif_carrier_ok(vf_netdev) && !netpoll_tx_running(ndev) && in netvsc_ndoxdp_xmit()
|
/linux-6.6.21/drivers/net/ |
D | mii.c | 485 int prev_link = netif_carrier_ok(mii->dev); in mii_check_link() 511 old_carrier = netif_carrier_ok(mii->dev) ? 1 : 0; in mii_check_media()
|
D | net_failover.c | 32 return netif_running(dev) && netif_carrier_ok(dev); in net_failover_xmit_ready() 437 if (netif_carrier_ok(slave_dev)) in net_failover_lower_state_changed()
|
/linux-6.6.21/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 900 if (!netif_carrier_ok(de->dev)) { in de_link_up() 909 if (netif_carrier_ok(de->dev)) { in de_link_down() 980 if (!netif_carrier_ok(dev)) in de21040_media_timer() 1067 if (!netif_carrier_ok(dev)) in de21041_media_timer() 1175 if (netif_carrier_ok(de->dev) && de->media_type != DE_MEDIA_AUI && in de_media_interrupt() 1679 if (netif_carrier_ok(de->dev)) in de_nway_reset()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | u_ether.c | 431 if (netif_carrier_ok(dev->net)) in tx_complete() 620 if (netif_carrier_ok(dev->net)) in eth_open() 668 if (netif_carrier_ok(net)) { in eth_stop()
|
/linux-6.6.21/net/bridge/ |
D | br_forward.c | 151 if (rcu_access_pointer(to->backup_port) && !netif_carrier_ok(to->dev)) { in br_forward()
|