Home
last modified time | relevance | path

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

12

/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()
/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()
823 ss, hweight16(enabled_eus), enabled_eus); in sseu_print_hsw_topology()
839 hweight16(enabled_eus), enabled_eus); in sseu_print_xehp_topology()
/linux/include/asm-generic/bitops/
H A Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/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
/linux/drivers/net/dsa/microchip/
H A Dksz9477_acl.c275 if (contiguous_count != hweight16(val)) { in ksz9477_acl_get_cont_entr()
347 original_bit_count = hweight16(rule_linkage); in ksz9477_acl_update_linkage()
373 if (original_bit_count != hweight16(rule_linkage)) { in ksz9477_acl_update_linkage()
/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()
/linux/arch/arm64/kernel/
H A Dcompat_alignment.c122 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
/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()
/linux/fs/minix/
H A Dbitmap.c36 sum += 16 - hweight16(*p++); in count_free()
/linux/drivers/mtd/parsers/
H A Dsharpslpart.c156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
/linux/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()
/linux/drivers/clk/
H A Dclk-si521xx.c317 for (i = 0; i < hweight16(chip_info); i++) { in si521xx_probe()
/linux/drivers/hwmon/
H A Dina3221.c193 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); in ina3221_interval_ms_to_conv_time()
204 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); in ina3221_reg_to_interval_us()
/linux/drivers/net/wireless/mediatek/mt76/
H A Deeprom.c384 txs_delta = mt76_get_txs_delta(np, hweight16(phy->chainmask)); in mt76_get_rate_power_limits()
/linux/arch/x86/kernel/
H A Daperture_64.c190 nbits = hweight16(apsize); in read_agp()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.h522 int n_chains = hweight16(mphy->chainmask); in mt7915_get_power_bound()
/linux/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()
/linux/net/mac80211/
H A Dlink.c190 WARN_ON(hweight16(sdata->vif.active_links) > 1); in ieee80211_set_vif_links_bitmaps()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.h71 #define NUM_XCC(x) hweight16(x)
/linux/drivers/char/agp/
H A Damd64-agp.c296 order = 7 - hweight16(apsize); in fix_northbridge()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c252 min_t(u16, hweight16(pmdemand_state->active_combo_phys_mask), in intel_pmdemand_update_active_non_tc_phys()
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_hal.c628 dead_cores = hweight16(emu_fuse.s.se_fuse); in nitrox_get_hwinfo()
/linux/security/tomoyo/
H A Dutil.c1093 count += hweight16(perm); in tomoyo_domain_quota_is_ok()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.h816 int n_chains = hweight16(mphy->chainmask); in mt7996_get_power_bound()

12