Searched refs:pfr0 (Results 1 – 5 of 5) sorted by relevance
601 static inline bool id_aa64pfr0_32bit_el1(u64 pfr0) in id_aa64pfr0_32bit_el1() argument603 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL1_SHIFT); in id_aa64pfr0_32bit_el1()608 static inline bool id_aa64pfr0_32bit_el0(u64 pfr0) in id_aa64pfr0_32bit_el0() argument610 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL0_SHIFT); in id_aa64pfr0_32bit_el0()615 static inline bool id_aa64pfr0_sve(u64 pfr0) in id_aa64pfr0_sve() argument617 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_SVE_SHIFT); in id_aa64pfr0_sve()650 u64 pfr0; in supports_csv2p3() local654 pfr0 = read_sysreg_s(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()656 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()658 csv2_val = cpuid_feature_extract_unsigned_field(pfr0, in supports_csv2p3()[all …]
53 unsigned long pfr0; in thumbee_init() local59 pfr0 = read_cpuid_ext(CPUID_EXT_PFR0); in thumbee_init()60 if ((pfr0 & 0x0000f000) != 0x00001000) in thumbee_init()
73 static const struct ftr_set_desc pfr0 __initconst = {155 &pfr0,
156 u64 pfr0; in spectre_v2_get_cpu_hw_mitigation_state() local170 pfr0 = read_cpuid(ID_AA64PFR0_EL1); in spectre_v2_get_cpu_hw_mitigation_state()171 if (cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_CSV2_SHIFT)) in spectre_v2_get_cpu_hw_mitigation_state()
1115 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in update_32bit_cpu_features() local1121 if (!id_aa64pfr0_32bit_el1(pfr0)) { in update_32bit_cpu_features()1525 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in has_no_fpsimd() local1527 return cpuid_feature_extract_signed_field(pfr0, in has_no_fpsimd()