Home
last modified time | relevance | path

Searched refs:read_cpuid (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/arch/arm64/kernel/
H A Dcpuinfo.c403 info->reg_id_dfr0 = read_cpuid(ID_DFR0_EL1); in __cpuinfo_store_cpu_32bit()
404 info->reg_id_dfr1 = read_cpuid(ID_DFR1_EL1); in __cpuinfo_store_cpu_32bit()
405 info->reg_id_isar0 = read_cpuid(ID_ISAR0_EL1); in __cpuinfo_store_cpu_32bit()
406 info->reg_id_isar1 = read_cpuid(ID_ISAR1_EL1); in __cpuinfo_store_cpu_32bit()
407 info->reg_id_isar2 = read_cpuid(ID_ISAR2_EL1); in __cpuinfo_store_cpu_32bit()
408 info->reg_id_isar3 = read_cpuid(ID_ISAR3_EL1); in __cpuinfo_store_cpu_32bit()
409 info->reg_id_isar4 = read_cpuid(ID_ISAR4_EL1); in __cpuinfo_store_cpu_32bit()
410 info->reg_id_isar5 = read_cpuid(ID_ISAR5_EL1); in __cpuinfo_store_cpu_32bit()
411 info->reg_id_isar6 = read_cpuid(ID_ISAR6_EL1); in __cpuinfo_store_cpu_32bit()
412 info->reg_id_mmfr0 = read_cpuid(ID_MMFR0_EL1); in __cpuinfo_store_cpu_32bit()
[all …]
H A Dcpu_errata.c28 revidr = read_cpuid(REVIDR_EL1); in is_affected_midr_range()
H A Dcpufeature.c1056 info->reg_smidr = read_cpuid(SMIDR_EL1) & ~SMIDR_EL1_SMPS; in init_cpu_features()
1311 info->reg_smidr = read_cpuid(SMIDR_EL1) & ~SMIDR_EL1_SMPS; in update_cpu_features()
3161 if (id_aa64pfr0_32bit_el0(read_cpuid(ID_AA64PFR0_EL1))) in verify_local_elf_hwcaps()
3209 mmfr0 = read_cpuid(ID_AA64MMFR0_EL1); in verify_hyp_capabilities()
3210 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in verify_hyp_capabilities()
H A Dproton-pack.c170 pfr0 = read_cpuid(ID_AA64PFR0_EL1); in spectre_v2_get_cpu_hw_mitigation_state()
/openbmc/linux/arch/arm/include/asm/
H A Dcputype.h121 #define read_cpuid(reg) \ macro
151 #define read_cpuid(reg) \ macro
168 #define read_cpuid(reg) \ macro
174 #define read_cpuid_ext(reg) read_cpuid(reg)
186 return read_cpuid(CPUID_ID); in read_cpuid_id()
191 return read_cpuid(CPUID_CACHETYPE); in read_cpuid_cachetype()
196 return read_cpuid(CPUID_MPUIR); in read_cpuid_mputype()
257 return read_cpuid(CPUID_TCM); in read_cpuid_tcmstatus()
262 return read_cpuid(CPUID_MPIDR); in read_cpuid_mpidr()
/openbmc/linux/tools/arch/arm64/include/asm/
H A Dcputype.h209 #define read_cpuid(reg) read_sysreg_s(SYS_ ## reg) macro
268 return read_cpuid(MIDR_EL1); in read_cpuid_id()
273 return read_cpuid(MPIDR_EL1); in read_cpuid_mpidr()
288 return read_cpuid(CTR_EL0); in read_cpuid_cachetype()
/openbmc/linux/arch/arm64/include/asm/
H A Dcputype.h230 #define read_cpuid(reg) read_sysreg_s(SYS_ ## reg) macro
289 return read_cpuid(MIDR_EL1); in read_cpuid_id()
294 return read_cpuid(MPIDR_EL1); in read_cpuid_mpidr()
309 return read_cpuid(CTR_EL0); in read_cpuid_cachetype()
H A Darm_pmuv3.h38 return read_cpuid(PMMIR_EL1); in read_pmmir()
H A Dmte-kasan.h157 dczid = read_cpuid(DCZID_EL0); in mte_set_mem_tag_range()
H A Dcpufeature.h637 return id_aa64mmfr0_mixed_endian_el0(read_cpuid(ID_AA64MMFR0_EL1)); in cpu_supports_mixed_endian_el0()
877 u64 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in cpu_has_pan()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Darm64.c75 tg = (read_cpuid(ID_AA64MMFR0_EL1) >> ID_AA64MMFR0_EL1_TGRAN_SHIFT) & 0xf; in check_platform_features()
/openbmc/linux/arch/arm/kernel/
H A Dsmp_tlb.c97 unsigned int revidr = read_cpuid(CPUID_REVIDR); in erratum_a15_798181_init()
/openbmc/linux/arch/arm64/mm/
H A Dcontext.c45 int fld = cpuid_feature_extract_unsigned_field(read_cpuid(ID_AA64MMFR0_EL1), in get_cpu_asid_bits()
H A Dinit.c407 u64 mmfr0 = read_cpuid(ID_AA64MMFR0_EL1); in arm64_memblock_init()
/openbmc/linux/drivers/perf/
H A Darm_spe_pmu.c1001 fld = cpuid_feature_extract_unsigned_field(read_cpuid(ID_AA64DFR0_EL1), in __arm_spe_pmu_dev_probe()