Searched refs:elf_hwcap (Results 1 – 25 of 43) sorted by relevance
12
15 unsigned long elf_hwcap __read_mostly;34 elf_hwcap = 0; in riscv_fill_hwcap()55 if (elf_hwcap) in riscv_fill_hwcap()56 elf_hwcap &= this_hwcap; in riscv_fill_hwcap()58 elf_hwcap = this_hwcap; in riscv_fill_hwcap()63 if ((elf_hwcap & COMPAT_HWCAP_ISA_F) && !(elf_hwcap & COMPAT_HWCAP_ISA_D)) { in riscv_fill_hwcap()65 elf_hwcap &= ~COMPAT_HWCAP_ISA_F; in riscv_fill_hwcap()68 pr_info("elf_hwcap is 0x%lx\n", elf_hwcap); in riscv_fill_hwcap()71 if (elf_hwcap & (COMPAT_HWCAP_ISA_F | COMPAT_HWCAP_ISA_D)) in riscv_fill_hwcap()
50 unsigned int elf_hwcap; variable51 EXPORT_SYMBOL(elf_hwcap);96 if (elf_hwcap & (1 << i)) { in dump_cpu_info()169 elf_hwcap |= HWCAP_MFUSR_PC; in setup_cpuinfo()173 elf_hwcap |= HWCAP_DIV; in setup_cpuinfo()177 elf_hwcap |= HWCAP_MAC; 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()[all …]
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()
106 unsigned int elf_hwcap __read_mostly;107 EXPORT_SYMBOL(elf_hwcap);426 if (!(elf_hwcap & mask)) in patch_aeabi_idiv()458 elf_hwcap |= HWCAP_IDIVA; in cpuid_init_hwcaps()460 elf_hwcap |= HWCAP_IDIVT; in cpuid_init_hwcaps()465 elf_hwcap |= HWCAP_LPAE; in cpuid_init_hwcaps()499 elf_hwcap &= ~HWCAP_TLS; in elf_hwcap_fixup()515 elf_hwcap &= ~HWCAP_SWP; in elf_hwcap_fixup()719 elf_hwcap = list->elf_hwcap; in setup_processor()725 elf_hwcap &= ~(HWCAP_THUMB | HWCAP_IDIVT); in setup_processor()[all …]
64 elf_hwcap |= HWCAP_THUMBEE; in thumbee_init()
18 #define ELF_HWCAP (elf_hwcap)24 extern unsigned long elf_hwcap;
49 #define ELF_HWCAP (elf_hwcap)50 extern unsigned long elf_hwcap;
12 #define ELF_HWCAP (elf_hwcap)14 extern unsigned int elf_hwcap, elf_hwcap2;
130 elf_hwcap |= HWCAP_EVTSTRM; in arch_timer_set_evtstrm_feature()135 return elf_hwcap & HWCAP_EVTSTRM; in arch_timer_have_evtstrm_feature()
10 #define cpu_has_neon() (!!(elf_hwcap & HWCAP_NEON))
32 return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32); in cpu_have_feature()
34 unsigned int elf_hwcap; member
21 ldr \tmp1, =elf_hwcap44 #define has_tls_reg (elf_hwcap & HWCAP_TLS)
70 if (elf_hwcap & HWCAP_26BIT && mode == USR26_MODE) in valid_user_regs()78 if (!(elf_hwcap & HWCAP_26BIT)) in valid_user_regs()
31 ldr \tmp, =elf_hwcap @ may not have MVFR regs56 ldr \tmp, =elf_hwcap @ may not have MVFR regs
13 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap))19 return elf_hwcap & (1UL << num); in cpu_have_feature()
91 unsigned long elf_hwcap __read_mostly = 0;875 elf_hwcap |= 1UL << i; in setup_hwcaps()878 elf_hwcap |= HWCAP_S390_ETF3EH; in setup_hwcaps()893 if ((elf_hwcap & (1UL << 2)) && test_facility(42) && test_facility(44)) in setup_hwcaps()894 elf_hwcap |= HWCAP_S390_DFP; in setup_hwcaps()900 elf_hwcap |= HWCAP_S390_HPAGE; in setup_hwcaps()906 elf_hwcap |= HWCAP_S390_HIGH_GPRS; in setup_hwcaps()912 elf_hwcap |= HWCAP_S390_TE; in setup_hwcaps()920 elf_hwcap |= HWCAP_S390_VXRS; in setup_hwcaps()922 elf_hwcap |= HWCAP_S390_VXRS_BCD; in setup_hwcaps()[all …]
78 (elf_hwcap & HWCAP_NEON)) { in mx51_neon_fixup()79 elf_hwcap &= ~HWCAP_NEON; in mx51_neon_fixup()
18 extern unsigned int elf_hwcap;147 #define ELF_HWCAP (elf_hwcap)
16 unsigned int elf_hwcap; member
23 #define MAX_ELF_HWCAP_FEATURES (8 * sizeof(elf_hwcap))
213 extern unsigned long elf_hwcap;214 #define ELF_HWCAP (elf_hwcap)
813 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()
83 elf_hwcap |= HWCAP_CRUNCH; in crunch_init()
32 unsigned int elf_hwcap __read_mostly;33 EXPORT_SYMBOL_GPL(elf_hwcap);900 elf_hwcap |= HWCAP_MIPS_CRC32; in decode_config5()2174 elf_hwcap |= HWCAP_MIPS_R6; in cpu_probe()2180 elf_hwcap |= HWCAP_MIPS_MSA; in cpu_probe()2184 elf_hwcap |= HWCAP_MIPS_MIPS16; in cpu_probe()2187 elf_hwcap |= HWCAP_MIPS_MDMX; in cpu_probe()2190 elf_hwcap |= HWCAP_MIPS_MIPS3D; in cpu_probe()2193 elf_hwcap |= HWCAP_MIPS_SMARTMIPS; in cpu_probe()2196 elf_hwcap |= HWCAP_MIPS_DSP; in cpu_probe()[all …]