Home
last modified time | relevance | path

Searched refs:hweight16 (Results 1 – 25 of 64) sorted by relevance

123

/openbmc/linux/drivers/mtd/nand/raw/
H A Dsm_common.h41 return hweight16(oob->data_status) >= 5; in sm_sector_valid()
46 return hweight16(oob->block_status) >= 7; in sm_block_valid()
/openbmc/u-boot/arch/arc/include/asm/
H A Dbitops.h15 #define hweight16(x) generic_hweight16(x) macro
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.c77 total += hweight16(sseu->eu_mask.xehp[ss]); in compute_eu_total()
79 total += hweight16(sseu->eu_mask.hsw[s][ss]); in compute_eu_total()
163 sseu->eu_per_subslice = hweight16(eu_en); in gen11_compute_sseu_info()
183 sseu->eu_per_subslice = hweight16(eu_en); in xehp_compute_sseu_info()
828 ss, hweight16(enabled_eus), enabled_eus); in sseu_print_hsw_topology()
844 hweight16(enabled_eus), enabled_eus); in sseu_print_xehp_topology()
/openbmc/u-boot/arch/m68k/include/asm/
H A Dbitops.h50 #define hweight16(x) generic_hweight16(x) macro
/openbmc/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/openbmc/linux/include/asm-generic/bitops/
H A Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/openbmc/u-boot/arch/microblaze/include/asm/
H A Dbitops.h257 #define hweight16(x) generic_hweight16(x) macro
370 #define hweight16(x) generic_hweight16(x) macro
/openbmc/u-boot/arch/sh/include/asm/
H A Dbitops.h157 #define hweight16(x) generic_hweight16(x) macro
/openbmc/u-boot/arch/riscv/include/asm/
H A Dbitops.h158 #define hweight16(x) generic_hweight16(x) macro
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dbitops.h151 #define hweight16(x) generic_hweight16(x) macro
/openbmc/u-boot/arch/nds32/include/asm/
H A Dbitops.h176 #define hweight16(x) generic_hweight16(x) macro
/openbmc/u-boot/arch/arm/include/asm/
H A Dbitops.h158 #define hweight16(x) generic_hweight16(x) macro
/openbmc/u-boot/arch/x86/include/asm/
H A Dbitops.h388 #define hweight16(x) generic_hweight16(x) macro
/openbmc/linux/drivers/gpu/host1x/hw/
H A Ddebug_hw.c86 return hweight16(mask); in show_channel_command()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c490 sts = hweight16(phy->mt76->chainmask); in mt7996_set_stream_vht_txbf_caps()
514 int sts = hweight16(phy->mt76->chainmask); in mt7996_set_stream_he_txbf_caps()
724 int sts = hweight16(phy->mt76->chainmask); in mt7996_init_eht_caps()
H A Deeprom.c187 hweight16(mphy->chainmask); in mt7996_eeprom_parse_hw_cap()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dbitops.h225 #define hweight16(x) generic_hweight16(x) macro
/openbmc/linux/arch/arm64/kernel/
H A Dcompat_alignment.c122 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
/openbmc/linux/drivers/input/joystick/
H A Danalog.c345 hweight16(analog->mask & ANALOG_BTNS_GAMEPAD) + !!(analog->mask & ANALOG_HBTN_CHF) * 4); in analog_name()
349 hweight16(analog->mask & ANALOG_HATS_ALL)); in analog_name()
/openbmc/linux/fs/minix/
H A Dbitmap.c36 sum += 16 - hweight16(*p++); in count_free()
/openbmc/linux/drivers/mtd/parsers/
H A Dsharpslpart.c156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_hw_data.c13 return hweight16(self->accel_mask); in adf_gen2_get_num_accels()
/openbmc/linux/drivers/hwmon/
H A Dina3221.c185 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); in ina3221_interval_ms_to_conv_time()
196 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); in ina3221_reg_to_interval_us()
/openbmc/linux/drivers/input/keyboard/
H A Dtwl4030_keypad.c185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
/openbmc/linux/drivers/clk/
H A Dclk-si521xx.c317 for (i = 0; i < hweight16(chip_info); i++) { in si521xx_probe()

123