/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | sm_common.h | 41 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 D | bitops.h | 15 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_sseu.c | 77 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 D | bitops.h | 50 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/linux/tools/include/asm-generic/bitops/ |
H A D | const_hweight.h | 27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | const_hweight.h | 27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | bitops.h | 257 #define hweight16(x) generic_hweight16(x) macro 370 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | bitops.h | 157 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | bitops.h | 158 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | bitops.h | 151 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | bitops.h | 176 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | bitops.h | 158 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | bitops.h | 388 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | debug_hw.c | 86 return hweight16(mask); in show_channel_command()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | init.c | 490 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 D | eeprom.c | 187 hweight16(mphy->chainmask); in mt7996_eeprom_parse_hw_cap()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | bitops.h | 225 #define hweight16(x) generic_hweight16(x) macro
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | compat_alignment.c | 122 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
|
/openbmc/linux/drivers/input/joystick/ |
H A D | analog.c | 345 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 D | bitmap.c | 36 sum += 16 - hweight16(*p++); in count_free()
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | sharpslpart.c | 156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen2_hw_data.c | 13 return hweight16(self->accel_mask); in adf_gen2_get_num_accels()
|
/openbmc/linux/drivers/hwmon/ |
H A D | ina3221.c | 185 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 D | twl4030_keypad.c | 185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-si521xx.c | 317 for (i = 0; i < hweight16(chip_info); i++) { in si521xx_probe()
|