Home
last modified time | relevance | path

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

1234567

/linux-5.19.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-5.19.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-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/linux-5.19.10/sound/soc/codecs/
Dsdw-mockup.c191 nval = hweight32(prop->source_ports); in sdw_mockup_read_prop()
209 nval = hweight32(prop->sink_ports); in sdw_mockup_read_prop()
Drt711-sdca-sdw.c197 nval = hweight32(prop->source_ports); in rt711_sdca_read_prop()
215 nval = hweight32(prop->sink_ports); in rt711_sdca_read_prop()
Drt700-sdw.c353 nval = hweight32(prop->source_ports); in rt700_read_prop()
372 nval = hweight32(prop->sink_ports); in rt700_read_prop()
Drt711-sdw.c358 nval = hweight32(prop->source_ports); in rt711_read_prop()
377 nval = hweight32(prop->sink_ports); in rt711_read_prop()
/linux-5.19.10/tools/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/linux-5.19.10/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/linux-5.19.10/drivers/net/ipa/
Dipa_table.c215 count = hweight32(filter_map); in ipa_filter_map_valid()
273 u32 count = hweight32(ep_mask); in ipa_filter_reset_table()
436 count = 1 + hweight32(ipa->filter_map); in ipa_table_init_add()
/linux-5.19.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-5.19.10/tools/include/linux/
Dbitops.h54 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/linux-5.19.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-5.19.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-5.19.10/drivers/gpu/drm/i915/gt/
Dintel_sseu_debugfs.c105 eu_cnt = 2 * hweight32(eu_reg[2 * s + ss / 2] & in gen11_sseu_device_status()
168 eu_cnt = 2 * hweight32(eu_cnt); in gen9_sseu_device_status()
/linux-5.19.10/drivers/net/wireguard/selftest/
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()
/linux-5.19.10/fs/ocfs2/
Dblockcheck.c167 if (hweight32(fix) == 1) in ocfs2_hamming_fix()
190 while (hweight32(b) == 1) in ocfs2_hamming_fix()
/linux-5.19.10/arch/xtensa/kernel/
Dirq.c140 return hweight32(mask); in xtensa_get_ext_irq_no()
/linux-5.19.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-5.19.10/lib/
Dbitfield_kunit.c98 for (v = 0; v < 1 << hweight32(mask); v++) \
/linux-5.19.10/include/linux/
Dbitops.h45 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
/linux-5.19.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()
/linux-5.19.10/drivers/gpu/drm/msm/hdmi/
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