/Linux-v5.4/drivers/mtd/nand/raw/ |
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-v5.4/include/asm-generic/bitops/ |
D | const_hweight.h | 27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
|
/Linux-v5.4/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
|
/Linux-v5.4/drivers/gpu/host1x/hw/ |
D | debug_hw.c | 86 return hweight16(mask); in show_channel_command()
|
/Linux-v5.4/fs/minix/ |
D | bitmap.c | 36 sum += 16 - hweight16(*p++); in count_free()
|
/Linux-v5.4/drivers/hwmon/ |
D | ina3221.c | 142 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); in ina3221_interval_ms_to_conv_time() 153 u32 channels = hweight16(config & INA3221_CONFIG_CHs_EN_MASK); in ina3221_reg_to_interval_us()
|
D | i5k_amb.c | 261 num_ambs += hweight16(data->amb_present[i] & 0x7fff); in i5k_amb_hwmon_init()
|
/Linux-v5.4/drivers/mtd/parsers/ |
D | sharpslpart.c | 156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
|
/Linux-v5.4/drivers/input/keyboard/ |
D | twl4030_keypad.c | 185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
|
D | pmic8xxx-keypad.c | 260 if (hweight16(row_state) > 1) { in pmic8xxx_detect_ghost_keys()
|
/Linux-v5.4/arch/x86/kernel/ |
D | aperture_64.c | 180 nbits = hweight16(apsize); in read_agp()
|
/Linux-v5.4/drivers/input/joystick/ |
D | analog.c | 425 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()
|
/Linux-v5.4/arch/unicore32/mm/ |
D | alignment.c | 298 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
|
/Linux-v5.4/drivers/mtd/ |
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-v5.4/drivers/char/agp/ |
D | amd64-agp.c | 296 order = 7 - hweight16(apsize); in fix_northbridge()
|
/Linux-v5.4/drivers/crypto/cavium/nitrox/ |
D | nitrox_hal.c | 627 dead_cores = hweight16(emu_fuse.s.se_fuse); in nitrox_get_hwinfo()
|
/Linux-v5.4/arch/arm/mm/ |
D | alignment.c | 514 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | intel_device_info.c | 171 ss, hweight16(enabled_eus), enabled_eus); in intel_device_info_dump_topology()
|
/Linux-v5.4/arch/arm/net/ |
D | bpf_jit_32.c | 110 #define EBPF_SCRATCH_TO_ARM_FP(x) ((x) - 4 * hweight16(CALLEE_PUSH_MASK) - 4) 1312 emit(ARM_SUB_I(ARM_SP, ARM_FP, hweight16(reg_set) * 4), ctx); in build_epilogue()
|
/Linux-v5.4/sound/usb/ |
D | midi.c | 2466 out_ports += hweight16(endpoints[i].out_cables); in __snd_usbmidi_create() 2467 in_ports += hweight16(endpoints[i].in_cables); in __snd_usbmidi_create()
|
/Linux-v5.4/arch/x86/kvm/ |
D | lapic.c | 928 lowest = kvm_vector_to_index(irq->vector, hweight16(*bitmap), in kvm_apic_map_get_dest_lapic() 1005 hweight16(bitmap) == 1) { in kvm_intr_is_single_vcpu_fast()
|
/Linux-v5.4/drivers/platform/x86/ |
D | dell-laptop.c | 1397 return hweight16(kbd_token_bits); in kbd_get_valid_token_counts()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_sdvo.c | 1938 return hweight16(intel_sdvo->caps.output_flags) > 1; in intel_sdvo_multifunc_encoder() 2505 num_bits = hweight16(mask); in intel_sdvo_guess_ddc_bus()
|
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1297 if (hweight16(rule->hek_fields) > MVPP2_FLOW_N_FIELDS) in mvpp2_cls_c2_build_match()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sta.c | 664 shared_queue = hweight16(mvm->queue_info[queue].tid_bitmap) > 1; in iwl_mvm_redirect_queue() 1076 if (hweight16(mvm->queue_info[queue].tid_bitmap) == 1 && in iwl_mvm_remove_inactive_tids()
|