| /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/sound/soc/codecs/ |
| H A D | sdw-mockup.c | 154 nval = hweight32(prop->source_ports); in sdw_mockup_read_prop() 172 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 | rt1318-sdw.c | 363 nval = hweight32(prop->source_ports); in rt1318_read_prop() 381 nval = hweight32(prop->sink_ports); in rt1318_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/drivers/gpu/drm/vc4/tests/ |
| H A D | vc4_mock.h | 15 KUNIT_ASSERT_EQ(test, hweight32(encoder->possible_crtcs), 1); in vc4_find_crtc_for_encoder()
|
| /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/drivers/iio/gyro/ |
| H A D | adxrs450.c | 109 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16() 145 if (!(hweight32(tx) & 1)) in adxrs450_spi_write_reg_16()
|
| /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/media/pci/solo6x10/ |
| H A D | solo6x10-core.c | 229 hweight32(solo_dev->tw2815), in tw28xx_show() 230 hweight32(solo_dev->tw2864), in tw28xx_show() 231 hweight32(solo_dev->tw2865)); in tw28xx_show()
|
| /linux/drivers/soundwire/ |
| H A D | generic_bandwidth_allocation.c | 56 ch = hweight32(p_rt->ch_mask); in sdw_compute_slave_ports() 261 ch = hweight32(p_rt->ch_mask); in sdw_compute_group_params() 511 hweight32(m_p_rt->ch_mask) * in get_manager_lane()
|
| H A D | mipi_disco.c | 505 nval = hweight32(prop->source_ports); in sdw_slave_read_prop() 516 nval = hweight32(prop->sink_ports); in sdw_slave_read_prop()
|
| /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/arch/xtensa/kernel/ |
| H A D | irq.c | 141 return hweight32(mask); in xtensa_get_ext_irq_no()
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_context.c | 1170 unsigned int slices = hweight32(ce->engine->sseu.slice_mask); in __sseu_finish() 1227 hweight32(sseu.slice_mask), spin); in __sseu_test() 1272 if (hweight32(engine->sseu.slice_mask) < 2) in __igt_ctx_sseu() 1285 ~(~0 << (hweight32(engine->sseu.subslice_mask) / 2)); in __igt_ctx_sseu() 1289 hweight32(engine->sseu.slice_mask), in __igt_ctx_sseu() 1290 hweight32(pg_sseu.slice_mask)); in __igt_ctx_sseu()
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_hdcp.c | 267 if ((hweight32(hdcp_ctrl->aksv_lsb) + hweight32(hdcp_ctrl->aksv_msb)) in msm_hdmi_hdcp_read_validate_aksv() 709 if ((hweight32(hdcp_ctrl->bksv_lsb) + hweight32(hdcp_ctrl->bksv_msb)) in msm_hdmi_hdcp_recv_bksv()
|