| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 183 if (hweight32((*sync)->bitmap) != 1) { in check_one() 185 (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_one() 252 if (hweight32((*sync)->bitmap) != 1) { in check_leaf() 254 context, (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_leaf() 314 if (hweight32(join->bitmap) != 2) { in igt_syncmap_join_above() 316 join->bitmap, hweight32(join->bitmap)); in igt_syncmap_join_above() 435 sync->bitmap, hweight32(sync->bitmap), in igt_syncmap_neighbours() 500 sync->bitmap, hweight32(sync->bitmap), in igt_syncmap_compact() 525 idx, leaf->bitmap, hweight32(leaf->bitmap)); in igt_syncmap_compact()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gt_ccs_mode.c | 22 int num_slices = hweight32(CCS_INSTANCES(gt)); in __xe_gt_apply_ccs_mode() 104 return sysfs_emit(buf, "%u\n", hweight32(CCS_INSTANCES(gt))); in num_cslices_show() 135 num_slices = hweight32(CCS_INSTANCES(gt)); in ccs_mode_store()
|
| /linux/drivers/cxl/core/ |
| H A D | ras.c | 30 if (hweight32(status) > 1) in cxl_cper_trace_uncorr_port_prot_err() 56 if (hweight32(status) > 1) in cxl_cper_trace_uncorr_prot_err() 251 if (hweight32(status) > 1) { in cxl_handle_ras()
|
| /linux/sound/soc/codecs/ |
| H A D | sdw-mockup.c | 153 nval = hweight32(prop->source_ports); in sdw_mockup_read_prop() 171 nval = hweight32(prop->sink_ports); in sdw_mockup_read_prop()
|
| H A D | framer-codec.c | 48 framer->max_chan_playback = hweight32(tx_mask); in framer_dai_set_tdm_slot() 55 framer->max_chan_capture = hweight32(rx_mask); in framer_dai_set_tdm_slot()
|
| H A D | rt711-sdca-sdw.c | 193 nval = hweight32(prop->source_ports); in rt711_sdca_read_prop() 211 nval = hweight32(prop->sink_ports); in rt711_sdca_read_prop()
|
| H A D | rt721-sdca-sdw.c | 249 nval = hweight32(prop->source_ports); in rt721_sdca_read_prop() 267 nval = hweight32(prop->sink_ports); in rt721_sdca_read_prop()
|
| H A D | rt712-sdca-sdw.c | 210 nval = hweight32(prop->source_ports); in rt712_sdca_read_prop() 228 nval = hweight32(prop->sink_ports); in rt712_sdca_read_prop()
|
| H A D | rt1318-sdw.c | 362 nval = hweight32(prop->source_ports); in rt1318_read_prop() 380 nval = hweight32(prop->sink_ports); in rt1318_read_prop()
|
| H A D | rt715-sdca-sdw.c | 148 nval = hweight32(prop->source_ports); in rt715_sdca_read_prop()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | gv100.c | 101 temp = hweight32(temp); in gv100_gr_nonpes_aware_tpc() 149 num_tpc_gpc[gpc] = hweight32(num_tpc_mask); in gv100_gr_scg_estimate_perf() 177 if (hweight32(num_tpc_mask)) in gv100_gr_scg_estimate_perf()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | umc_v8_10.h | 37 (adev)->gmc.num_umc - hweight32((adev)->gmc.m_half_use) * 2)
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
| H A D | gv100.c | 38 size = 27 * 5 * (((9 + 1 + 3) * hweight32(size)) + 2); in gv100_ce_cclass_bind()
|
| /linux/arch/arm/probes/kprobes/ |
| H A D | checkers-thumb.c | 92 asi->stack_space = hweight32(reglist) * 4; in t16_check_stack()
|
| H A D | checkers-common.c | 77 asi->stack_space = (hweight32(reglist) - (!pbit ? 1 : 0)) * 4; in checker_stack_use_stmdx()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| H A D | ramgm200.c | 44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
|
| /linux/include/asm-generic/bitops/ |
| H A D | const_hweight.h | 28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
|
| /linux/tools/include/asm-generic/bitops/ |
| H A D | const_hweight.h | 28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
|
| /linux/net/netfilter/ |
| H A D | xt_repldata.h | 19 unsigned int nhooks = hweight32(hook_mask); \
|
| /linux/tools/include/linux/ |
| H A D | bitops.h | 72 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
| /linux/sound/hda/core/ |
| H A D | intel-sdw-acpi.c | 96 count = hweight32(list); in sdw_intel_scan_controller()
|
| /linux/fs/ocfs2/ |
| H A D | blockcheck.c | 167 if (hweight32(fix) == 1) in ocfs2_hamming_fix() 190 while (hweight32(b) == 1) in ocfs2_hamming_fix()
|
| /linux/drivers/soundwire/ |
| H A D | generic_bandwidth_allocation.c | 55 ch = hweight32(p_rt->ch_mask); in sdw_compute_slave_ports() 260 ch = hweight32(p_rt->ch_mask); in sdw_compute_group_params() 506 hweight32(m_p_rt->ch_mask) * in get_manager_lane()
|
| H A D | mipi_disco.c | 510 nval = hweight32(prop->source_ports); in sdw_slave_read_prop() 521 nval = hweight32(prop->sink_ports); in sdw_slave_read_prop()
|
| /linux/net/ethtool/ |
| H A D | tsconfig.c | 363 if (hweight32(req_tx_type) != 1) { in ethnl_set_tsconfig() 386 if (hweight32(req_rx_filter) != 1) { in ethnl_set_tsconfig()
|