| /linux/arch/loongarch/kernel/ |
| H A D | cpu-probe.c | 24 unsigned int elf_hwcap __read_mostly; 25 EXPORT_SYMBOL_GPL(elf_hwcap); 74 elf_hwcap &= ~HWCAP_LOONGARCH_LSX; in cpu_final_simd() 79 elf_hwcap &= ~HWCAP_LOONGARCH_LASX; in cpu_final_simd() 142 elf_hwcap = HWCAP_LOONGARCH_CPUCFG; in cpu_probe_common() 168 elf_hwcap |= HWCAP_LOONGARCH_UAL; in cpu_probe_common() 172 elf_hwcap |= HWCAP_LOONGARCH_CRC32; in cpu_probe_common() 178 elf_hwcap |= HWCAP_LOONGARCH_LAM; in cpu_probe_common() 182 elf_hwcap |= HWCAP_LOONGARCH_FPU; in cpu_probe_common() 187 elf_hwcap |= HWCAP_LOONGARCH_LSX; in cpu_probe_common() [all …]
|
| /linux/arch/arm/kernel/ |
| H A 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()
|
| H A D | setup.c | 100 unsigned int elf_hwcap __read_mostly; 101 EXPORT_SYMBOL(elf_hwcap); 420 if (!(elf_hwcap & mask)) in patch_aeabi_idiv() 454 elf_hwcap |= HWCAP_IDIVA; in cpuid_init_hwcaps() 456 elf_hwcap |= HWCAP_IDIVT; in cpuid_init_hwcaps() 461 elf_hwcap |= HWCAP_LPAE; in cpuid_init_hwcaps() 507 elf_hwcap &= ~HWCAP_TLS; in elf_hwcap_fixup() 523 elf_hwcap &= ~HWCAP_SWP; in elf_hwcap_fixup() 727 elf_hwcap = list->elf_hwcap; in setup_processor() 733 elf_hwcap &= ~(HWCAP_THUMB | HWCAP_IDIVT); in setup_processor() [all …]
|
| H A D | thumbee.c | 64 elf_hwcap |= HWCAP_THUMBEE; in thumbee_init()
|
| /linux/arch/arm/vfp/ |
| H A D | vfpmodule.c | 968 elf_hwcap |= HWCAP_NEON; in vfp_init() 977 elf_hwcap |= HWCAP_VFPv3; in vfp_init() 985 elf_hwcap |= HWCAP_VFPv3D16; in vfp_init() 987 elf_hwcap |= HWCAP_VFPD32; in vfp_init() 991 elf_hwcap |= HWCAP_VFPv4; in vfp_init() 993 elf_hwcap |= HWCAP_ASIMDHP; in vfp_init() 995 elf_hwcap |= HWCAP_FPHP; in vfp_init() 1004 elf_hwcap |= HWCAP_ASIMDDP; in vfp_init() 1010 elf_hwcap |= HWCAP_ASIMDFHM; in vfp_init() 1016 elf_hwcap |= HWCAP_ASIMDBF16; in vfp_init() [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | hwcap.h | 12 #define ELF_HWCAP (elf_hwcap) 14 extern unsigned int elf_hwcap, elf_hwcap2;
|
| H A D | arch_timer.h | 137 elf_hwcap |= HWCAP_EVTSTRM; in arch_timer_set_evtstrm_feature() 142 return elf_hwcap & HWCAP_EVTSTRM; in arch_timer_have_evtstrm_feature()
|
| H A D | tls.h | 27 ldr_va \tmp1, elf_hwcap 56 #define has_tls_reg (elf_hwcap & HWCAP_TLS)
|
| H A D | ptrace.h | 71 if (elf_hwcap & HWCAP_26BIT && mode == USR26_MODE) in valid_user_regs() 79 if (!(elf_hwcap & HWCAP_26BIT)) in valid_user_regs()
|
| H A D | neon.h | 10 #define cpu_has_neon() (!!(elf_hwcap & HWCAP_NEON))
|
| H A D | procinfo.h | 34 unsigned int elf_hwcap; member
|
| H A D | cpufeature.h | 32 return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32); in cpu_have_feature()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | cpufeature.h | 15 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) 21 return elf_hwcap & (1UL << num); in cpu_have_feature()
|
| H A D | elf.h | 308 #define ELF_HWCAP (elf_hwcap) 309 extern unsigned int elf_hwcap;
|
| /linux/arch/mips/include/asm/ |
| H A D | cpufeature.h | 13 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) 19 return elf_hwcap & (1UL << num); in cpu_have_feature()
|
| /linux/arch/riscv/kernel/ |
| H A D | cpufeature.c | 38 unsigned long elf_hwcap __read_mostly; 886 if (elf_hwcap) in riscv_fill_hwcap_from_isa_string() 887 elf_hwcap &= this_hwcap; in riscv_fill_hwcap_from_isa_string() 889 elf_hwcap = this_hwcap; in riscv_fill_hwcap_from_isa_string() 1037 if (elf_hwcap) in riscv_fill_hwcap_from_ext_list() 1038 elf_hwcap &= this_hwcap; in riscv_fill_hwcap_from_ext_list() 1040 elf_hwcap = this_hwcap; in riscv_fill_hwcap_from_ext_list() 1108 if ((elf_hwcap & COMPAT_HWCAP_ISA_F) && !(elf_hwcap & COMPAT_HWCAP_ISA_D)) { in riscv_fill_hwcap() 1110 elf_hwcap &= ~COMPAT_HWCAP_ISA_F; in riscv_fill_hwcap() 1129 if (elf_hwcap & BIT_MASK(i)) in riscv_fill_hwcap() [all …]
|
| /linux/arch/arm/mach-imx/ |
| H A D | cpu-imx5.c | 78 (elf_hwcap & HWCAP_NEON)) { in mx51_neon_fixup() 79 elf_hwcap &= ~HWCAP_NEON; in mx51_neon_fixup()
|
| /linux/arch/mips/kernel/ |
| H A D | cpu-probe.c | 38 unsigned int elf_hwcap __read_mostly; 39 EXPORT_SYMBOL_GPL(elf_hwcap); 673 elf_hwcap |= HWCAP_MIPS_CRC32; in decode_config5() 1946 elf_hwcap |= HWCAP_MIPS_R6; in cpu_probe() 1952 elf_hwcap |= HWCAP_MIPS_MSA; in cpu_probe() 1956 elf_hwcap |= HWCAP_MIPS_MIPS16; in cpu_probe() 1959 elf_hwcap |= HWCAP_MIPS_MDMX; in cpu_probe() 1962 elf_hwcap |= HWCAP_MIPS_MIPS3D; in cpu_probe() 1965 elf_hwcap |= HWCAP_MIPS_SMARTMIPS; in cpu_probe() 1968 elf_hwcap |= HWCAP_MIPS_DSP; in cpu_probe() [all …]
|
| H A D | cpu-r3k-probe.c | 29 unsigned int elf_hwcap __read_mostly; 30 EXPORT_SYMBOL_GPL(elf_hwcap);
|
| /linux/lib/crypto/arm/ |
| H A D | curve25519.h | 44 if (elf_hwcap & HWCAP_NEON) in curve25519_mod_init_arch()
|
| H A D | blake2b.h | 38 if (elf_hwcap & HWCAP_NEON) in blake2b_mod_init_arch()
|
| H A D | sha256.h | 40 if (elf_hwcap & HWCAP_NEON) { in sha256_mod_init_arch()
|
| H A D | sha1.h | 39 if (elf_hwcap & HWCAP_NEON) { in sha1_mod_init_arch()
|
| /linux/arch/s390/kernel/ |
| H A D | cpufeature.c | 42 return !!(elf_hwcap & BIT(feature->num)); in cpu_have_feature()
|
| /linux/lib/crc/arm/ |
| H A D | crc-t10dif.h | 41 if (elf_hwcap & HWCAP_NEON) { in crc_t10dif_mod_init_arch()
|