Home
last modified time | relevance | path

Searched refs:hweight64 (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.15/kernel/kcsan/
H A Dpermissive.h80 if (hweight64(diff) == 1) { in kcsan_ignore_data_race()
/linux-6.15/drivers/net/ipa/
H A Dipa_table.c178 count = hweight64(filtered); in ipa_filtered_valid()
240 trans = ipa_cmd_trans_alloc(ipa, hweight64(ep_mask)); in ipa_filter_reset_table()
419 count = 1 + hweight64(ipa->filtered); in ipa_table_init_add()
647 if (count < 1 + hweight64(ipa->filtered)) in ipa_table_mem_valid()
/linux-6.15/drivers/misc/sgi-gru/
H A Dgrumain.c211 return hweight64(gru->gs_cbr_map) >= cbr_au_count in check_gru_resources()
212 && hweight64(gru->gs_dsr_map) >= dsr_au_count in check_gru_resources()
486 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_load_context_data()
521 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_unload_context_data()
842 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
843 hweight64(gru->gs_dsr_map)); in gru_steal_context()
H A Dgruprocfs.c198 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show()
199 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show()
H A Dgrufile.c284 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_init_tables()
286 n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_init_tables()
H A Dgrukdump.c146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
/linux-6.15/include/asm-generic/bitops/
H A Dconst_hweight.h29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/linux-6.15/tools/include/asm-generic/bitops/
H A Dconst_hweight.h29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/linux-6.15/drivers/char/
H A Duv_mmtimer.c119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
/linux-6.15/drivers/gpu/drm/panfrost/
H A Dpanfrost_gpu.c283 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features()
415 hweight64(core_mask), in panfrost_get_core_mask()
416 hweight64(pfdev->features.shader_present)); in panfrost_get_core_mask()
H A Dpanfrost_perfcnt.c292 ncoregroups = hweight64(pfdev->features.l2_present); in panfrost_perfcnt_init()
/linux-6.15/arch/x86/kernel/cpu/mce/
H A Dthreshold.c140 if (hweight64(history) < STORM_BEGIN_THRESHOLD) in mce_track_storm()
/linux-6.15/tools/include/linux/
H A Dbitops.h72 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux-6.15/drivers/nvdimm/
H A Dnd-core.h65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_gpu.c371 hweight64(core_mask), in panthor_gpu_l2_power_on()
372 hweight64(ptdev->gpu_info.shader_present)); in panthor_gpu_l2_power_on()
/linux-6.15/sound/soc/sdca/
H A Dsdca_regmap.c217 nconsts += hweight64(entity->controls[j].cn_list); in sdca_regmap_count_constants()
/linux-6.15/drivers/perf/amlogic/
H A Dmeson_ddr_pmu_core.c135 hweight64(config1) + hweight64(config2) > MAX_AXI_PORTS_OF_CHANNEL) in meson_ddr_perf_event_init()
/linux-6.15/include/linux/
H A Dbitops.h97 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
/linux-6.15/drivers/net/ethernet/netronome/nfp/
H A Dnfp_asm.c300 return hweight64(value) & 1; in parity()
/linux-6.15/drivers/clk/
H A Dclk-stm32f4.c1008 return stm32fx_end_primary_clk - 1 + hweight64(table[0]) + in stm32f4_rcc_lookup_clk_idx()
1009 (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + in stm32f4_rcc_lookup_clk_idx()
1010 (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); in stm32f4_rcc_lookup_clk_idx()
/linux-6.15/drivers/net/ethernet/amazon/ena/
H A Dena_com.h1011 return hweight64(ena_dev->customer_metrics.supported_metrics); in ena_com_get_customer_metric_count()
/linux-6.15/drivers/soc/fsl/qe/
H A Dqmc.c343 info->nb_tx_ts = hweight64(chan->tx_ts_mask); in qmc_chan_get_info()
346 info->nb_rx_ts = hweight64(chan->rx_ts_mask); in qmc_chan_get_info()
975 w_rx = hweight64(chan->rx_ts_mask); in qmc_setup_chan_trnsync()
976 w_tx = hweight64(chan->tx_ts_mask); in qmc_setup_chan_trnsync()
/linux-6.15/fs/xfs/
H A Dxfs_iwalk.c140 irec->ir_freecount = hweight64(irec->ir_free); in xfs_iwalk_adjust_start()
/linux-6.15/tools/perf/util/
H A Dsynthetic-events.c1515 sz = hweight64(sample->user_regs->mask) * sizeof(u64); in perf_event__sample_event_size()
1543 sz = hweight64(sample->intr_regs->mask) * sizeof(u64); in perf_event__sample_event_size()
1714 sz = hweight64(sample->user_regs->mask) * sizeof(u64); in perf_event__synthesize_sample()
1750 sz = hweight64(sample->intr_regs->mask) * sizeof(u64); in perf_event__synthesize_sample()
/linux-6.15/fs/xfs/scrub/
H A Discan.c174 if (hweight64(allocmask) > 0) { in xchk_iscan_find_next()

123