Home
last modified time | relevance | path

Searched refs:hweight32 (Results 1 – 25 of 155) sorted by relevance

1234567

/linux/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c183 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 Dxe_gt_ccs_mode.c22 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 Dsdw-mockup.c154 nval = hweight32(prop->source_ports); in sdw_mockup_read_prop()
172 nval = hweight32(prop->sink_ports); in sdw_mockup_read_prop()
H A Dframer-codec.c48 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 Drt1318-sdw.c363 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 Dgv100.c101 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 Dumc_v8_10.h37 (adev)->gmc.num_umc - hweight32((adev)->gmc.m_half_use) * 2)
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/
H A Dgv100.c38 size = 27 * 5 * (((9 + 1 + 3) * hweight32(size)) + 2); in gv100_ce_cclass_bind()
/linux/arch/arm/probes/kprobes/
H A Dcheckers-thumb.c92 asi->stack_space = hweight32(reglist) * 4; in t16_check_stack()
H A Dcheckers-common.c77 asi->stack_space = (hweight32(reglist) - (!pbit ? 1 : 0)) * 4; in checker_stack_use_stmdx()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/linux/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_mock.h15 KUNIT_ASSERT_EQ(test, hweight32(encoder->possible_crtcs), 1); in vc4_find_crtc_for_encoder()
/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/linux/net/netfilter/
H A Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
/linux/drivers/iio/gyro/
H A Dadxrs450.c109 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 Dblockcheck.c167 if (hweight32(fix) == 1) in ocfs2_hamming_fix()
190 while (hweight32(b) == 1) in ocfs2_hamming_fix()
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c229 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 Dgeneric_bandwidth_allocation.c56 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 Dmipi_disco.c505 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 Dbitops.h72 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux/sound/hda/core/
H A Dintel-sdw-acpi.c96 count = hweight32(list); in sdw_intel_scan_controller()
/linux/arch/xtensa/kernel/
H A Dirq.c141 return hweight32(mask); in xtensa_get_ext_irq_no()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c1170 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 Dhdmi_hdcp.c267 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()

1234567