Home
last modified time | relevance | path

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

12

/arch/arm/kernel/
Delf.c18 if (!(elf_hwcap & HWCAP_THUMB)) in elf_check_arch()
28 if ((eflags & EF_ARM_APCS_26) && !(elf_hwcap & HWCAP_26BIT)) in elf_check_arch()
34 if (flt_fmt == EF_ARM_VFP_FLOAT && !(elf_hwcap & HWCAP_VFP)) in elf_check_arch()
69 if (elf_hwcap & HWCAP_IWMMXT && in elf_set_personality()
Dsetup.c97 unsigned int elf_hwcap __read_mostly;
98 EXPORT_SYMBOL(elf_hwcap);
367 elf_hwcap |= HWCAP_IDIVA; in cpuid_init_hwcaps()
369 elf_hwcap |= HWCAP_IDIVT; in cpuid_init_hwcaps()
385 elf_hwcap &= ~HWCAP_TLS; in feat_v6_fixup()
502 elf_hwcap = list->elf_hwcap; in setup_processor()
507 elf_hwcap &= ~(HWCAP_THUMB | HWCAP_IDIVT); in setup_processor()
910 if (elf_hwcap & (1 << j)) in c_show()
Dthumbee.c76 elf_hwcap |= HWCAP_THUMBEE; in thumbee_init()
Dpj4-cp0.c87 elf_hwcap |= HWCAP_IWMMXT; in pj4_cp0_init()
Dxscale-cp0.c164 elf_hwcap |= HWCAP_IWMMXT; in xscale_cp0_init()
/arch/arm/include/asm/
Dhwcap.h11 #define ELF_HWCAP (elf_hwcap)
12 extern unsigned int elf_hwcap;
Dtls.h15 ldr \tmp1, =elf_hwcap
37 #define has_tls_reg (elf_hwcap & HWCAP_TLS)
Dneon.h13 #define cpu_has_neon() (!!(elf_hwcap & HWCAP_NEON))
Dptrace.h58 if (elf_hwcap & HWCAP_26BIT && mode == USR26_MODE) in valid_user_regs()
66 if (!(elf_hwcap & HWCAP_26BIT)) in valid_user_regs()
Dprocinfo.h37 unsigned int elf_hwcap; member
Dvfpmacros.h28 ldr \tmp, =elf_hwcap @ may not have MVFR regs
52 ldr \tmp, =elf_hwcap @ may not have MVFR regs
Darch_timer.h126 elf_hwcap |= HWCAP_EVTSTRM; in arch_timer_evtstrm_enable()
/arch/arm64/include/asm/
Dcpufeature.h21 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap))
26 return elf_hwcap & (1UL << num); in cpu_have_feature()
Dhwcap.h46 #define ELF_HWCAP (elf_hwcap)
54 extern unsigned long elf_hwcap;
Darch_timer.h137 elf_hwcap |= HWCAP_EVTSTRM; in arch_timer_evtstrm_enable()
/arch/arm64/kernel/
Dsetup.c62 unsigned long elf_hwcap __read_mostly;
63 EXPORT_SYMBOL_GPL(elf_hwcap);
215 elf_hwcap = 0; in setup_processor()
228 elf_hwcap |= HWCAP_PMULL; in setup_processor()
230 elf_hwcap |= HWCAP_AES; in setup_processor()
238 elf_hwcap |= HWCAP_SHA1; in setup_processor()
242 elf_hwcap |= HWCAP_SHA2; in setup_processor()
246 elf_hwcap |= HWCAP_CRC32; in setup_processor()
503 if (elf_hwcap & (1 << i)) in c_show()
Dfpsimd.c310 elf_hwcap |= HWCAP_FP; in fpsimd_init()
315 elf_hwcap |= HWCAP_ASIMD; in fpsimd_init()
/arch/arm/mach-imx/
Dcpu-imx5.c69 (elf_hwcap & HWCAP_NEON)) { in mx51_neon_fixup()
70 elf_hwcap &= ~HWCAP_NEON; in mx51_neon_fixup()
/arch/c6x/include/asm/
Dprocinfo.h20 unsigned int elf_hwcap; member
/arch/s390/include/asm/
Delf.h171 extern unsigned long elf_hwcap;
172 #define ELF_HWCAP (elf_hwcap)
/arch/arm/vfp/
Dvfpmodule.c745 elf_hwcap |= HWCAP_VFP; in vfp_init()
748 elf_hwcap |= HWCAP_VFPv3; in vfp_init()
756 elf_hwcap |= HWCAP_VFPv3D16; /* also v4-D16 */ in vfp_init()
758 elf_hwcap |= HWCAP_VFPD32; in vfp_init()
770 elf_hwcap |= HWCAP_NEON; in vfp_init()
774 elf_hwcap |= HWCAP_VFPv4; in vfp_init()
/arch/s390/kernel/
Dsetup.c91 unsigned long elf_hwcap = 0; variable
928 elf_hwcap |= 1UL << i; in setup_hwcaps()
931 elf_hwcap |= HWCAP_S390_ETF3EH; in setup_hwcaps()
946 if ((elf_hwcap & (1UL << 2)) && test_facility(42) && test_facility(44)) in setup_hwcaps()
947 elf_hwcap |= HWCAP_S390_DFP; in setup_hwcaps()
953 elf_hwcap |= HWCAP_S390_HPAGE; in setup_hwcaps()
960 elf_hwcap |= HWCAP_S390_HIGH_GPRS; in setup_hwcaps()
966 elf_hwcap |= HWCAP_S390_TE; in setup_hwcaps()
Dprocessor.c58 if (hwcap_str[i] && (elf_hwcap & (1UL << i))) in show_cpuinfo()
/arch/arm/mach-ep93xx/
Dcrunch.c85 elf_hwcap |= HWCAP_CRUNCH; in crunch_init()
/arch/arm/mach-pxa/
Dpm.c31 if (elf_hwcap & HWCAP_IWMMXT) in pxa_pm_enter()

12