Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/mtd/nand/raw/
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-v5.4/include/asm-generic/bitops/
Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/Linux-v5.4/tools/include/asm-generic/bitops/
Dconst_hweight.h27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) macro
/Linux-v5.4/drivers/gpu/host1x/hw/
Ddebug_hw.c86 return hweight16(mask); in show_channel_command()
/Linux-v5.4/fs/minix/
Dbitmap.c36 sum += 16 - hweight16(*p++); in count_free()
/Linux-v5.4/drivers/hwmon/
Dina3221.c142 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()
Di5k_amb.c261 num_ambs += hweight16(data->amb_present[i] & 0x7fff); in i5k_amb_hwmon_init()
/Linux-v5.4/drivers/mtd/parsers/
Dsharpslpart.c156 if (hweight16(us) & BLOCK_UNMASK_COMPLEMENT) in sharpsl_nand_get_logical_num()
/Linux-v5.4/drivers/input/keyboard/
Dtwl4030_keypad.c185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
Dpmic8xxx-keypad.c260 if (hweight16(row_state) > 1) { in pmic8xxx_detect_ghost_keys()
/Linux-v5.4/arch/x86/kernel/
Daperture_64.c180 nbits = hweight16(apsize); in read_agp()
/Linux-v5.4/drivers/input/joystick/
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()
/Linux-v5.4/arch/unicore32/mm/
Dalignment.c298 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
/Linux-v5.4/drivers/mtd/
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-v5.4/drivers/char/agp/
Damd64-agp.c296 order = 7 - hweight16(apsize); in fix_northbridge()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_hal.c627 dead_cores = hweight16(emu_fuse.s.se_fuse); in nitrox_get_hwinfo()
/Linux-v5.4/arch/arm/mm/
Dalignment.c514 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_device_info.c171 ss, hweight16(enabled_eus), enabled_eus); in intel_device_info_dump_topology()
/Linux-v5.4/arch/arm/net/
Dbpf_jit_32.c110 #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/
Dmidi.c2466 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/
Dlapic.c928 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/
Ddell-laptop.c1397 return hweight16(kbd_token_bits); in kbd_get_valid_token_counts()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_sdvo.c1938 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/
Dmvpp2_cls.c1297 if (hweight16(rule->hek_fields) > MVPP2_FLOW_N_FIELDS) in mvpp2_cls_c2_build_match()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c664 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()

12