Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/powerpc/perf/
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()
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()
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()
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()
De6500-pmu.c112 if (PVR_VER(pvr) != PVR_VER_E6500) in init_e6500_pmu()
Dmpc7450-pmu.c422 if (PVR_VER(pvr) != PVR_7450) in init_mpc7450_pmu()
Dpower6-pmu.c546 if (PVR_VER(pvr) != PVR_POWER6) in init_power6_pmu()
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/event_code_tests/
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()
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()
Dblacklisted_events_test.c84 SKIP_IF(PVR_VER(pvr) != POWER9); in check_for_power9_version()
Devent_alternatives_tests_p10.c39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10); in event_alternatives_tests_p10()
Devent_alternatives_tests_p9.c38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9); in event_alternatives_tests_p9()
/linux-6.1.9/arch/powerpc/mm/book3s64/
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()
/linux-6.1.9/tools/perf/arch/powerpc/util/
Dutils_header.h12 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */ macro
Dheader.c22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); in get_cpuid()
/linux-6.1.9/arch/powerpc/kernel/
Dsetup-common.c291 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()
Ddawr.c101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) { in dawr_force_setup()
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dbhrb_filter_map_test.c86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) { in bhrb_filter_map_test()
Dmisc.c126 pvr = PVR_VER(mfspr(SPRN_PVR)); in platform_check_for_tests()
/linux-6.1.9/tools/testing/selftests/powerpc/include/
Dreg.h55 #define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) macro
/linux-6.1.9/drivers/cpufreq/
Dpmac32-cpufreq.c636 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) { in pmac_cpufreq_setup()
674 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000) in pmac_cpufreq_setup()
Dmaple-cpufreq.c183 pvr_hi = PVR_VER(mfspr(SPRN_PVR)); in maple_cpufreq_init()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dsubcore.c420 pvr_ver = PVR_VER(mfspr(SPRN_PVR)); in subcore_init()
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dsetup.c264 pvr = PVR_VER(mfspr(SPRN_PVR)); in pmac_setup_arch()
/linux-6.1.9/arch/powerpc/math-emu/
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()

12