Home
last modified time | relevance | path

Searched refs:PVR_VER (Results 1 – 25 of 30) sorted by relevance

12

/linux/arch/powerpc/perf/
H A De500-pmu.c124 if (PVR_VER(pvr) == PVR_VER_E500MC || PVR_VER(pvr) == PVR_VER_E5500) in init_e500_pmu()
127 else if (PVR_VER(pvr) != PVR_VER_E500V1 && PVR_VER(pvr) != PVR_VER_E500V2) in init_e500_pmu()
H A Dppc970-pmu.c496 if (PVR_VER(pvr) != PVR_970 && PVR_VER(pvr) != PVR_970MP && in init_ppc970_pmu()
497 PVR_VER(pvr) != PVR_970FX && PVR_VER(pvr) != PVR_970GX) in init_ppc970_pmu()
H A Dpower8-pmu.c396 if (PVR_VER(pvr) != PVR_POWER8E && PVR_VER(pvr) != PVR_POWER8NVL && in init_power8_pmu()
397 PVR_VER(pvr) != PVR_POWER8) in init_power8_pmu()
H A Dpower7-pmu.c452 if (PVR_VER(pvr) != PVR_POWER7 && PVR_VER(pvr) != PVR_POWER7p) in init_power7_pmu()
455 if (PVR_VER(pvr) == PVR_POWER7p) in init_power7_pmu()
H A De6500-pmu.c112 if (PVR_VER(pvr) != PVR_VER_E6500) in init_e6500_pmu()
H A Dpower10-pmu.c613 if (PVR_VER(pvr) != PVR_POWER10) in init_power10_pmu()
647 if (PVR_VER(pvr) != PVR_POWER11) in init_power11_pmu()
H A Dpower6-pmu.c558 if (PVR_VER(pvr) != PVR_POWER6) in init_power6_pmu()
H A Dpower9-pmu.c470 if (PVR_VER(pvr) != PVR_POWER9) in init_power9_pmu()
/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c91 if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E || in scan_pkey_feature()
92 PVR_VER(pvr) == PVR_POWER8NVL || PVR_VER(pvr) == PVR_POWER9 || in scan_pkey_feature()
93 PVR_VER(pvr) == PVR_HX_C2000) in scan_pkey_feature()
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dreserved_bits_mmcra_sample_elig_mode_test.c62 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()
H A Dgeneric_events_valid_test.c34 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()
H A Devent_alternatives_tests_p10.c39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
H A Dblacklisted_events_test.c84 SKIP_IF(PVR_VER(pvr) != POWER9); in check_for_power9_version()
H A Devent_alternatives_tests_p9.c38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
/linux/tools/perf/arch/powerpc/util/
H A Dutils_header.h12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ macro
H A Dheader.c34 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid_str()
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dbhrb_filter_map_test.c86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
H A Dmisc.c126 pvr = PVR_VER(mfspr(SPRN_PVR)); in platform_check_for_tests()
/linux/arch/powerpc/kernel/
H A Ddawr.c101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
/linux/drivers/cpufreq/
H A Dpmac32-cpufreq.c635 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { in pmac_cpufreq_setup()
673 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) in pmac_cpufreq_setup()
/linux/tools/testing/selftests/powerpc/include/
H A Dreg.h59 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) macro
/linux/arch/powerpc/platforms/powernv/
H A Dsubcore.c424 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()
/linux/arch/powerpc/math-emu/
H A Dmath_efp.c899 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in spe_mathemu_init()
900 (PVR_VER(pvr) == PVR_VER_E500V2)) { in spe_mathemu_init()
/linux/arch/powerpc/platforms/powermac/
H A Dsetup.c257 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch()
/linux/arch/powerpc/include/asm/
H A Dreg.h1248 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ macro
1251 #define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr))

12