Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/soc/pxa/
Dcpu.h151 __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-6.1.9/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-6.1.9/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-6.1.9/include/linux/soc/ixp4xx/
Dcpu.h85 #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-6.1.9/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.c250 if ((read_cpuid_id() & 0x0008f000) == 0) { in __get_cpu_architecture()
252 } else if ((read_cpuid_id() & 0x0008f000) == 0x00007000) { in __get_cpu_architecture()
253 cpu_arch = (read_cpuid_id() & (1 << 23)) ? CPU_ARCH_ARMv4T : CPU_ARCH_ARMv3; in __get_cpu_architecture()
254 } else if ((read_cpuid_id() & 0x00080000) == 0x00000000) { in __get_cpu_architecture()
255 cpu_arch = (read_cpuid_id() >> 16) & 7; in __get_cpu_architecture()
258 } else if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) { in __get_cpu_architecture()
492 unsigned id = read_cpuid_id(); in elf_hwcap_fixup()
695 unsigned int midr = read_cpuid_id(); in setup_processor()
1276 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()
397 cpu_info->cpuid = read_cpuid_id(); in smp_store_cpu_info()
/linux-6.1.9/arch/arm64/kernel/
Dproton-pack.c175 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()
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()
205 u32 midr = read_cpuid_id(); in has_neoverse_n1_erratum_1542419()
Dsetup.c92 (unsigned long)mpidr, read_cpuid_id()); in smp_setup_processor_id()
Dcpuinfo.c421 info->reg_midr = read_cpuid_id(); in __cpuinfo_store_cpu()
/linux-6.1.9/drivers/char/hw_random/
Dcavium-rng-vf.c41 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-6.1.9/tools/arch/arm64/include/asm/
Dcputype.h246 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function
258 return MIDR_IMPLEMENTOR(read_cpuid_id()); in read_cpuid_implementor()
263 return MIDR_PARTNUM(read_cpuid_id()); in read_cpuid_part_number()
/linux-6.1.9/arch/arm64/include/asm/
Dcputype.h246 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id() function
258 return MIDR_IMPLEMENTOR(read_cpuid_id()); in read_cpuid_implementor()
263 return MIDR_PARTNUM(read_cpuid_id()); in read_cpuid_part_number()
/linux-6.1.9/drivers/soc/ux500/
Dux500-soc-id.c85 unsigned int cpuid = read_cpuid_id(); in ux500_setup_id()
/linux-6.1.9/arch/arm/mm/
Dnommu.c63 if ((read_cpuid_id() & 0x000f0000) == 0x000f0000) in security_extensions_enabled()
Dkasan_init.c168 list = lookup_processor_type(read_cpuid_id()); in kasan_early_init()
/linux-6.1.9/arch/arm/mach-iop32x/
Diq31244.c50 return !!((read_cpuid_id() & 0xffffffe0) == 0x69052e20); in is_80219()
/linux-6.1.9/drivers/watchdog/
Dixp4xx_wdt.c128 if (!(read_cpuid_id() & 0xf) && !cpu_is_ixp46x()) { in ixp4xx_wdt_probe()
/linux-6.1.9/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-6.1.9/drivers/perf/
Darm_pmu_acpi.c192 unsigned long cpuid = read_cpuid_id(); in arm_pmu_acpi_find_alloc_pmu()
Darm_pmu_platform.c30 unsigned int cpuid = read_cpuid_id(); in probe_current_pmu()
/linux-6.1.9/drivers/clocksource/
Darm_global_timer.c357 && (read_cpuid_id() & 0xf0000f) < 0x200000) { in global_timer_of_register()

12