Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arc/include/asm/
H A Dbitops.h16 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/u-boot/arch/m68k/include/asm/
H A Dbitops.h50 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/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
/OK3568_Linux_fs/kernel/include/asm-generic/bitops/
H A Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/OK3568_Linux_fs/kernel/tools/include/asm-generic/bitops/
H A Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/
H A Dbitops.h151 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/u-boot/arch/nds32/include/asm/
H A Dbitops.h172 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dbitops.h172 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/hw/
H A Ddebug_hw.c86 return hweight16(mask); in show_channel_command()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/
H A Dbitops.h386 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Dbitops.h225 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.c125 sseu->eu_per_subslice = hweight16(eu_en); in gen11_compute_sseu_info()
759 ss, hweight16(enabled_eus), enabled_eus); in intel_sseu_print_topology()
/OK3568_Linux_fs/kernel/fs/minix/
H A Dbitmap.c36 sum += 16 - hweight16(*p++); in count_free()
/OK3568_Linux_fs/kernel/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()
H A Di5k_amb.c261 num_ambs += hweight16(data->amb_present[i] & 0x7fff); in i5k_amb_hwmon_init()
/OK3568_Linux_fs/kernel/drivers/mtd/parsers/
H A Dsharpslpart.c156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dtwl4030_keypad.c185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
H A Dpmic8xxx-keypad.c260 if (hweight16(row_state) > 1) { in pmic8xxx_detect_ghost_keys()
/OK3568_Linux_fs/kernel/drivers/input/joystick/
H A Danalog.c425 hweight16(analog->mask & ANALOG_BTNS_GAMEPAD) + !!(analog->mask & ANALOG_HBTN_CHF) * 4); in analog_name()
429 analog->name, hweight16(analog->mask & ANALOG_HATS_ALL)); in analog_name()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Daperture_64.c180 nbits = hweight16(apsize); in read_agp()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dsm_ftl.c136 if (hweight16(*(uint16_t *)lba) & 1) in sm_get_lba()
183 if (hweight16(*(uint16_t *)tmp) & 0x01) in sm_write_lba()
/OK3568_Linux_fs/u-boot/arch/mips/include/asm/
H A Dbitops.h719 #define hweight16(x) generic_hweight16(x) macro
/OK3568_Linux_fs/kernel/drivers/char/agp/
H A Damd64-agp.c296 order = 7 - hweight16(apsize); in fix_northbridge()
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dutil.c1088 count += hweight16(perm); in tomoyo_domain_quota_is_ok()

12