Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/clk/
Dclk-stm32f4.c279 return FCLK + hweight64(table[0]) + in stm32f4_rcc_lookup_clk_idx()
280 (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + in stm32f4_rcc_lookup_clk_idx()
281 (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); in stm32f4_rcc_lookup_clk_idx()
/linux-4.4.14/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/linux-4.4.14/tools/include/linux/
Dbitops.h48 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux-4.4.14/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.c156 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
/linux-4.4.14/drivers/char/
Duv_mmtimer.c119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
/linux-4.4.14/include/linux/
Dbitops.h80 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux-4.4.14/arch/ia64/kernel/
Dperfmon_default_smpl.c128 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
/linux-4.4.14/arch/sparc/kernel/
Dunaligned_64.c409 ret = hweight64(value); in handle_popc()
/linux-4.4.14/arch/x86/kernel/apic/
Dx2apic_uv_x.c913 hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8)); in uv_system_init()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dmad.c2585 num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); in pma_get_opa_datacounters()
2744 num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); in pma_get_opa_porterrors()
2854 num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); in pma_get_opa_errorinfo()
3095 num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); in pma_set_opa_errorinfo()
/linux-4.4.14/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.4.14/arch/x86/kernel/cpu/
Dperf_event_intel.c2328 c->weight = hweight64(c->idxmsk64); in intel_get_excl_constraints()
3605 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3218 num_iqueues = hweight64(resp->cfg_info.iqmask); in setup_nic_devices()
3219 num_oqueues = hweight64(resp->cfg_info.oqmask); in setup_nic_devices()
/linux-4.4.14/arch/ia64/hp/common/
Dsba_iommu.c1913 used += hweight64(*res_ptr); in ioc_show()
/linux-4.4.14/net/core/
Dethtool.c458 n_bits = hweight64(sset_mask); in ethtool_get_sset_info()
/linux-4.4.14/net/mac80211/
Diface.c1634 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
/linux-4.4.14/kernel/events/
Dcore.c5543 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()
5583 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_crtc.c3731 int num_values = hweight64(supported_bits); in drm_property_create_bitmask()
/linux-4.4.14/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()