Home
last modified time | relevance | path

Searched refs:hweight32 (Results 1 - 25 of 330) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/drivers/iio/light/
H A Dopt4001.c152 crc = (hweight32(mantissa) + hweight32(exp) + hweight32(count)) % 2; in opt4001_calculate_crc()
153 crc |= ((hweight32(mantissa & 0xAAAAA) + hweight32(exp & 0xA) in opt4001_calculate_crc()
154 + hweight32(count & 0xA)) % 2) << 1; in opt4001_calculate_crc()
155 crc |= ((hweight32(mantissa & 0x88888) + hweight32(exp & 0x8) in opt4001_calculate_crc()
156 + hweight32(count & 0x8)) % 2) << 2; in opt4001_calculate_crc()
157 crc |= (hweight32(mantiss in opt4001_calculate_crc()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/
H A Dfmn-config.c86 ncores = hweight32(nlm_current_node()->coremask); in check_credit_distribution()
125 num_core = hweight32(nlm_current_node()->coremask); in setup_fmn_cc()
190 num_core = hweight32(nlm_current_node()->coremask); in xlr_board_info_setup()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dumc_v8_10.h37 (adev)->gmc.num_umc - hweight32((adev)->gmc.m_half_use) * 2)
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/kernel/linux/linux-5.10/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/kernel/linux/linux-6.6/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
/kernel/linux/linux-6.6/tools/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/kernel/linux/linux-5.10/tools/include/linux/
H A Dbitops.h54 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/kernel/linux/linux-5.10/drivers/net/ipa/
H A Dipa_table.c221 count = hweight32(filter_map); in ipa_filter_map_valid()
286 u32 count = hweight32(ep_mask); in ipa_filter_reset_table()
453 count = 1 + hweight32(ipa->filter_map); in ipa_table_init_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_sseu_debugfs.c102 eu_cnt = 2 * hweight32(eu_reg[2 * s + ss / 2] & in gen10_sseu_device_status()
165 eu_cnt = 2 * hweight32(eu_cnt); in gen9_sseu_device_status()
/kernel/linux/linux-5.10/drivers/soundwire/
H A Dmipi_disco.c363 nval = hweight32(prop->source_ports); in sdw_slave_read_prop()
374 nval = hweight32(prop->sink_ports); in sdw_slave_read_prop()

Completed in 9 milliseconds

12345678910>>...14