Home
last modified time | relevance | path

Searched refs:elf_hwcap (Results 1 – 25 of 46) sorted by relevance

12

/linux/arch/s390/kernel/
A Dprocessor.c179 elf_hwcap |= HWCAP_ZARCH; in setup_hwcaps()
187 elf_hwcap |= HWCAP_MSA; in setup_hwcaps()
195 elf_hwcap |= HWCAP_EIMM; in setup_hwcaps()
203 elf_hwcap |= HWCAP_DFP; in setup_hwcaps()
214 elf_hwcap |= HWCAP_TE; in setup_hwcaps()
221 elf_hwcap |= HWCAP_VXRS; in setup_hwcaps()
235 elf_hwcap |= HWCAP_SORT; in setup_hwcaps()
238 elf_hwcap |= HWCAP_DFLT; in setup_hwcaps()
241 elf_hwcap |= HWCAP_NNPA; in setup_hwcaps()
245 elf_hwcap |= HWCAP_GS; in setup_hwcaps()
[all …]
/linux/arch/nds32/kernel/
A Dsetup.c50 unsigned int elf_hwcap; variable
51 EXPORT_SYMBOL(elf_hwcap);
173 elf_hwcap |= HWCAP_DIV; in setup_cpuinfo()
179 elf_hwcap |= HWCAP_V2; in setup_cpuinfo()
180 elf_hwcap |= HWCAP_DIV; in setup_cpuinfo()
181 elf_hwcap |= HWCAP_MAC; in setup_cpuinfo()
185 elf_hwcap |= HWCAP_EXT; in setup_cpuinfo()
194 elf_hwcap |= HWCAP_FPU; in setup_cpuinfo()
206 elf_hwcap |= HWCAP_EDM; in setup_cpuinfo()
212 elf_hwcap |= HWCAP_PFM; in setup_cpuinfo()
[all …]
/linux/arch/riscv/kernel/
A Dcpufeature.c16 unsigned long elf_hwcap __read_mostly;
77 elf_hwcap = 0; in riscv_fill_hwcap()
117 if (elf_hwcap) in riscv_fill_hwcap()
118 elf_hwcap &= this_hwcap; in riscv_fill_hwcap()
120 elf_hwcap = this_hwcap; in riscv_fill_hwcap()
130 if ((elf_hwcap & COMPAT_HWCAP_ISA_F) && !(elf_hwcap & COMPAT_HWCAP_ISA_D)) { in riscv_fill_hwcap()
132 elf_hwcap &= ~COMPAT_HWCAP_ISA_F; in riscv_fill_hwcap()
143 if (elf_hwcap & BIT_MASK(i)) in riscv_fill_hwcap()
148 if (elf_hwcap & (COMPAT_HWCAP_ISA_F | COMPAT_HWCAP_ISA_D)) in riscv_fill_hwcap()
/linux/arch/arm/kernel/
A Delf.c20 if (!(elf_hwcap & HWCAP_THUMB)) in elf_check_arch()
30 if ((eflags & EF_ARM_APCS_26) && !(elf_hwcap & HWCAP_26BIT)) in elf_check_arch()
36 if (flt_fmt == EF_ARM_VFP_FLOAT && !(elf_hwcap & HWCAP_VFP)) in elf_check_arch()
71 if (elf_hwcap & HWCAP_IWMMXT && in elf_set_personality()
A Dsetup.c107 unsigned int elf_hwcap __read_mostly;
108 EXPORT_SYMBOL(elf_hwcap);
427 if (!(elf_hwcap & mask)) in patch_aeabi_idiv()
459 elf_hwcap |= HWCAP_IDIVA; in cpuid_init_hwcaps()
461 elf_hwcap |= HWCAP_IDIVT; in cpuid_init_hwcaps()
466 elf_hwcap |= HWCAP_LPAE; in cpuid_init_hwcaps()
500 elf_hwcap &= ~HWCAP_TLS; in elf_hwcap_fixup()
516 elf_hwcap &= ~HWCAP_SWP; in elf_hwcap_fixup()
720 elf_hwcap = list->elf_hwcap; in setup_processor()
726 elf_hwcap &= ~(HWCAP_THUMB | HWCAP_IDIVT); in setup_processor()
[all …]
A Dthumbee.c64 elf_hwcap |= HWCAP_THUMBEE; in thumbee_init()
/linux/arch/arm/include/asm/
A Dhwcap.h12 #define ELF_HWCAP (elf_hwcap)
14 extern unsigned int elf_hwcap, elf_hwcap2;
A Darch_timer.h137 elf_hwcap |= HWCAP_EVTSTRM; in arch_timer_set_evtstrm_feature()
142 return elf_hwcap & HWCAP_EVTSTRM; in arch_timer_have_evtstrm_feature()
A Dptrace.h69 if (elf_hwcap & HWCAP_26BIT && mode == USR26_MODE) in valid_user_regs()
77 if (!(elf_hwcap & HWCAP_26BIT)) in valid_user_regs()
A Dtls.h21 ldr \tmp1, =elf_hwcap
45 #define has_tls_reg (elf_hwcap & HWCAP_TLS)
A Dvfpmacros.h41 ldr \tmp, =elf_hwcap @ may not have MVFR regs
66 ldr \tmp, =elf_hwcap @ may not have MVFR regs
A Dneon.h10 #define cpu_has_neon() (!!(elf_hwcap & HWCAP_NEON))
A Dcpufeature.h32 return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32); in cpu_have_feature()
A Dprocinfo.h34 unsigned int elf_hwcap; member
/linux/arch/mips/include/asm/
A Dcpufeature.h13 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap))
19 return elf_hwcap & (1UL << num); in cpu_have_feature()
/linux/arch/riscv/include/asm/
A Dhwcap.h19 #define ELF_HWCAP (elf_hwcap)
25 extern unsigned long elf_hwcap;
A Delf.h53 #define ELF_HWCAP (elf_hwcap)
54 extern unsigned long elf_hwcap;
/linux/arch/mips/kernel/
A Dcpu-probe.c37 unsigned int elf_hwcap __read_mostly;
38 EXPORT_SYMBOL_GPL(elf_hwcap);
671 elf_hwcap |= HWCAP_MIPS_CRC32; in decode_config5()
2000 elf_hwcap |= HWCAP_MIPS_R6; in cpu_probe()
2006 elf_hwcap |= HWCAP_MIPS_MSA; in cpu_probe()
2010 elf_hwcap |= HWCAP_MIPS_MIPS16; in cpu_probe()
2013 elf_hwcap |= HWCAP_MIPS_MDMX; in cpu_probe()
2016 elf_hwcap |= HWCAP_MIPS_MIPS3D; in cpu_probe()
2022 elf_hwcap |= HWCAP_MIPS_DSP; in cpu_probe()
2025 elf_hwcap |= HWCAP_MIPS_DSP2; in cpu_probe()
[all …]
A Dcpu-r3k-probe.c29 unsigned int elf_hwcap __read_mostly;
30 EXPORT_SYMBOL_GPL(elf_hwcap);
/linux/arch/arm/vfp/
A Dvfpmodule.c813 elf_hwcap |= HWCAP_NEON; in vfp_init()
819 elf_hwcap |= HWCAP_VFPv3; in vfp_init()
827 elf_hwcap |= HWCAP_VFPv3D16; in vfp_init()
829 elf_hwcap |= HWCAP_VFPD32; in vfp_init()
833 elf_hwcap |= HWCAP_VFPv4; in vfp_init()
858 elf_hwcap |= HWCAP_VFP; in vfp_init()
/linux/arch/arm/mach-imx/
A Dcpu-imx5.c77 (elf_hwcap & HWCAP_NEON)) { in mx51_neon_fixup()
78 elf_hwcap &= ~HWCAP_NEON; in mx51_neon_fixup()
/linux/arch/nds32/include/asm/
A Delf.h18 extern unsigned int elf_hwcap;
146 #define ELF_HWCAP (elf_hwcap)
/linux/arch/arm/crypto/
A Dcurve25519-glue.c117 if (elf_hwcap & HWCAP_NEON) { in arm_curve25519_init()
127 if (IS_REACHABLE(CONFIG_CRYPTO_KPP) && elf_hwcap & HWCAP_NEON) in arm_curve25519_exit()
/linux/arch/s390/include/asm/
A Delf.h237 extern unsigned long elf_hwcap;
238 #define ELF_HWCAP (elf_hwcap)
A Dcpufeature.h23 #define MAX_ELF_HWCAP_FEATURES (8 * sizeof(elf_hwcap))

Completed in 35 milliseconds

12