/openbmc/linux/kernel/kcsan/ |
H A D | permissive.h | 80 if (hweight64(diff) == 1) { in kcsan_ignore_data_race()
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_table.c | 175 count = hweight64(filtered); in ipa_filtered_valid() 237 trans = ipa_cmd_trans_alloc(ipa, hweight64(ep_mask)); in ipa_filter_reset_table() 418 count = 1 + hweight64(ipa->filtered); in ipa_table_init_add() 646 if (count < 1 + hweight64(ipa->filtered)) in ipa_table_mem_valid()
|
/openbmc/linux/tools/include/asm-generic/bitops/ |
H A D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grumain.c | 215 return hweight64(gru->gs_cbr_map) >= cbr_au_count in check_gru_resources() 216 && hweight64(gru->gs_dsr_map) >= dsr_au_count in check_gru_resources() 490 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_load_context_data() 525 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_unload_context_data() 846 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context() 847 hweight64(gru->gs_dsr_map)); in gru_steal_context()
|
H A D | gruprocfs.c | 198 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 D | grufile.c | 284 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 D | grukdump.c | 146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
|
/openbmc/linux/drivers/char/ |
H A D | uv_mmtimer.c | 119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gpu.c | 260 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features() 346 hweight64(core_mask), in panfrost_get_core_mask() 347 hweight64(pfdev->features.shader_present)); in panfrost_get_core_mask()
|
H A D | panfrost_perfcnt.c | 292 ncoregroups = hweight64(pfdev->features.l2_present); in panfrost_perfcnt_init()
|
/openbmc/linux/tools/include/linux/ |
H A D | bitops.h | 70 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/openbmc/linux/drivers/nvdimm/ |
H A D | nd-core.h | 65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
|
/openbmc/linux/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 135 hweight64(config1) + hweight64(config2) > MAX_AXI_PORTS_OF_CHANNEL) in meson_ddr_perf_event_init()
|
/openbmc/linux/include/linux/ |
H A D | bitops.h | 97 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_asm.c | 300 return hweight64(value) & 1; in parity()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_buddy_test.c | 216 if (mm->n_roots != hweight64(mm->size)) { in check_mm() 218 mm->n_roots, hweight64(mm->size)); in check_mm()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-stm32f4.c | 869 return stm32fx_end_primary_clk - 1 + hweight64(table[0]) + in stm32f4_rcc_lookup_clk_idx() 870 (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + in stm32f4_rcc_lookup_clk_idx() 871 (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); in stm32f4_rcc_lookup_clk_idx()
|
/openbmc/linux/tools/perf/util/ |
H A D | synthetic-events.c | 1497 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 1525 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 1692 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample() 1728 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_property.c | 217 int num_values = hweight64(supported_bits); in drm_property_create_bitmask()
|
H A D | drm_buddy.c | 129 mm->n_roots = hweight64(size); in drm_buddy_init()
|
/openbmc/linux/fs/btrfs/ |
H A D | tree-checker.c | 720 if (unlikely(hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) > 1)) { in check_block_group_item() 724 hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK)); in check_block_group_item() 736 type, hweight64(type), in check_block_group_item()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | unaligned_64.c | 410 ret = hweight64(value); in handle_popc()
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | qmc.c | 270 info->nb_tx_ts = hweight64(chan->tx_ts_mask); in qmc_chan_get_info() 273 info->nb_rx_ts = hweight64(chan->rx_ts_mask); in qmc_chan_get_info()
|
/openbmc/linux/drivers/cxl/ |
H A D | acpi.c | 33 n |= (hweight64(hpa & cximsd->xormaps[i]) & 1) << i; in cxl_xor_calc_n()
|