Home
last modified time | relevance | path

Searched refs:netif_running (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_xdp.c13 bool if_running = netif_running(dev); in igc_xdp_set_prog()
68 needs_reset = netif_running(adapter->netdev) && igc_xdp_is_enabled(adapter); in igc_xdp_enable_pool()
114 needs_reset = netif_running(adapter->netdev) && igc_xdp_is_enabled(adapter); in igc_xdp_disable_pool()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c34 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_enable_pool()
72 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_disable_pool()
110 if_running = netif_running(dev); in stmmac_xdp_set_prog()
/Linux-v5.15/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c163 if (netif_running(netdev)) in emac_set_ringparam()
188 if (netif_running(netdev)) in emac_set_pauseparam()
239 if (netif_running(netdev)) in emac_set_priv_flags()
/Linux-v5.15/drivers/staging/rtl8192e/rtl8192e/
Drtl_pm.c24 if (!netif_running(dev)) { in rtl92e_suspend()
75 if (!netif_running(dev)) { in rtl92e_resume()
/Linux-v5.15/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c143 if (netif_running(adapter->netdev)) { in pch_gbe_set_link_ksettings()
309 if ((netif_running(adapter->netdev))) in pch_gbe_set_ringparam()
335 if ((netif_running(adapter->netdev))) { in pch_gbe_set_ringparam()
362 if (netif_running(adapter->netdev)) in pch_gbe_set_ringparam()
417 if ((netif_running(adapter->netdev))) { in pch_gbe_set_pauseparam()
/Linux-v5.15/drivers/net/wireless/marvell/libertas/
Ddev.h205 r = netif_running(priv->dev); in lbs_iface_active()
207 r |= netif_running(priv->mesh_dev); in lbs_iface_active()
/Linux-v5.15/drivers/net/hamradio/
Dyam.c641 if (dev && netif_running(dev)) in yam_dotimer()
741 if (!netif_running(dev)) in yam_interrupt()
802 seq_printf(seq, " Up %d\n", netif_running(dev)); in yam_seq_show()
948 if (netif_running(dev)) in yam_siocdevprivate()
972 if ((yi.cfg.mask & YAM_IOBASE) && netif_running(dev)) in yam_siocdevprivate()
974 if ((yi.cfg.mask & YAM_IRQ) && netif_running(dev)) in yam_siocdevprivate()
976 if ((yi.cfg.mask & YAM_BITRATE) && netif_running(dev)) in yam_siocdevprivate()
978 if ((yi.cfg.mask & YAM_BAUDRATE) && netif_running(dev)) in yam_siocdevprivate()
/Linux-v5.15/drivers/net/wireguard/
Dtimers.c35 if (likely(netif_running(peer->device->dev) && in mod_peer_timer()
156 if (likely(netif_running(peer->device->dev))) { in wg_timers_data_received()
/Linux-v5.15/drivers/net/
Dnet_failover.c32 return netif_running(dev) && netif_carrier_ok(dev); in net_failover_xmit_ready()
447 if (netif_running(primary_dev)) in net_failover_lower_state_changed()
452 if ((primary_dev && netif_running(primary_dev)) || in net_failover_lower_state_changed()
453 (!netif_running(standby_dev))) in net_failover_lower_state_changed()
518 if (netif_running(failover_dev)) { in net_failover_slave_register()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c277 bool if_up = netif_running(dev); in otx2_set_channels()
371 bool if_up = netif_running(netdev); in otx2_set_ringparam()
477 if (netif_running(netdev)) { in otx2_set_coalesce()
656 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
662 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
666 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
688 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
692 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
/Linux-v5.15/net/core/
Dfailover.c149 if (!netif_running(failover_dev)) in failover_slave_link_change()
174 if (!netif_running(failover_dev)) in failover_slave_name_change()
Dnetpoll.c112 if (!netif_device_present(dev) || !netif_running(dev)) { in queue_process()
186 if (!netif_running(dev)) { in netpoll_poll_dev()
322 if (!npinfo || !netif_running(dev) || !netif_device_present(dev)) { in __netpoll_send_skb()
684 if (!netif_running(ndev)) { in netpoll_setup()
/Linux-v5.15/drivers/net/ethernet/qualcomm/
Dqca_debug.c270 if (netif_running(dev)) in qcaspi_set_ringparam()
276 if (netif_running(dev)) in qcaspi_set_ringparam()
/Linux-v5.15/net/bridge/
Dbr_if.c70 netif_running(dev) && netif_oper_up(dev)) in br_port_carrier_check()
74 if (!netif_running(br->dev)) in br_port_carrier_check()
78 if (netif_running(dev) && netif_oper_up(dev)) { in br_port_carrier_check()
694 if (netif_running(dev) && netif_oper_up(dev) && in br_add_if()
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c476 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_secy()
498 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_secy()
613 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_txsa()
638 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_txsa()
791 if (netif_carrier_ok(nic->ndev) && netif_running(ctx->secy->netdev)) in aq_mdo_add_rxsc()
815 if (netif_carrier_ok(nic->ndev) && netif_running(ctx->secy->netdev)) in aq_mdo_upd_rxsc()
960 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_rxsa()
984 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_rxsa()
1234 if (!netif_running(secy->netdev)) in apply_txsc_cfg()
1262 if (!netif_running(secy->netdev)) in apply_rxsc_cfg()
[all …]
/Linux-v5.15/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c122 if (netif_running(dev) && adapter->has_link_events) { in netxen_nic_get_link_ksettings()
183 check_sfp_module = netif_running(dev) && in netxen_nic_get_link_ksettings()
200 check_sfp_module = netif_running(dev) && in netxen_nic_get_link_ksettings()
233 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
271 if (!netif_running(dev)) in netxen_nic_set_link_ksettings()
/Linux-v5.15/drivers/net/ethernet/micrel/
Dks8851_common.c150 if (!netif_running(dev)) in ks8851_write_mac_addr()
669 if (netif_running(dev)) in ks8851_set_mac_address()
683 if (!netif_running(dev)) in ks8851_net_ioctl()
1053 if (netif_running(netdev)) { in ks8851_suspend()
1067 if (netif_running(netdev)) { in ks8851_resume()
/Linux-v5.15/drivers/net/ethernet/nvidia/
Dforcedeth.c3108 if (netif_running(dev)) { in nv_change_mtu()
3180 if (netif_running(dev)) { in nv_set_mac_address()
3400 if (netif_running(dev)) { in nv_update_linkspeed()
3560 if (netif_running(dev) && (np->duplex != 0)) { in nv_update_linkspeed()
4197 if (netif_running(dev)) { in nv_do_nic_poll()
4322 if (netif_running(dev)) { in nv_set_wol()
4340 if (!netif_running(dev)) { in nv_get_link_ksettings()
4454 if (netif_running(dev)) { in nv_set_link_ksettings()
4507 if (netif_running(dev)) in nv_set_link_ksettings()
4569 if (netif_running(dev)) { in nv_set_link_ksettings()
[all …]
/Linux-v5.15/net/rose/
Drose_dev.c102 if (!netif_running(dev)) { in rose_xmit()
/Linux-v5.15/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c155 if (netif_running(netdev)) { in uec_set_pauseparam()
251 if (netif_running(netdev)) in uec_set_ringparam()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c102 if (netif_running(bp->dev)) { in bnxt_vf_rep_open()
274 if (netif_running(vf_rep->dev)) in bnxt_vf_reps_close()
352 if (netif_running(bp->dev)) { in bnxt_vf_reps_destroy()
/Linux-v5.15/drivers/net/can/
Dslcan.c318 if (!sl->tty || sl->magic != SLCAN_MAGIC || !netif_running(sl->dev)) { in slcan_transmit()
363 if (!netif_running(dev)) { in slc_xmit()
475 if (!sl || sl->magic != SLCAN_MAGIC || !netif_running(sl->dev)) in slcan_receive_buf()
/Linux-v5.15/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c120 if (netif_running(adapter->netdev)) { in ixgb_set_link_ksettings()
169 if (netif_running(adapter->netdev)) { in ixgb_set_pauseparam()
495 if (netif_running(adapter->netdev)) in ixgb_set_ringparam()
506 if (netif_running(adapter->netdev)) { in ixgb_set_ringparam()
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c101 if (netif_running(dev)) in fm10k_dcbnl_ieee_setpfc()
/Linux-v5.15/drivers/net/ethernet/ti/
Ddavinci_emac.c557 if (netif_running(ndev) && netif_queue_stopped(ndev)) in emac_update_phystatus()
854 if (likely(netif_running(priv->ndev))) { in emac_irq()
881 if (unlikely(!netif_running(ndev))) { in emac_rx_handler()
1138 if (netif_running(ndev)) { in emac_dev_setmac_addr()
1372 if (!(netif_running(ndev))) in emac_devioctl()
1997 if (netif_running(ndev)) in davinci_emac_suspend()
2007 if (netif_running(ndev)) in davinci_emac_resume()

12345678910>>...18