Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dmp.c163 if (hweight32(cpu_up_mask) == hweight32(cores)) in fsl_layerscape_wake_seconday_cores()
172 printf("All (%d) cores are up.\n", hweight32(cores)); in fsl_layerscape_wake_seconday_cores()
216 } else if (nr >= hweight32(cores)) { in core_to_pos()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_ecc.c269 if ((hweight32(delta_line) + in yaffs_ecc_correct_other()
270 hweight32(delta_line_prime) + in yaffs_ecc_correct_other()
/OK3568_Linux_fs/u-boot/arch/arc/include/asm/
H A Dbitops.h15 #define hweight32(x) generic_hweight32(x) macro
/OK3568_Linux_fs/u-boot/arch/m68k/include/asm/
H A Dbitops.h49 #define hweight32(x) generic_hweight32(x) macro
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/microblaze/include/asm/
H A Dbitops.h256 #define hweight32(x) generic_hweight32(x) macro
369 #define hweight32(x) generic_hweight32(x) macro
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/s32v234/
H A Dcpu.c79 numcores = hweight32(cpu_mask()); in cpu_numcores()
/OK3568_Linux_fs/kernel/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/OK3568_Linux_fs/kernel/tools/include/asm-generic/bitops/
H A Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
/OK3568_Linux_fs/kernel/drivers/net/wireguard/selftest/
H A Dallowedips.c120 return hweight32(subnet.all[0]) + hweight32(subnet.all[1]) + in horrible_mask_to_cidr()
121 hweight32(subnet.all[2]) + hweight32(subnet.all[3]); in horrible_mask_to_cidr()
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dcpu.c277 return hweight32(cpu_dsp_mask()); in cpu_num_dspcores()
295 return hweight32(cpu_mask()); in cpu_numcores()
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dbitops.h54 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/iio/gyro/
H A Dadxrs450.c111 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16()
147 if (!(hweight32(tx) & 1)) in adxrs450_spi_write_reg_16()
/OK3568_Linux_fs/kernel/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c232 hweight32(solo_dev->tw2815), in tw28xx_show()
233 hweight32(solo_dev->tw2864), in tw28xx_show()
234 hweight32(solo_dev->tw2865)); in tw28xx_show()
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dblockcheck.c169 if (hweight32(fix) == 1) in ocfs2_hamming_fix()
192 while (hweight32(b) == 1) in ocfs2_hamming_fix()
/OK3568_Linux_fs/kernel/arch/mips/netlogic/xlp/
H A Dwakeup.c168 syscoremask = (1 << hweight32(~fusemask & mask)) - 1; in xlp_enable_secondary_cores()
/OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/
H A Dbitops.h150 #define hweight32(x) generic_hweight32(x) macro

1234567