/linux-6.1.9/arch/powerpc/perf/ |
D | e500-pmu.c | 124 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()
|
D | ppc970-pmu.c | 496 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()
|
D | power8-pmu.c | 396 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()
|
D | power7-pmu.c | 452 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()
|
D | e6500-pmu.c | 112 if (PVR_VER(pvr) != PVR_VER_E6500) in init_e6500_pmu()
|
D | mpc7450-pmu.c | 422 if (PVR_VER(pvr) != PVR_7450) in init_mpc7450_pmu()
|
D | power6-pmu.c | 546 if (PVR_VER(pvr) != PVR_POWER6) in init_power6_pmu()
|
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
D | reserved_bits_mmcra_sample_elig_mode_test.c | 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()
|
D | generic_events_valid_test.c | 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()
|
D | blacklisted_events_test.c | 84 SKIP_IF(PVR_VER(pvr) != POWER9); in check_for_power9_version()
|
D | event_alternatives_tests_p10.c | 39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
|
D | event_alternatives_tests_p9.c | 38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 91 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()
|
/linux-6.1.9/tools/perf/arch/powerpc/util/ |
D | utils_header.h | 12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ macro
|
D | header.c | 22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | setup-common.c | 291 if (PVR_VER(pvr) & 0x8000) { in show_cpuinfo() 292 switch (PVR_VER(pvr)) { in show_cpuinfo() 308 switch (PVR_VER(pvr)) { in show_cpuinfo() 326 maj, min, PVR_VER(pvr), PVR_REV(pvr)); in show_cpuinfo()
|
D | dawr.c | 101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
|
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | bhrb_filter_map_test.c | 86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
|
D | misc.c | 126 pvr = PVR_VER(mfspr(SPRN_PVR)); in platform_check_for_tests()
|
/linux-6.1.9/tools/testing/selftests/powerpc/include/ |
D | reg.h | 55 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) macro
|
/linux-6.1.9/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 636 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { in pmac_cpufreq_setup() 674 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) in pmac_cpufreq_setup()
|
D | maple-cpufreq.c | 183 pvr_hi = PVR_VER(mfspr(SPRN_PVR)); in maple_cpufreq_init()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | subcore.c | 420 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()
|
/linux-6.1.9/arch/powerpc/platforms/powermac/ |
D | setup.c | 264 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch()
|
/linux-6.1.9/arch/powerpc/math-emu/ |
D | math_efp.c | 899 if ((PVR_VER(pvr) == PVR_VER_E500V1) || in spe_mathemu_init() 900 (PVR_VER(pvr) == PVR_VER_E500V2)) { in spe_mathemu_init()
|