Home
last modified time | relevance | path

Searched refs:need_update (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_xdp.c13 bool need_update; in stmmac_xdp_enable_pool() local
34 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_enable_pool()
36 if (need_update) { in stmmac_xdp_enable_pool()
45 if (need_update) { in stmmac_xdp_enable_pool()
62 bool need_update; in stmmac_xdp_disable_pool() local
72 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_disable_pool()
74 if (need_update) { in stmmac_xdp_disable_pool()
85 if (need_update) { in stmmac_xdp_disable_pool()
107 bool need_update; in stmmac_xdp_set_prog() local
123 need_update = !!priv->xdp_prog != !!prog; in stmmac_xdp_set_prog()
[all …]
/linux/sound/pci/ctxfi/
H A Dcttimer.c41 unsigned int need_update:1; member
206 ti->need_update = 1; in ct_xfitimer_reprogram()
215 if (ti->need_update && !can_update) in ct_xfitimer_reprogram()
236 if (ti->running && ti->need_update) { in ct_xfitimer_check_period()
237 ti->need_update = 0; in ct_xfitimer_check_period()
267 ti->need_update = 0; in ct_xfitimer_prepare()
298 ti->need_update = 0; in ct_xfitimer_start()
/linux/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c63 bool need_update = true; in rcar_gen2_timer_init() local
75 need_update = false; in rcar_gen2_timer_init()
78 if (need_update == false) in rcar_gen2_timer_init()
/linux/drivers/nfc/s3fwrn5/
H A Dcore.c40 bool need_update; in s3fwrn5_firmware_update() local
52 need_update = s3fwrn5_fw_check_version(&info->fw_info, in s3fwrn5_firmware_update()
54 if (!need_update) in s3fwrn5_firmware_update()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_main.c448 bool need_update, running = netif_running(ndev); in aq_xdp_setup() local
466 need_update = !!aq_nic->xdp_prog != !!prog; in aq_xdp_setup()
467 if (running && need_update) in aq_xdp_setup()
479 if (running && need_update) in aq_xdp_setup()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c43 bool need_update; in vmxnet3_xdp_set() local
63 need_update = !!old_bpf_prog != !!new_bpf_prog; in vmxnet3_xdp_set()
65 if (running && need_update) in vmxnet3_xdp_set()
72 if (!running || !need_update) in vmxnet3_xdp_set()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dlib.c543 bool need_update = false; in iwlagn_set_kill_msk() local
563 need_update = true; in iwlagn_set_kill_msk()
565 return need_update; in iwlagn_set_kill_msk()
580 bool need_update = false; in iwlagn_fill_txpower_mode() local
593 return need_update; in iwlagn_fill_txpower_mode()
605 need_update = true; in iwlagn_fill_txpower_mode()
616 need_update = true; in iwlagn_fill_txpower_mode()
619 return need_update; in iwlagn_fill_txpower_mode()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_kvdl.c214 bool need_update = true; in mlxsw_sp1_kvdl_part_init() local
222 need_update = false; in mlxsw_sp1_kvdl_part_init()
234 if (need_update) in mlxsw_sp1_kvdl_part_init()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-snps-femto-v2.c101 bool need_update; member
437 if (hsphy->update_seq_cfg[i].need_update) in qcom_snps_hsphy_init()
532 seq_entry->need_update = true; in qcom_snps_hsphy_override_param_update_val()
/linux/drivers/thermal/
H A Dthermal_core.h126 atomic_t need_update; member
H A Dthermal_core.c840 atomic_set(&tz->need_update, 1); in thermal_bind_cdev_to_trip()
1062 if (atomic_cmpxchg(&pos->need_update, 1, 0)) in __thermal_cooling_device_register()
1460 atomic_set(&tz->need_update, 1); in thermal_zone_device_register_with_trips()
1507 if (atomic_cmpxchg(&tz->need_update, 1, 0)) in thermal_zone_device_register_with_trips()
/linux/fs/bcachefs/
H A Dalloc_background.c1318 bool need_update = false; in bch2_check_alloc_hole_bucket_gens() local
1330 need_update = true; in bch2_check_alloc_hole_bucket_gens()
1334 if (need_update) { in bch2_check_alloc_hole_bucket_gens()
1430 bool need_update = false; in bch2_check_bucket_gens_key() local
1460 need_update = true; in bch2_check_bucket_gens_key()
1468 need_update = true; in bch2_check_bucket_gens_key()
1471 if (need_update) { in bch2_check_bucket_gens_key()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c975 bool need_update; in mlx5e_xfrm_advance_esn_state() local
977 need_update = mlx5e_ipsec_update_esn_state(sa_entry); in mlx5e_xfrm_advance_esn_state()
978 if (!need_update) in mlx5e_xfrm_advance_esn_state()
/linux/drivers/misc/cxl/
H A Dnative.c631 bool need_update = (ctx->status == STARTED); in update_ivtes_directed() local
634 if (need_update) { in update_ivtes_directed()
654 if (need_update) in update_ivtes_directed()
/linux/mm/
H A Dvmstat.c2016 static bool need_update(int cpu) in need_update() function
2054 if (!need_update(smp_processor_id())) in quiet_vmstat()
2099 if (!delayed_work_pending(dw) && need_update(cpu)) in vmstat_shepherd()
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommon.c2563 if (q->need_update == 0) in il_rx_queue_update_write_ptr()
2588 q->need_update = 0; in il_rx_queue_update_write_ptr()
2626 rxq->need_update = 0; in il_rx_queue_alloc()
2715 if (txq->need_update == 0) in il_txq_update_write_ptr()
2742 txq->need_update = 0; in il_txq_update_write_ptr()
3050 txq->need_update = 0; in il_tx_queue_init()
3095 txq->need_update = 0; in il_tx_queue_reset()
3212 txq->need_update = 1; in il_enqueue_hcmd()
H A D3945-mac.c599 txq->need_update = 1; in il3945_tx_skb()
602 txq->need_update = 0; in il3945_tx_skb()
621 txq->need_update = 1; in il3945_tx_skb()
959 rxq->need_update = 1; in il3945_rx_queue_restock()
H A Dcommon.h157 u8 need_update; member
603 int need_update; member
H A D4965-mac.c212 rxq->need_update = 1; in il4965_hw_nic_init()
286 rxq->need_update = 1; in il4965_rx_queue_restock()
1844 txq->need_update = 1; in il4965_tx_skb()
1847 txq->need_update = 0; in il4965_tx_skb()
1899 txq->need_update = 1; in il4965_tx_skb()
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx.c108 txq->need_update = true; in iwl_pcie_txq_inc_wr_ptr()
135 if (txq->need_update) { in iwl_pcie_txq_check_wrptrs()
137 txq->need_update = false; in iwl_pcie_txq_check_wrptrs()
911 txq->need_update = false; in iwl_txq_init()
H A Drx.c187 rxq->need_update = true; in iwl_pcie_rxq_inc_wr_ptr()
211 if (!rxq->need_update) in iwl_pcie_rxq_check_wrptr()
215 rxq->need_update = false; in iwl_pcie_rxq_check_wrptr()
H A Dinternal.h159 bool need_update, next_rb_is_fragment; member
/linux/net/batman-adv/
H A Dbat_iv_ogm.c1217 bool need_update = false; in batadv_iv_ogm_update_seqnos() local
1272 need_update |= batadv_bit_get_packet(bat_priv, bitmap, in batadv_iv_ogm_update_seqnos()
1282 if (need_update) { in batadv_iv_ogm_update_seqnos()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.h801 bool need_update; member
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c3534 bool need_update; in mtk_xdp_setup() local
3546 need_update = !!eth->prog != !!prog; in mtk_xdp_setup()
3547 if (netif_running(dev) && need_update) in mtk_xdp_setup()
3554 if (netif_running(dev) && need_update) in mtk_xdp_setup()

12