/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()
|
/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() 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 D | const_hweight.h | 27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
|
/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
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477_acl.c | 275 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 D | adf_gen2_hw_data.c | 13 return hweight16(self->accel_mask); in adf_gen2_get_num_accels()
|
/linux/arch/arm64/kernel/ |
H A D | compat_alignment.c | 122 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
|
/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()
|
/linux/fs/minix/ |
H A D | bitmap.c | 36 sum += 16 - hweight16(*p++); in count_free()
|
/linux/drivers/mtd/parsers/ |
H A D | sharpslpart.c | 156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
|
/linux/drivers/input/keyboard/ |
H A D | twl4030_keypad.c | 185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
|
H A D | pmic8xxx-keypad.c | 260 if (hweight16(row_state) > 1) { in pmic8xxx_detect_ghost_keys()
|
/linux/drivers/clk/ |
H A D | clk-si521xx.c | 317 for (i = 0; i < hweight16(chip_info); i++) { in si521xx_probe()
|
/linux/drivers/hwmon/ |
H A D | ina3221.c | 193 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 D | eeprom.c | 384 txs_delta = mt76_get_txs_delta(np, hweight16(phy->chainmask)); in mt76_get_rate_power_limits()
|
/linux/arch/x86/kernel/ |
H A D | aperture_64.c | 190 nbits = hweight16(apsize); in read_agp()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.h | 522 int n_chains = hweight16(mphy->chainmask); in mt7915_get_power_bound()
|
/linux/drivers/mtd/ |
H A D | sm_ftl.c | 136 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 D | link.c | 190 WARN_ON(hweight16(sdata->vif.active_links) > 1); in ieee80211_set_vif_links_bitmaps()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gfx.h | 71 #define NUM_XCC(x) hweight16(x)
|
/linux/drivers/char/agp/ |
H A D | amd64-agp.c | 296 order = 7 - hweight16(apsize); in fix_northbridge()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_pmdemand.c | 252 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 D | nitrox_hal.c | 628 dead_cores = hweight16(emu_fuse.s.se_fuse); in nitrox_get_hwinfo()
|
/linux/security/tomoyo/ |
H A D | util.c | 1093 count += hweight16(perm); in tomoyo_domain_quota_is_ok()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.h | 816 int n_chains = hweight16(mphy->chainmask); in mt7996_get_power_bound()
|