Searched refs:SPRN_PVR (Results 1 – 25 of 64) sorted by relevance
123
20 pvr = mfspr(SPRN_PVR); in get_cpuid()37 if (asprintf(&bufp, "%.8lx", mfspr(SPRN_PVR)) < 0) in get_cpuid_str()
11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
206 version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF); in arch__intr_reg_mask()
62 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in reserved_bits_mmcra_sample_elig_mode()65 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) { in reserved_bits_mmcra_sample_elig_mode()
34 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in generic_events_valid_test()75 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) { in generic_events_valid_test()
82 pvr_min = PVR_MIN(mfspr(SPRN_PVR)); in check_for_power9_version()
39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
33 identify_cpu(offset, mfspr(SPRN_PVR)); in early_init()
331 mfspr r3,SPRN_PVR371 mfspr r3,SPRN_PVR402 mfspr r3,SPRN_PVR464 mfspr r3,SPRN_PVR
282 (mfspr(SPRN_PVR) & 0xf00) == 0x100) in cpu_ready_for_interrupts()378 identify_cpu(0, mfspr(SPRN_PVR)); in early_setup()635 pvr = PVR_VER(mfspr(SPRN_PVR)); in initialize_cache_info()
101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
593 pvr = mfspr(SPRN_PVR); in pmac_cpufreq_init_750FX()636 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { in pmac_cpufreq_setup()674 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) in pmac_cpufreq_setup()
183 pvr_hi = PVR_VER(mfspr(SPRN_PVR)); in maple_cpufreq_init()
72 pvid = mfspr(SPRN_PVR); in stx_gp3_show_cpuinfo()
71 pvid = mfspr(SPRN_PVR); in tqm85xx_show_cpuinfo()
151 pvid = mfspr(SPRN_PVR); in ksi8560_show_cpuinfo()
140 pvid = mfspr(SPRN_PVR); in mpc85xx_ads_show_cpuinfo()
17 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
110 unsigned int pvr = mfspr(SPRN_PVR); in init_e6500_pmu()
121 unsigned int pvr = mfspr(SPRN_PVR); in init_e500_pmu()
56 #define SPRN_PVR 0x11F macro
151 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e; in spectre_v2_test()
420 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()