Home
last modified time | relevance | path

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

123456

/Linux-v5.10/drivers/gpu/drm/i915/selftests/
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-v5.10/arch/mips/netlogic/xlr/
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()
/Linux-v5.10/arch/arm/probes/kprobes/
Dcheckers-thumb.c92 asi->stack_space = hweight32(reglist) * 4; in t16_check_stack()
Dcheckers-common.c77 asi->stack_space = (hweight32(reglist) - (!pbit ? 1 : 0)) * 4; in checker_stack_use_stmdx()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/Linux-v5.10/tools/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/Linux-v5.10/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/Linux-v5.10/net/netfilter/
Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
Dxt_rateest.c78 if (hweight32(info->flags & (XT_RATEEST_MATCH_ABS | in xt_rateest_mt_checkentry()
/Linux-v5.10/tools/include/linux/
Dbitops.h54 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/Linux-v5.10/drivers/net/ipa/
Dipa_table.c223 count = hweight32(filter_map); in ipa_filter_map_valid()
288 u32 count = hweight32(ep_mask); in ipa_filter_reset_table()
454 count = hweight32(ipa->filter_map); in ipa_table_init_add()
/Linux-v5.10/drivers/soundwire/
Dmipi_disco.c363 nval = hweight32(prop->source_ports); in sdw_slave_read_prop()
374 nval = hweight32(prop->sink_ports); in sdw_slave_read_prop()
/Linux-v5.10/drivers/iio/gyro/
Dadxrs450.c111 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16()
147 if (!(hweight32(tx) & 1)) in adxrs450_spi_write_reg_16()
/Linux-v5.10/drivers/gpu/drm/i915/gt/
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()
/Linux-v5.10/drivers/net/wireguard/selftest/
Dallowedips.c134 return hweight32(subnet.all[0]) + hweight32(subnet.all[1]) + in horrible_mask_to_cidr()
135 hweight32(subnet.all[2]) + hweight32(subnet.all[3]); in horrible_mask_to_cidr()
/Linux-v5.10/arch/mips/netlogic/xlp/
Dwakeup.c168 syscoremask = (1 << hweight32(~fusemask & mask)) - 1; in xlp_enable_secondary_cores()
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c111 cu_per_se[se] += hweight32(cu_info.cu_bitmap[se % 4][sh + (se / 4)]); in mqd_symmetrically_map_cu_mask()
/Linux-v5.10/fs/ocfs2/
Dblockcheck.c169 if (hweight32(fix) == 1) in ocfs2_hamming_fix()
192 while (hweight32(b) == 1) in ocfs2_hamming_fix()
/Linux-v5.10/arch/xtensa/kernel/
Dirq.c143 return hweight32(mask); in xtensa_get_ext_irq_no()
/Linux-v5.10/drivers/media/pci/solo6x10/
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()
/Linux-v5.10/lib/
Dbitfield_kunit.c98 for (v = 0; v < 1 << hweight32(mask); v++) \
/Linux-v5.10/sound/soc/codecs/
Drt700-sdw.c352 nval = hweight32(prop->source_ports); in rt700_read_prop()
371 nval = hweight32(prop->sink_ports); in rt700_read_prop()
Drt711-sdw.c356 nval = hweight32(prop->source_ports); in rt711_read_prop()
375 nval = hweight32(prop->sink_ports); in rt711_read_prop()
/Linux-v5.10/arch/mips/netlogic/common/
Dsmp.c206 ncore += hweight32(nlm_get_node(i)->coremask); in nlm_smp_setup()
/Linux-v5.10/drivers/input/touchscreen/
Dbu21013_ts.c199 has_x_sensors = hweight32(buf[0] & BU21013_SENSORS_EN_0_7); in bu21013_do_touch_report()
200 has_y_sensors = hweight32(((buf[1] & BU21013_SENSORS_EN_8_15) | in bu21013_do_touch_report()

123456