Searched refs:hweight64 (Results 1 – 23 of 23) sorted by relevance
279 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()
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()
156 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()
913 hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8)); in uv_system_init()
2585 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()
490 nr_matches = hweight64(match_mask); in seek_firmware()
664 nr_diffs = hweight64(id_diff_mask) + hweight32(type_diff_mask); in seek_firmware()
2328 c->weight = hweight64(c->idxmsk64); in intel_get_excl_constraints()3605 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
3218 num_iqueues = hweight64(resp->cfg_info.iqmask); in setup_nic_devices()3219 num_oqueues = hweight64(resp->cfg_info.oqmask); in setup_nic_devices()
1913 used += hweight64(*res_ptr); in ioc_show()
458 n_bits = hweight64(sset_mask); in ethtool_get_sset_info()
1634 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
5543 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()5583 size += hweight64(mask) * sizeof(u64); in perf_prepare_sample()
3731 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()