/linux/include/linux/soc/pxa/ |
H A D | cpu.h | 151 __cpu_is_pxa210(read_cpuid_id()); \ 156 __cpu_is_pxa250(read_cpuid_id()); \ 161 __cpu_is_pxa255(read_cpuid_id()); \ 166 __cpu_is_pxa25x(read_cpuid_id()); \ 171 __cpu_is_pxa27x(read_cpuid_id()); \ 176 __cpu_is_pxa300(read_cpuid_id()); \ 181 __cpu_is_pxa310(read_cpuid_id()); \ 186 __cpu_is_pxa320(read_cpuid_id()); \ 191 __cpu_is_pxa930(read_cpuid_id()); \ 196 __cpu_is_pxa935(read_cpuid_id()); \ [all …]
|
/linux/arch/arm/include/asm/ |
H A D | cputype.h | 184 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function 201 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function 218 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function 227 return (read_cpuid_id() & 0xFF000000) >> 24; in read_cpuid_implementor() 232 return read_cpuid_id() & 0x0000000f; in read_cpuid_revision() 242 return read_cpuid_id() & ARM_CPU_PART_MASK; in read_cpuid_part() 247 return read_cpuid_id() & 0xFFF0; in read_cpuid_part_number() 252 return read_cpuid_id() & ARM_CPU_XSCALE_ARCH_MASK; in xscale_cpu_arch_version() 280 id = read_cpuid_id() & 0xffffe000; in cpu_is_xsc3() 296 id = read_cpuid_id() & 0xffffe000; in cpu_is_xscale_family() [all …]
|
/linux/include/linux/soc/ixp4xx/ |
H A D | cpu.h | 85 #define cpu_is_ixp42x_rev_a0() ((read_cpuid_id() & (IXP42X_PROCESSOR_ID_MASK | 0xF)) == \ 87 #define cpu_is_ixp42x() ((read_cpuid_id() & IXP42X_PROCESSOR_ID_MASK) == \ 89 #define cpu_is_ixp43x() ((read_cpuid_id() & IXP43X_PROCESSOR_ID_MASK) == \ 91 #define cpu_is_ixp46x() ((read_cpuid_id() & IXP46X_PROCESSOR_ID_MASK) == \
|
/linux/arch/arm/kernel/ |
H A D | smp_scu.c | 44 if ((read_cpuid_id() & 0xff0ffff0) == 0x410fc090) { in scu_enable() 59 if ((read_cpuid_id() & 0xff0ffff0) == 0x410fc090 && in scu_enable() 60 (read_cpuid_id() & 0x00f0000f) >= 0x00200000) in scu_enable()
|
H A D | setup.c | 243 if ((read_cpuid_id() & 0x0008f000) == 0) { in __get_cpu_architecture() 245 } else if ((read_cpuid_id() & 0x0008f000) == 0x00007000) { in __get_cpu_architecture() 246 cpu_arch = (read_cpuid_id() & (1 << 23)) ? CPU_ARCH_ARMv4T : CPU_ARCH_ARMv3; in __get_cpu_architecture() 247 } else if ((read_cpuid_id() & 0x00080000) == 0x00000000) { in __get_cpu_architecture() 248 cpu_arch = (read_cpuid_id() >> 16) & 7; in __get_cpu_architecture() 251 } else if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) { in __get_cpu_architecture() 499 unsigned id = read_cpuid_id(); in elf_hwcap_fixup() 702 unsigned int midr = read_cpuid_id(); in setup_processor() 1277 cpuid = is_smp() ? per_cpu(cpu_data, i).cpuid : read_cpuid_id(); in c_show()
|
H A D | smp.c | 118 init_proc_vtable(lookup_processor(read_cpuid_id())->proc); in secondary_biglittle_init() 394 cpu_info->cpuid = read_cpuid_id(); in smp_store_cpu_info()
|
H A D | smp_tlb.c | 96 unsigned int midr = read_cpuid_id(); in erratum_a15_798181_init()
|
/linux/arch/arm64/kernel/ |
H A D | proton-pack.c | 175 if (is_midr_in_range_list(read_cpuid_id(), spectre_v2_safe_list)) in spectre_v2_get_cpu_hw_mitigation_state() 263 u32 midr = read_cpuid_id(); in spectre_v2_get_sw_mitigation_cb() 334 return is_midr_in_range_list(read_cpuid_id(), spectre_v3a_unsafe_list); in has_spectre_v3a() 478 if (is_midr_in_range_list(read_cpuid_id(), spectre_v4_safe_list)) in spectre_v4_get_cpu_hw_mitigation_state() 881 if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k32_list)) in spectre_bhb_loop_affected() 883 else if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k24_list)) in spectre_bhb_loop_affected() 885 else if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k11_list)) in spectre_bhb_loop_affected() 887 else if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k8_list)) in spectre_bhb_loop_affected() 929 bool cpu_in_list = is_midr_in_range_list(read_cpuid_id(), in is_spectre_bhb_fw_affected()
|
H A D | setup.c | 95 (unsigned long)mpidr, read_cpuid_id()); in smp_setup_processor_id()
|
H A D | cpuinfo.c | 454 info->reg_midr = read_cpuid_id(); in __cpuinfo_store_cpu()
|
H A D | smp.c | 262 read_cpuid_id()); in secondary_start_kernel()
|
/linux/include/linux/soc/mmp/ |
H A D | cputype.h | 32 return (((read_cpuid_id() >> 8) & 0xff) == 0x58) && in cpu_is_mmp2() 43 return (((read_cpuid_id() >> 8) & 0xff) == 0x58) && in cpu_is_mmp3()
|
/linux/drivers/char/hw_random/ |
H A D | cavium-rng-vf.c | 41 if (midr_is_cpu_model_range(read_cpuid_id(), MIDR_THUNDERX_83XX, in is_octeontx() 44 midr_is_cpu_model_range(read_cpuid_id(), MIDR_THUNDERX_81XX, in is_octeontx() 47 midr_is_cpu_model_range(read_cpuid_id(), MIDR_THUNDERX, in is_octeontx()
|
/linux/tools/arch/arm64/include/asm/ |
H A D | cputype.h | 287 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function 299 return MIDR_IMPLEMENTOR(read_cpuid_id()); in read_cpuid_implementor() 304 return MIDR_PARTNUM(read_cpuid_id()); in read_cpuid_part_number()
|
/linux/arch/arm64/include/asm/ |
H A D | mmu.h | 104 if (is_midr_in_range_list(read_cpuid_id(), in kaslr_requires_kpti()
|
/linux/drivers/soc/ux500/ |
H A D | ux500-soc-id.c | 85 unsigned int cpuid = read_cpuid_id(); in ux500_setup_id()
|
/linux/arch/arm/mach-omap2/ |
H A D | id.c | 360 cpuid = read_cpuid_id(); in omap3xxx_check_revision() 544 idcode = read_cpuid_id(); in omap4xxx_check_revision()
|
H A D | omap-smp.c | 264 cpu_id = read_cpuid_id() & CPU_MASK; in omap4_smp_init_cpus()
|
/linux/arch/arm/mm/ |
H A D | nommu.c | 64 if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) in security_extensions_enabled()
|
H A D | kasan_init.c | 173 list = lookup_processor_type(read_cpuid_id()); in kasan_early_init()
|
/linux/drivers/watchdog/ |
H A D | ixp4xx_wdt.c | 142 if (!(read_cpuid_id() & 0xf) && !cpu_is_ixp46x()) { in ixp4xx_wdt_probe()
|
/linux/drivers/perf/ |
H A D | arm_pmu_platform.c | 29 unsigned int cpuid = read_cpuid_id(); in probe_current_pmu()
|
H A D | arm_pmu_acpi.c | 251 unsigned long cpuid = read_cpuid_id(); in arm_pmu_acpi_find_pmu()
|
/linux/drivers/clocksource/ |
H A D | arm_global_timer.c | 354 && (read_cpuid_id() & 0xf0000f) < 0x200000) { in global_timer_of_register()
|
/linux/arch/arm/vfp/ |
H A D | vfpmodule.c | 924 } else if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) { in vfp_init()
|