Home
last modified time | relevance | path

Searched refs:read_cpuid_id (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.10/arch/arm/mach-pxa/include/mach/
Dhardware.h196 __cpu_is_pxa210(read_cpuid_id()); \
201 __cpu_is_pxa250(read_cpuid_id()); \
206 __cpu_is_pxa255(read_cpuid_id()); \
211 __cpu_is_pxa25x(read_cpuid_id()); \
216 __cpu_is_pxa27x(read_cpuid_id()); \
221 __cpu_is_pxa300(read_cpuid_id()); \
226 __cpu_is_pxa310(read_cpuid_id()); \
231 __cpu_is_pxa320(read_cpuid_id()); \
236 __cpu_is_pxa930(read_cpuid_id()); \
241 __cpu_is_pxa935(read_cpuid_id()); \
[all …]
/Linux-v5.10/arch/arm/include/asm/
Dcputype.h180 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function
197 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function
214 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function
223 return (read_cpuid_id() & 0xFF000000) >> 24; in read_cpuid_implementor()
228 return read_cpuid_id() & 0x0000000f; in read_cpuid_revision()
238 return read_cpuid_id() & ARM_CPU_PART_MASK; in read_cpuid_part()
243 return read_cpuid_id() & 0xFFF0; in read_cpuid_part_number()
248 return read_cpuid_id() & ARM_CPU_XSCALE_ARCH_MASK; in xscale_cpu_arch_version()
276 id = read_cpuid_id() & 0xffffe000; in cpu_is_xsc3()
292 id = read_cpuid_id() & 0xffffe000; in cpu_is_xscale_family()
[all …]
/Linux-v5.10/include/linux/soc/mmp/
Dcputype.h32 return (((read_cpuid_id() >> 8) & 0xff) == 0x84) && in cpu_is_pxa168()
43 return (((read_cpuid_id() >> 8) & 0xff) == 0x84) && in cpu_is_pxa910()
54 return (((read_cpuid_id() >> 8) & 0xff) == 0x58) && in cpu_is_mmp2()
65 return (((read_cpuid_id() >> 8) & 0xff) == 0x58) && in cpu_is_mmp3()
/Linux-v5.10/arch/arm/mach-ixp4xx/include/mach/
Dcpu.h26 #define cpu_is_ixp42x_rev_a0() ((read_cpuid_id() & (IXP42X_PROCESSOR_ID_MASK | 0xF)) == \
28 #define cpu_is_ixp42x() ((read_cpuid_id() & IXP42X_PROCESSOR_ID_MASK) == \
30 #define cpu_is_ixp43x() ((read_cpuid_id() & IXP43X_PROCESSOR_ID_MASK) == \
32 #define cpu_is_ixp46x() ((read_cpuid_id() & IXP46X_PROCESSOR_ID_MASK) == \
/Linux-v5.10/arch/arm/kernel/
Dsmp_scu.c44 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()
Dsetup.c248 if ((read_cpuid_id() & 0x0008f000) == 0) { in __get_cpu_architecture()
250 } else if ((read_cpuid_id() & 0x0008f000) == 0x00007000) { in __get_cpu_architecture()
251 cpu_arch = (read_cpuid_id() & (1 << 23)) ? CPU_ARCH_ARMv4T : CPU_ARCH_ARMv3; in __get_cpu_architecture()
252 } else if ((read_cpuid_id() & 0x00080000) == 0x00000000) { in __get_cpu_architecture()
253 cpu_arch = (read_cpuid_id() >> 16) & 7; in __get_cpu_architecture()
256 } else if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) { in __get_cpu_architecture()
490 unsigned id = read_cpuid_id(); in elf_hwcap_fixup()
691 unsigned int midr = read_cpuid_id(); in setup_processor()
1255 cpuid = is_smp() ? per_cpu(cpu_data, i).cpuid : read_cpuid_id(); in c_show()
Dsmp_tlb.c96 unsigned int midr = read_cpuid_id(); in erratum_a15_798181_init()
Dsmp.c119 init_proc_vtable(lookup_processor(read_cpuid_id())->proc); in secondary_biglittle_init()
393 cpu_info->cpuid = read_cpuid_id(); in smp_store_cpu_info()
/Linux-v5.10/arch/arm64/include/asm/
Dcputype.h197 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function
209 return MIDR_IMPLEMENTOR(read_cpuid_id()); in read_cpuid_implementor()
214 return MIDR_PARTNUM(read_cpuid_id()); in read_cpuid_part_number()
/Linux-v5.10/arch/arm64/kernel/
Dcpu_errata.c21 u32 midr = read_cpuid_id(), revidr; in is_affected_midr_range()
41 return is_midr_in_range_list(read_cpuid_id(), entry->midr_range_list); in is_affected_midr_range_list()
51 model = read_cpuid_id(); in is_kryo_midr()
191 u32 midr = read_cpuid_id(); in has_neoverse_n1_erratum_1542419()
Dproton-pack.c133 if (is_midr_in_range_list(read_cpuid_id(), spectre_v2_safe_list)) in spectre_v2_get_cpu_hw_mitigation_state()
264 u32 midr = read_cpuid_id(); in spectre_v2_get_sw_mitigation_cb()
452 if (is_midr_in_range_list(read_cpuid_id(), spectre_v4_safe_list)) in spectre_v4_get_cpu_hw_mitigation_state()
Dsetup.c97 (unsigned long)mpidr, read_cpuid_id()); in smp_setup_processor_id()
Dcpuinfo.c360 info->reg_midr = read_cpuid_id(); in __cpuinfo_store_cpu()
Dcpufeature.c1213 u32 midr = read_cpuid_id(); in has_no_hw_prefetch()
1313 if (is_midr_in_range_list(read_cpuid_id(), in kaslr_requires_kpti()
1349 meltdown_safe = is_midr_in_range_list(read_cpuid_id(), kpti_safe_list); in unmap_kernel_at_el0()
1467 return is_midr_in_range_list(read_cpuid_id(), cpus); in cpu_has_broken_dbm()
2769 *valp = read_cpuid_id(); in emulate_id_reg()
/Linux-v5.10/drivers/soc/ux500/
Dux500-soc-id.c85 unsigned int cpuid = read_cpuid_id(); in ux500_setup_id()
/Linux-v5.10/drivers/watchdog/
Dixp4xx_wdt.c189 if (!(read_cpuid_id() & 0xf) && !cpu_is_ixp46x()) { in ixp4xx_wdt_init()
/Linux-v5.10/arch/arm/mm/
Dnommu.c56 if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) in security_extensions_enabled()
/Linux-v5.10/arch/arm/mach-iop32x/
Diq31244.c50 return !!((read_cpuid_id() & 0xffffffe0) == 0x69052e20); in is_80219()
/Linux-v5.10/arch/arm/mach-omap2/
Did.c360 cpuid = read_cpuid_id(); in omap3xxx_check_revision()
544 idcode = read_cpuid_id(); in omap4xxx_check_revision()
Domap-smp.c264 cpu_id = read_cpuid_id() & CPU_MASK; in omap4_smp_init_cpus()
/Linux-v5.10/drivers/perf/
Darm_pmu_acpi.c190 unsigned long cpuid = read_cpuid_id(); in arm_pmu_acpi_find_alloc_pmu()
Darm_pmu_platform.c29 unsigned int cpuid = read_cpuid_id(); in probe_current_pmu()
/Linux-v5.10/drivers/clocksource/
Darm_global_timer.c266 && (read_cpuid_id() & 0xf0000f) < 0x200000) { in global_timer_of_register()
/Linux-v5.10/arch/arm/mach-ixp4xx/
Dcommon-pci.c316 unsigned long cpuid = read_cpuid_id(); in ixp4xx_pci_preinit()
/Linux-v5.10/arch/arm/vfp/
Dvfpmodule.c742 } else if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) { in vfp_init()

12