Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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-v4.19/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-v4.19/drivers/soundwire/
Dmipi_disco.c365 nval = hweight32(prop->source_ports); in sdw_slave_read_prop()
375 nval = hweight32(prop->sink_ports); in sdw_slave_read_prop()
387 num_of_ports = hweight32(nval) + dp0; /* add DP0 */ in sdw_slave_read_prop()
/Linux-v4.19/arch/arm/probes/kprobes/
Dcheckers-thumb.c100 asi->stack_space = hweight32(reglist) * 4; in t16_check_stack()
Dcheckers-common.c85 asi->stack_space = (hweight32(reglist) - (!pbit ? 1 : 0)) * 4; in checker_stack_use_stmdx()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgm200.c44 *pltcs = hweight32(ltcm); in gm200_ram_probe_fbp_amount()
/Linux-v4.19/tools/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/Linux-v4.19/include/asm-generic/bitops/
Dconst_hweight.h28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
/Linux-v4.19/net/netfilter/
Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
Dxt_rateest.c81 if (hweight32(info->flags & (XT_RATEEST_MATCH_ABS | in xt_rateest_mt_checkentry()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c67 cu_per_sh[se] += hweight32(cu_info.cu_bitmap[se][i]); in mqd_symmetrically_map_cu_mask()
/Linux-v4.19/tools/include/linux/
Dbitops.h55 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/Linux-v4.19/drivers/iio/gyro/
Dadxrs450.c112 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16()
148 if (!(hweight32(tx) & 1)) in adxrs450_spi_write_reg_16()
/Linux-v4.19/arch/mips/netlogic/xlp/
Dwakeup.c168 syscoremask = (1 << hweight32(~fusemask & mask)) - 1; in xlp_enable_secondary_cores()
/Linux-v4.19/fs/ocfs2/
Dblockcheck.c177 if (hweight32(fix) == 1) in ocfs2_hamming_fix()
200 while (hweight32(b) == 1) in ocfs2_hamming_fix()
/Linux-v4.19/arch/xtensa/kernel/
Dirq.c143 return hweight32(mask); in xtensa_get_ext_irq_no()
/Linux-v4.19/drivers/media/pci/solo6x10/
Dsolo6x10-core.c241 hweight32(solo_dev->tw2815), in tw28xx_show()
242 hweight32(solo_dev->tw2864), in tw28xx_show()
243 hweight32(solo_dev->tw2865)); in tw28xx_show()
/Linux-v4.19/lib/
Dtest_bitfield.c105 for (v = 0; v < 1 << hweight32(mask); v++) \
/Linux-v4.19/arch/mips/netlogic/common/
Dsmp.c206 ncore += hweight32(nlm_get_node(i)->coremask); in nlm_smp_setup()
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c276 if ((hweight32(hdcp_ctrl->aksv_lsb) + hweight32(hdcp_ctrl->aksv_msb)) in msm_hdmi_hdcp_read_validate_aksv()
718 if ((hweight32(hdcp_ctrl->bksv_lsb) + hweight32(hdcp_ctrl->bksv_msb)) in msm_hdmi_hdcp_recv_bksv()
/Linux-v4.19/include/linux/
Dbitops.h53 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dmcdi_mon.c332 n_sensors += hweight32(mask & ~(1 << MC_CMD_SENSOR_PAGE0_NEXT)); in efx_mcdi_mon_probe()
403 MC_CMD_SENSOR_INFO_OUT_LEN(hweight32(mask))) { in efx_mcdi_mon_probe()
/Linux-v4.19/drivers/input/touchscreen/
Dbu21013_ts.c205 has_x_sensors = hweight32(buf[0] & BU21013_SENSORS_EN_0_7); in bu21013_do_touch_report()
206 has_y_sensors = hweight32(((buf[1] & BU21013_SENSORS_EN_8_15) | in bu21013_do_touch_report()
/Linux-v4.19/drivers/misc/sgi-gru/
Dgrukdump.c158 dsrcnt = data_opt ? hweight32(cch->dsr_allocation_map) * in gru_dump_context()
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-is-regs.c110 if (hweight32(mask) == 1) { in fimc_is_hw_set_isp_buf_mask()

12345