/Linux-v6.6/drivers/iio/light/ |
D | opt4001.c | 152 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(mantissa & 0x80808) % 2) << 3; in opt4001_calculate_crc()
|
/Linux-v6.6/drivers/gpu/drm/i915/selftests/ |
D | i915_syncmap.c | 183 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-v6.6/sound/soc/codecs/ |
D | sdw-mockup.c | 154 nval = hweight32(prop->source_ports); in sdw_mockup_read_prop() 172 nval = hweight32(prop->sink_ports); in sdw_mockup_read_prop()
|
D | rt722-sdca-sdw.c | 218 nval = hweight32(prop->source_ports); in rt722_sdca_read_prop() 236 nval = hweight32(prop->sink_ports); in rt722_sdca_read_prop()
|
D | rt711-sdca-sdw.c | 193 nval = hweight32(prop->source_ports); in rt711_sdca_read_prop() 211 nval = hweight32(prop->sink_ports); in rt711_sdca_read_prop()
|
/Linux-v6.6/drivers/mfd/ |
D | cs42l43-sdw.c | 65 nval = hweight32(prop->source_ports); in cs42l43_read_prop() 87 nval = hweight32(prop->sink_ports); in cs42l43_read_prop()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gv100.c | 101 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-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | umc_v8_10.h | 37 (adev)->gmc.num_umc - hweight32((adev)->gmc.m_half_use) * 2)
|
D | amdgpu_sdma.h | 51 #define NUM_SDMA(x) hweight32(x)
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
D | gv100.c | 38 size = 27 * 5 * (((9 + 1 + 3) * hweight32(size)) + 2); in gv100_ce_cclass_bind()
|
/Linux-v6.6/arch/arm/probes/kprobes/ |
D | checkers-thumb.c | 92 asi->stack_space = hweight32(reglist) * 4; in t16_check_stack()
|
D | checkers-common.c | 77 asi->stack_space = (hweight32(reglist) - (!pbit ? 1 : 0)) * 4; in checker_stack_use_stmdx()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgm200.c | 44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
|
/Linux-v6.6/include/asm-generic/bitops/ |
D | const_hweight.h | 28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
|
/Linux-v6.6/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
|
/Linux-v6.6/net/netfilter/ |
D | xt_repldata.h | 19 unsigned int nhooks = hweight32(hook_mask); \
|
/Linux-v6.6/drivers/gpu/drm/vc4/tests/ |
D | vc4_mock.h | 15 KUNIT_ASSERT_EQ(test, hweight32(encoder->possible_crtcs), 1); in vc4_find_crtc_for_encoder()
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | intel_sseu_debugfs.c | 98 eu_cnt = 2 * hweight32(eu_reg[2 * s + ss / 2] & in gen11_sseu_device_status() 157 eu_cnt = 2 * hweight32(eu_cnt); in gen9_sseu_device_status()
|
/Linux-v6.6/drivers/iio/gyro/ |
D | adxrs450.c | 111 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16() 147 if (!(hweight32(tx) & 1)) in adxrs450_spi_write_reg_16()
|
/Linux-v6.6/drivers/soundwire/ |
D | mipi_disco.c | 363 nval = hweight32(prop->source_ports); in sdw_slave_read_prop() 374 nval = hweight32(prop->sink_ports); in sdw_slave_read_prop()
|
/Linux-v6.6/drivers/net/wireguard/selftest/ |
D | allowedips.c | 120 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-v6.6/tools/include/linux/ |
D | bitops.h | 70 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/Linux-v6.6/fs/ocfs2/ |
D | blockcheck.c | 167 if (hweight32(fix) == 1) in ocfs2_hamming_fix() 190 while (hweight32(b) == 1) in ocfs2_hamming_fix()
|
/Linux-v6.6/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 232 hweight32(solo_dev->tw2815), in tw28xx_show() 233 hweight32(solo_dev->tw2864), in tw28xx_show() 234 hweight32(solo_dev->tw2865)); in tw28xx_show()
|
/Linux-v6.6/arch/xtensa/kernel/ |
D | irq.c | 141 return hweight32(mask); in xtensa_get_ext_irq_no()
|