Home
last modified time | relevance | path

Searched refs:mmfr0 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/arm64/include/asm/
Dcpufeature.h479 static inline bool id_aa64mmfr0_mixed_endian_el0(u64 mmfr0) in id_aa64mmfr0_mixed_endian_el0() argument
481 return cpuid_feature_extract_unsigned_field(mmfr0, ID_AA64MMFR0_BIGENDEL_SHIFT) == 0x1 || in id_aa64mmfr0_mixed_endian_el0()
482 cpuid_feature_extract_unsigned_field(mmfr0, ID_AA64MMFR0_BIGENDEL0_SHIFT) == 0x1; in id_aa64mmfr0_mixed_endian_el0()
516 u64 mmfr0; in system_supports_4kb_granule() local
519 mmfr0 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); in system_supports_4kb_granule()
520 val = cpuid_feature_extract_unsigned_field(mmfr0, in system_supports_4kb_granule()
528 u64 mmfr0; in system_supports_64kb_granule() local
531 mmfr0 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); in system_supports_64kb_granule()
532 val = cpuid_feature_extract_unsigned_field(mmfr0, in system_supports_64kb_granule()
540 u64 mmfr0; in system_supports_16kb_granule() local
[all …]
/Linux-v5.4/arch/arm/kernel/
Dsetup.c259 unsigned int mmfr0 = read_cpuid_ext(CPUID_EXT_MMFR0); in __get_cpu_architecture() local
260 if ((mmfr0 & 0x0000000f) >= 0x00000003 || in __get_cpu_architecture()
261 (mmfr0 & 0x000000f0) >= 0x00000030) in __get_cpu_architecture()
263 else if ((mmfr0 & 0x0000000f) == 0x00000002 || in __get_cpu_architecture()
264 (mmfr0 & 0x000000f0) == 0x00000020) in __get_cpu_architecture()