Home
last modified time | relevance | path

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

/linux-4.1.27/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/linux-4.1.27/tools/include/linux/
Dbitops.h48 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux-4.1.27/drivers/misc/sgi-gru/
Dgrumain.c228 return hweight64(gru->gs_cbr_map) >= cbr_au_count in check_gru_resources()
229 && hweight64(gru->gs_dsr_map) >= dsr_au_count in check_gru_resources()
503 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_load_context_data()
538 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_unload_context_data()
850 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
851 hweight64(gru->gs_dsr_map)); in gru_steal_context()
Dgruprocfs.c214 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show()
215 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show()
Dgrufile.c296 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_init_tables()
298 n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_init_tables()
Dgrukdump.c158 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
/linux-4.1.27/drivers/char/
Duv_mmtimer.c119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
/linux-4.1.27/include/linux/
Dbitops.h80 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux-4.1.27/arch/ia64/kernel/
Dperfmon_default_smpl.c128 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
/linux-4.1.27/arch/sparc/kernel/
Dunaligned_64.c409 ret = hweight64(value); in handle_popc()
/linux-4.1.27/arch/x86/kernel/apic/
Dx2apic_uv_x.c915 hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8)); in uv_system_init()
/linux-4.1.27/drivers/media/tuners/
Dtuner-xc2028.c490 nr_matches = hweight64(match_mask); in seek_firmware()
Dxc4000.c664 nr_diffs = hweight64(id_diff_mask) + hweight32(type_diff_mask); in seek_firmware()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel.c2084 cx->weight = hweight64(cx->idxmsk64); in intel_get_excl_constraints()
3336 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
/linux-4.1.27/arch/ia64/hp/common/
Dsba_iommu.c1917 used += hweight64(*res_ptr); in ioc_show()
/linux-4.1.27/net/mac80211/
Diface.c1608 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
/linux-4.1.27/net/core/
Dethtool.c447 n_bits = hweight64(sset_mask); in ethtool_get_sset_info()
/linux-4.1.27/kernel/events/
Dcore.c5372 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()
5412 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_crtc.c3770 int num_values = hweight64(supported_bits); in drm_property_create_bitmask()
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c2751 if (hweight64(reg_val & port01_mask) & 1) in vlan_entry_set_parity()
2756 if (hweight64(reg_val & port23_mask) & 1) in vlan_entry_set_parity()