Searched refs:hweight64 (Results 1 – 20 of 20) sorted by relevance
28 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
48 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
228 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()
214 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()
296 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()
158 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
80 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
128 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
409 ret = hweight64(value); in handle_popc()
915 hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8)); in uv_system_init()
490 nr_matches = hweight64(match_mask); in seek_firmware()
664 nr_diffs = hweight64(id_diff_mask) + hweight32(type_diff_mask); in seek_firmware()
2084 cx->weight = hweight64(cx->idxmsk64); in intel_get_excl_constraints()3336 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
1917 used += hweight64(*res_ptr); in ioc_show()
1608 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
447 n_bits = hweight64(sset_mask); in ethtool_get_sset_info()
5372 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()5412 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()
3770 int num_values = hweight64(supported_bits); in drm_property_create_bitmask()
2751 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()