Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm/kernel/
Dthumbee.c54 unsigned int cpu_arch = cpu_architecture(); in thumbee_init() local
56 if (cpu_arch < CPU_ARCH_ARMv7) in thumbee_init()
Dsetup.c246 int cpu_arch; in __get_cpu_architecture() local
249 cpu_arch = CPU_ARCH_UNKNOWN; in __get_cpu_architecture()
251 cpu_arch = (read_cpuid_id() & (1 << 23)) ? CPU_ARCH_ARMv4T : CPU_ARCH_ARMv3; in __get_cpu_architecture()
253 cpu_arch = (read_cpuid_id() >> 16) & 7; in __get_cpu_architecture()
254 if (cpu_arch) in __get_cpu_architecture()
255 cpu_arch += CPU_ARCH_ARMv3; in __get_cpu_architecture()
262 cpu_arch = CPU_ARCH_ARMv7; in __get_cpu_architecture()
265 cpu_arch = CPU_ARCH_ARMv6; in __get_cpu_architecture()
267 cpu_arch = CPU_ARCH_UNKNOWN; in __get_cpu_architecture()
269 cpu_arch = CPU_ARCH_UNKNOWN; in __get_cpu_architecture()
[all …]
/Linux-v5.10/arch/arm/mm/
Dmmu.c413 int cpu_arch = cpu_architecture(); in build_mem_type_table() local
416 if (cpu_arch < CPU_ARCH_ARMv6) { in build_mem_type_table()
425 if (cpu_arch < CPU_ARCH_ARMv5) { in build_mem_type_table()
447 if (cpu_arch < CPU_ARCH_ARMv5) in build_mem_type_table()
450 if ((cpu_arch < CPU_ARCH_ARMv6 || !(cr & CR_XP)) && !cpu_is_xsc3()) in build_mem_type_table()
464 } else if (cpu_arch < CPU_ARCH_ARMv6) { in build_mem_type_table()
476 if (cpu_is_xsc3() || (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP))) { in build_mem_type_table()
490 if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) { in build_mem_type_table()
543 if (cpu_arch == CPU_ARCH_ARMv6) in build_mem_type_table()
550 if (cpu_arch == CPU_ARCH_ARMv7 && in build_mem_type_table()
[all …]
/Linux-v5.10/arch/arm/vfp/
Dvfpmodule.c717 unsigned int cpu_arch = cpu_architecture(); in vfp_init() local
723 if (cpu_arch >= CPU_ARCH_ARMv6) in vfp_init()