Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_trace_timeline.h139 hweight64(bitmap)); \
149 hweight64(bitmap)); \
159 hweight64(bitmap)); \
H A Dmali_kbase_gpuprops.c105 props->coherency_info.num_core_groups = hweight64(props->raw_props.l2_present); in kbase_gpuprops_construct_coherent_groups()
149 current_group->num_cores = hweight64(current_group->core_mask); in kbase_gpuprops_construct_coherent_groups()
312 gpu_props->num_cores = hweight64(raw->shader_present); in kbase_gpuprops_set()
313 gpu_props->num_core_groups = hweight64(raw->l2_present); in kbase_gpuprops_set()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_model_dummy.c540 core_count = hweight64(performance_counters.l2_present); in gpu_model_get_prfcnt_value()
548 core_count = hweight64(performance_counters.shader_present); in gpu_model_get_prfcnt_value()
1902 *value |= (hweight64(DUMMY_IMPLEMENTATION_L2_PRESENT) - 1) << 8;
2130 size, hweight64(DUMMY_IMPLEMENTATION_TILER_PRESENT));
2156 size, hweight64(DUMMY_IMPLEMENTATION_TILER_PRESENT));
2158 hweight64(performance_counters.l2_present));
2160 size, hweight64(performance_counters.shader_present));
2179 || hweight64(l2_present) > KBASE_DUMMY_MODEL_MAX_MEMSYS_BLOCKS
2180 || hweight64(shader_present) > KBASE_DUMMY_MODEL_MAX_SHADER_CORES))
2189 kbdev->gpu_props.props.l2_props.num_l2_slices = hweight64(l2_present);
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/sgi-gru/
H A Dgrumain.c215 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()
837 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
838 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()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsmt.c40 if (hweight64(siblings) > 1) { in smt_on()
H A Dsynthetic-events.c1372 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1400 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1538 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
1574 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
/OK3568_Linux_fs/kernel/include/asm-generic/bitops/
H A Dconst_hweight.h29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/OK3568_Linux_fs/kernel/tools/include/asm-generic/bitops/
H A Dconst_hweight.h29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dbitops.h54 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_gpuprops.c50 props->coherency_info.num_core_groups = hweight64(props->raw_props.l2_present); in kbase_gpuprops_construct_coherent_groups()
94 current_group->num_cores = hweight64(current_group->core_mask); in kbase_gpuprops_construct_coherent_groups()
146 curr_config->num_cores = hweight64(curr_config->shader_present); in kbase_gpuprops_get_curr_config_props()
439 gpu_props->num_cores = hweight64(raw->shader_present); in kbase_gpuprops_set()
/OK3568_Linux_fs/kernel/drivers/char/
H A Duv_mmtimer.c119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A Di915_buddy.c190 if (mm->n_roots != hweight64(mm->size)) { in igt_check_mm()
192 mm->n_roots, hweight64(mm->size)); in igt_check_mm()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbitops.h75 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dperfmon_default_smpl.c129 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A Dnd-core.h65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_asm.c300 return hweight64(value) & 1; in parity()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/
H A Dpanfrost_perfcnt.c289 ncoregroups = hweight64(pfdev->features.l2_present); in panfrost_perfcnt_init()
H A Dpanfrost_gpu.c249 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features()
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-stm32f4.c869 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_buddy.c124 mm->n_roots = hweight64(size); in i915_buddy_init()
/OK3568_Linux_fs/kernel/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c1464 uv_pb += hweight64(np); in boot_init_possible_blades()
1470 uv_pb += hweight64(np); in boot_init_possible_blades()
1475 uv_pb += hweight64(np); in boot_init_possible_blades()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dtree-checker.c676 if (hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) > 1) { in check_block_group_item()
680 hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK)); in check_block_group_item()
692 type, hweight64(type), in check_block_group_item()

123