/Linux-v4.19/arch/nds32/kernel/ |
D | setup.c | 48 unsigned int elf_hwcap; variable 49 EXPORT_SYMBOL(elf_hwcap); 92 if (elf_hwcap & (1 << i)) { in dump_cpu_info() 160 elf_hwcap |= HWCAP_MFUSR_PC; in setup_cpuinfo() 164 elf_hwcap |= HWCAP_DIV; in setup_cpuinfo() 168 elf_hwcap |= HWCAP_MAC; in setup_cpuinfo() 170 elf_hwcap |= HWCAP_V2; in setup_cpuinfo() 171 elf_hwcap |= HWCAP_DIV; in setup_cpuinfo() 172 elf_hwcap |= HWCAP_MAC; in setup_cpuinfo() 176 elf_hwcap |= HWCAP_EXT; in setup_cpuinfo() [all …]
|
/Linux-v4.19/arch/riscv/kernel/ |
D | cpufeature.c | 24 unsigned long elf_hwcap __read_mostly; 40 elf_hwcap = 0; in riscv_fill_hwcap() 58 elf_hwcap |= isa2hwcap[(unsigned char)(isa[i])]; in riscv_fill_hwcap() 60 pr_info("elf_hwcap is 0x%lx", elf_hwcap); in riscv_fill_hwcap()
|
/Linux-v4.19/arch/arm/kernel/ |
D | elf.c | 20 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()
|
D | setup.c | 109 unsigned int elf_hwcap __read_mostly; 110 EXPORT_SYMBOL(elf_hwcap); 424 if (!(elf_hwcap & mask)) in patch_aeabi_idiv() 456 elf_hwcap |= HWCAP_IDIVA; in cpuid_init_hwcaps() 458 elf_hwcap |= HWCAP_IDIVT; in cpuid_init_hwcaps() 463 elf_hwcap |= HWCAP_LPAE; in cpuid_init_hwcaps() 497 elf_hwcap &= ~HWCAP_TLS; in elf_hwcap_fixup() 513 elf_hwcap &= ~HWCAP_SWP; in elf_hwcap_fixup() 710 elf_hwcap = list->elf_hwcap; in setup_processor() 716 elf_hwcap &= ~(HWCAP_THUMB | HWCAP_IDIVT); in setup_processor() [all …]
|
/Linux-v4.19/arch/s390/kernel/ |
D | setup.c | 86 unsigned long elf_hwcap __read_mostly = 0; 733 elf_hwcap |= 1UL << i; in setup_hwcaps() 736 elf_hwcap |= HWCAP_S390_ETF3EH; in setup_hwcaps() 751 if ((elf_hwcap & (1UL << 2)) && test_facility(42) && test_facility(44)) in setup_hwcaps() 752 elf_hwcap |= HWCAP_S390_DFP; in setup_hwcaps() 758 elf_hwcap |= HWCAP_S390_HPAGE; in setup_hwcaps() 764 elf_hwcap |= HWCAP_S390_HIGH_GPRS; in setup_hwcaps() 770 elf_hwcap |= HWCAP_S390_TE; in setup_hwcaps() 778 elf_hwcap |= HWCAP_S390_VXRS; in setup_hwcaps() 780 elf_hwcap |= HWCAP_S390_VXRS_EXT; in setup_hwcaps() [all …]
|
D | processor.c | 92 return elf_hwcap & (1UL << num); in cpu_have_feature() 127 if (hwcap_str[i] && (elf_hwcap & (1UL << i))) in show_cpu_summary()
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | hwcap.h | 29 #define ELF_HWCAP (elf_hwcap) 35 extern unsigned long elf_hwcap;
|
D | elf.h | 62 #define ELF_HWCAP (elf_hwcap) 63 extern unsigned long elf_hwcap;
|
/Linux-v4.19/arch/arm/include/asm/ |
D | hwcap.h | 12 #define ELF_HWCAP (elf_hwcap) 14 extern unsigned int elf_hwcap, elf_hwcap2;
|
D | ptrace.h | 73 if (elf_hwcap & HWCAP_26BIT && mode == USR26_MODE) in valid_user_regs() 81 if (!(elf_hwcap & HWCAP_26BIT)) in valid_user_regs()
|
D | tls.h | 21 ldr \tmp1, =elf_hwcap 44 #define has_tls_reg (elf_hwcap & HWCAP_TLS)
|
D | neon.h | 13 #define cpu_has_neon() (!!(elf_hwcap & HWCAP_NEON))
|
D | vfpmacros.h | 29 ldr \tmp, =elf_hwcap @ may not have MVFR regs 53 ldr \tmp, =elf_hwcap @ may not have MVFR regs
|
D | procinfo.h | 37 unsigned int elf_hwcap; member
|
D | cpufeature.h | 35 return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32); in cpu_have_feature()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | cpufeature.h | 17 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) 23 return elf_hwcap & (1UL << num); in cpu_have_feature()
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | hwcap.h | 47 #define ELF_HWCAP (elf_hwcap) 63 extern unsigned long elf_hwcap;
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | cpu-imx5.c | 83 (elf_hwcap & HWCAP_NEON)) { in mx51_neon_fixup() 84 elf_hwcap &= ~HWCAP_NEON; in mx51_neon_fixup()
|
/Linux-v4.19/arch/nds32/include/asm/ |
D | elf.h | 16 extern unsigned int elf_hwcap; 147 #define ELF_HWCAP (elf_hwcap)
|
/Linux-v4.19/arch/arm/vfp/ |
D | vfpmodule.c | 765 elf_hwcap |= HWCAP_NEON; in vfp_init() 771 elf_hwcap |= HWCAP_VFPv3; in vfp_init() 779 elf_hwcap |= HWCAP_VFPv3D16; in vfp_init() 781 elf_hwcap |= HWCAP_VFPD32; in vfp_init() 785 elf_hwcap |= HWCAP_VFPv4; in vfp_init() 810 elf_hwcap |= HWCAP_VFP; in vfp_init()
|
/Linux-v4.19/arch/arm64/crypto/ |
D | crc32-ce-glue.c | 211 if (IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && (elf_hwcap & HWCAP_PMULL)) { in crc32_pmull_mod_init() 215 if (elf_hwcap & HWCAP_CRC32) { in crc32_pmull_mod_init() 222 } else if (!(elf_hwcap & HWCAP_CRC32)) { in crc32_pmull_mod_init()
|
D | sha256-glue.c | 176 if (elf_hwcap & HWCAP_ASIMD) { in sha256_mod_init() 186 if (elf_hwcap & HWCAP_ASIMD) in sha256_mod_fini()
|
/Linux-v4.19/arch/c6x/include/asm/ |
D | procinfo.h | 20 unsigned int elf_hwcap; member
|
/Linux-v4.19/arch/s390/include/asm/ |
D | cpufeature.h | 23 #define MAX_ELF_HWCAP_FEATURES (8 * sizeof(elf_hwcap))
|
D | elf.h | 209 extern unsigned long elf_hwcap; 210 #define ELF_HWCAP (elf_hwcap)
|