Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/intel/igc/
Digc_xdp.c14 bool if_running = netif_running(dev); in igc_xdp_set_prog()
69 needs_reset = netif_running(adapter->netdev) && igc_xdp_is_enabled(adapter); in igc_xdp_enable_pool()
115 needs_reset = netif_running(adapter->netdev) && igc_xdp_is_enabled(adapter); in igc_xdp_disable_pool()
/linux-6.1.9/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c167 if (netif_running(netdev)) in emac_set_ringparam()
192 if (netif_running(netdev)) in emac_set_pauseparam()
243 if (netif_running(netdev)) in emac_set_priv_flags()
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_pm.c24 if (!netif_running(dev)) { in rtl92e_suspend()
75 if (!netif_running(dev)) { in rtl92e_resume()
/linux-6.1.9/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c143 if (netif_running(adapter->netdev)) { in pch_gbe_set_link_ksettings()
317 if ((netif_running(adapter->netdev))) in pch_gbe_set_ringparam()
343 if ((netif_running(adapter->netdev))) { in pch_gbe_set_ringparam()
370 if (netif_running(adapter->netdev)) in pch_gbe_set_ringparam()
425 if ((netif_running(adapter->netdev))) { in pch_gbe_set_pauseparam()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ethtool.c45 netif_running(ndev)) in mcp251xfd_ring_set_ringparam()
104 netif_running(ndev)) in mcp251xfd_ring_set_coalesce()
/linux-6.1.9/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-6.1.9/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()
970 if ((yi.cfg.mask & YAM_IOBASE) && netif_running(dev)) in yam_siocdevprivate()
972 if ((yi.cfg.mask & YAM_IRQ) && netif_running(dev)) in yam_siocdevprivate()
974 if ((yi.cfg.mask & YAM_BITRATE) && netif_running(dev)) in yam_siocdevprivate()
976 if ((yi.cfg.mask & YAM_BAUDRATE) && netif_running(dev)) in yam_siocdevprivate()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/qualcomm/
Dqca_debug.c274 if (netif_running(dev)) in qcaspi_set_ringparam()
280 if (netif_running(dev)) in qcaspi_set_ringparam()
Dqca_uart.c136 if (!netif_running(qca->net_dev)) { in qcauart_transmit()
211 if (!netif_running(dev)) { in qcauart_netdev_xmit()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c150 bool if_up = netif_running(dev); in otx2_pfc_update_sq_smq_mapping()
206 bool if_up = netif_running(pfvf->netdev); in otx2_pfc_txschq_update()
335 bool if_up = netif_running(pfvf->netdev); in otx2_update_bpid_in_rqctx()
Dotx2_ethtool.c284 bool if_up = netif_running(dev); in otx2_set_channels()
387 bool if_up = netif_running(netdev); in otx2_set_ringparam()
550 if (netif_running(netdev)) { in otx2_set_coalesce()
729 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
735 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
739 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
761 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
765 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
/linux-6.1.9/net/bridge/
Dbr_if.c79 netif_running(dev) && netif_oper_up(dev)) in br_port_carrier_check()
83 if (!netif_running(br->dev)) in br_port_carrier_check()
87 if (netif_running(dev) && netif_oper_up(dev)) { in br_port_carrier_check()
684 if (netif_running(dev) && netif_oper_up(dev) && in br_add_if()
/linux-6.1.9/drivers/net/can/slcan/
Dslcan-core.c121 if (netif_running(ndev)) in slcan_enable_err_rst_on_open()
550 if (unlikely(!netif_running(sl->dev)) && in slcan_transmit()
601 if (!netif_running(dev)) { in slcan_netdev_xmit()
783 if (!netif_running(sl->dev)) in slcan_receive_buf()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c467 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()
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()
926 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_rxsa()
947 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_rxsa()
1179 if (!netif_running(secy->netdev)) in apply_txsc_cfg()
1207 if (!netif_running(secy->netdev)) in apply_rxsc_cfg()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c481 if (netif_running(bp->dev)) { in bnxt_dl_reload_down()
494 if (netif_running(bp->dev)) in bnxt_dl_reload_down()
522 if (netif_running(bp->dev)) in bnxt_dl_reload_down()
555 if (netif_running(bp->dev)) in bnxt_dl_reload_up()
572 if (!netif_running(bp->dev)) in bnxt_dl_reload_up()
601 if (netif_running(bp->dev)) { in bnxt_dl_reload_up()
607 } else if (netif_running(bp->dev)) { in bnxt_dl_reload_up()
/linux-6.1.9/drivers/net/ethernet/micrel/
Dks8851_common.c149 if (!netif_running(dev)) in ks8851_write_mac_addr()
670 if (netif_running(dev)) in ks8851_set_mac_address()
684 if (!netif_running(dev)) in ks8851_net_ioctl()
1054 if (netif_running(netdev)) { in ks8851_suspend()
1068 if (netif_running(netdev)) { in ks8851_resume()
/linux-6.1.9/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-6.1.9/drivers/net/can/flexcan/
Dflexcan-ethtool.c80 if (quirks != priv->devtype_data.quirks && netif_running(ndev)) in flexcan_set_priv_flags()
/linux-6.1.9/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-6.1.9/net/rose/
Drose_dev.c102 if (!netif_running(dev)) { in rose_xmit()
/linux-6.1.9/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c155 if (netif_running(netdev)) { in uec_set_pauseparam()
255 if (netif_running(netdev)) in uec_set_ringparam()

12345678910>>...19