Home
last modified time | relevance | path

Searched refs:elf_hwcap2 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/arm/include/asm/
H A Dhwcap.h13 #define ELF_HWCAP2 (elf_hwcap2)
14 extern unsigned int elf_hwcap, elf_hwcap2;
H A Dcpufeature.h32 return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32); in cpu_have_feature()
/openbmc/linux/arch/arm/kernel/
H A Dsetup.c103 unsigned int elf_hwcap2 __read_mostly;
104 EXPORT_SYMBOL(elf_hwcap2);
468 elf_hwcap2 |= HWCAP2_PMULL; in cpuid_init_hwcaps()
470 elf_hwcap2 |= HWCAP2_AES; in cpuid_init_hwcaps()
474 elf_hwcap2 |= HWCAP2_SHA1; in cpuid_init_hwcaps()
478 elf_hwcap2 |= HWCAP2_SHA2; in cpuid_init_hwcaps()
482 elf_hwcap2 |= HWCAP2_CRC32; in cpuid_init_hwcaps()
488 elf_hwcap2 |= HWCAP2_SB; in cpuid_init_hwcaps()
494 elf_hwcap2 |= HWCAP2_SSBS; in cpuid_init_hwcaps()
1308 if (elf_hwcap2 & (1 << j)) in c_show()
/openbmc/qemu/linux-user/arm/
H A Dtarget_proc.h14 target_ulong elf_hwcap2 = get_elf_hwcap2(); in open_cpuinfo() local
76 for (target_ulong j = elf_hwcap2; j ; j &= j - 1) { in open_cpuinfo()
/openbmc/linux/arch/arm/crypto/
H A Dcrc32-ce-glue.c210 if (elf_hwcap2 & HWCAP2_PMULL) { in crc32_pmull_mod_init()
214 if (elf_hwcap2 & HWCAP2_CRC32) { in crc32_pmull_mod_init()
221 } else if (!(elf_hwcap2 & HWCAP2_CRC32)) { in crc32_pmull_mod_init()
H A Dcrct10dif-ce-glue.c72 if (!(elf_hwcap2 & HWCAP2_PMULL)) in crc_t10dif_mod_init()
H A Dghash-ce-glue.c758 if (elf_hwcap2 & HWCAP2_PMULL) { in ghash_ce_mod_init()
779 if (elf_hwcap2 & HWCAP2_PMULL) in ghash_ce_mod_init()
789 if (elf_hwcap2 & HWCAP2_PMULL) in ghash_ce_mod_exit()
/openbmc/linux/arch/x86/include/asm/
H A Delf.h246 extern u32 elf_hwcap2;
253 #define ELF_HWCAP2 (elf_hwcap2)
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcommon.c71 u32 elf_hwcap2 __read_mostly;
1935 elf_hwcap2 |= HWCAP2_FSGSBASE; in identify_cpu()