Home
last modified time | relevance | path

Searched refs:pfr0 (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/arch/arm64/include/asm/
Dcpufeature.h604 static inline bool id_aa64pfr0_32bit_el1(u64 pfr0) in id_aa64pfr0_32bit_el1() argument
606 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_SHIFT); in id_aa64pfr0_32bit_el1()
611 static inline bool id_aa64pfr0_32bit_el0(u64 pfr0) in id_aa64pfr0_32bit_el0() argument
613 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL0_SHIFT); in id_aa64pfr0_32bit_el0()
618 static inline bool id_aa64pfr0_sve(u64 pfr0) in id_aa64pfr0_sve() argument
620 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_SVE_SHIFT); in id_aa64pfr0_sve()
653 u64 pfr0; in supports_csv2p3() local
657 pfr0 = read_sysreg_s(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()
659 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()
661 csv2_val = cpuid_feature_extract_unsigned_field(pfr0, in supports_csv2p3()
[all …]
/linux-5.19.10/arch/arm/kernel/
Dthumbee.c53 unsigned long pfr0; in thumbee_init() local
59 pfr0 = read_cpuid_ext(CPUID_EXT_PFR0); in thumbee_init()
60 if ((pfr0 & 0x0000f000) != 0x00001000) in thumbee_init()
/linux-5.19.10/arch/arm64/kernel/
Dproton-pack.c156 u64 pfr0; in spectre_v2_get_cpu_hw_mitigation_state() local
170 pfr0 = read_cpuid(ID_AA64PFR0_EL1); in spectre_v2_get_cpu_hw_mitigation_state()
171 if (cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_CSV2_SHIFT)) in spectre_v2_get_cpu_hw_mitigation_state()
Dcpufeature.c1095 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in update_32bit_cpu_features() local
1101 if (!id_aa64pfr0_32bit_el1(pfr0)) { in update_32bit_cpu_features()
1468 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in has_no_fpsimd() local
1470 return cpuid_feature_extract_signed_field(pfr0, in has_no_fpsimd()