Lines Matching refs:cpu_arch
241 int cpu_arch; in __get_cpu_architecture() local
244 cpu_arch = CPU_ARCH_UNKNOWN; in __get_cpu_architecture()
246 cpu_arch = (read_cpuid_id() & (1 << 23)) ? CPU_ARCH_ARMv4T : CPU_ARCH_ARMv3; in __get_cpu_architecture()
248 cpu_arch = (read_cpuid_id() >> 16) & 7; in __get_cpu_architecture()
249 if (cpu_arch) in __get_cpu_architecture()
250 cpu_arch += CPU_ARCH_ARMv3; in __get_cpu_architecture()
257 cpu_arch = CPU_ARCH_ARMv7; in __get_cpu_architecture()
260 cpu_arch = CPU_ARCH_ARMv6; in __get_cpu_architecture()
262 cpu_arch = CPU_ARCH_UNKNOWN; in __get_cpu_architecture()
264 cpu_arch = CPU_ARCH_UNKNOWN; in __get_cpu_architecture()
266 return cpu_arch; in __get_cpu_architecture()