Symbol: PVR_VER
arch/powerpc/include/asm/reg.h
1251
#define pvr_version_is(pvr) (PVR_VER(mfspr(SPRN_PVR)) == (pvr))
arch/powerpc/kernel/dawr.c
101
if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) {
arch/powerpc/kernel/dt_cpu_ftrs.c
751
if (PVR_VER(pvr) == PVR_POWER9) {
arch/powerpc/kernel/mce.c
659
if ((PVR_VER(pvr) == PVR_POWER9) && (pvr & 0xe000) == 0) {
arch/powerpc/kernel/setup-common.c
282
if (PVR_VER(pvr) & 0x8000) {
arch/powerpc/kernel/setup-common.c
283
switch (PVR_VER(pvr)) {
arch/powerpc/kernel/setup-common.c
299
switch (PVR_VER(pvr)) {
arch/powerpc/kernel/setup-common.c
317
maj, min, PVR_VER(pvr), PVR_REV(pvr));
arch/powerpc/kernel/setup_64.c
636
pvr = PVR_VER(mfspr(SPRN_PVR));
arch/powerpc/kernel/sysfs.c
1018
if (PVR_VER(cur_cpu_spec->pvr_value) == PVR_VER_E6500) {
arch/powerpc/kernel/sysfs.c
922
if (PVR_VER(cur_cpu_spec->pvr_value) == PVR_VER_E6500) {
arch/powerpc/kernel/traps.c
654
if (PVR_VER(pvr) != PVR_VER_E6500) {
arch/powerpc/kvm/book3s_pr.c
594
switch (PVR_VER(pvr)) {
arch/powerpc/math-emu/math_efp.c
899
if ((PVR_VER(pvr) == PVR_VER_E500V1) ||
arch/powerpc/math-emu/math_efp.c
900
(PVR_VER(pvr) == PVR_VER_E500V2)) {
arch/powerpc/mm/book3s64/pkeys.c
91
if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E ||
arch/powerpc/mm/book3s64/pkeys.c
92
PVR_VER(pvr) == PVR_POWER8NVL || PVR_VER(pvr) == PVR_POWER9 ||
arch/powerpc/mm/book3s64/pkeys.c
93
PVR_VER(pvr) == PVR_HX_C2000)
arch/powerpc/perf/e500-pmu.c
124
if (PVR_VER(pvr) == PVR_VER_E500MC || PVR_VER(pvr) == PVR_VER_E5500)
arch/powerpc/perf/e500-pmu.c
127
else if (PVR_VER(pvr) != PVR_VER_E500V1 && PVR_VER(pvr) != PVR_VER_E500V2)
arch/powerpc/perf/e6500-pmu.c
112
if (PVR_VER(pvr) != PVR_VER_E6500)
arch/powerpc/perf/hv-24x7.c
1705
if (PVR_VER(pvr) == PVR_POWER8 || PVR_VER(pvr) == PVR_POWER8E ||
arch/powerpc/perf/hv-24x7.c
1706
PVR_VER(pvr) == PVR_POWER8NVL)
arch/powerpc/perf/hv-gpci.c
1049
if (PVR_VER(mfspr(SPRN_PVR)) >= PVR_POWER10)
arch/powerpc/perf/power10-pmu.c
613
if (PVR_VER(pvr) != PVR_POWER10)
arch/powerpc/perf/power10-pmu.c
647
if (PVR_VER(pvr) != PVR_POWER11)
arch/powerpc/perf/power5+-pmu.c
684
if (PVR_VER(pvr) != PVR_POWER5p)
arch/powerpc/perf/power5-pmu.c
625
if (PVR_VER(pvr) != PVR_POWER5)
arch/powerpc/perf/power6-pmu.c
558
if (PVR_VER(pvr) != PVR_POWER6)
arch/powerpc/perf/power7-pmu.c
452
if (PVR_VER(pvr) != PVR_POWER7 && PVR_VER(pvr) != PVR_POWER7p)
arch/powerpc/perf/power7-pmu.c
455
if (PVR_VER(pvr) == PVR_POWER7p)
arch/powerpc/perf/power8-pmu.c
396
if (PVR_VER(pvr) != PVR_POWER8E && PVR_VER(pvr) != PVR_POWER8NVL &&
arch/powerpc/perf/power8-pmu.c
397
PVR_VER(pvr) != PVR_POWER8)
arch/powerpc/perf/power9-pmu.c
470
if (PVR_VER(pvr) != PVR_POWER9)
arch/powerpc/perf/ppc970-pmu.c
496
if (PVR_VER(pvr) != PVR_970 && PVR_VER(pvr) != PVR_970MP &&
arch/powerpc/perf/ppc970-pmu.c
497
PVR_VER(pvr) != PVR_970FX && PVR_VER(pvr) != PVR_970GX)
arch/powerpc/platforms/powermac/setup.c
255
pvr = PVR_VER(mfspr(SPRN_PVR));
arch/powerpc/platforms/powernv/subcore.c
424
pvr_ver = PVR_VER(mfspr(SPRN_PVR));
drivers/cpufreq/pmac32-cpufreq.c
634
PVR_VER(mfspr(SPRN_PVR)) == 0x8003) {
drivers/cpufreq/pmac32-cpufreq.c
672
else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000)
tools/perf/arch/powerpc/util/header.c
34
nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));
tools/testing/selftests/powerpc/pmu/event_code_tests/blacklisted_events_test.c
84
SKIP_IF(PVR_VER(pvr) != POWER9);
tools/testing/selftests/powerpc/pmu/event_code_tests/event_alternatives_tests_p10.c
29
int pvr = PVR_VER(mfspr(SPRN_PVR));
tools/testing/selftests/powerpc/pmu/event_code_tests/event_alternatives_tests_p9.c
38
SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9);
tools/testing/selftests/powerpc/pmu/event_code_tests/generic_events_valid_test.c
76
} else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) {
tools/testing/selftests/powerpc/pmu/event_code_tests/reserved_bits_mmcra_sample_elig_mode_test.c
24
int pvr = PVR_VER(mfspr(SPRN_PVR));
tools/testing/selftests/powerpc/pmu/event_code_tests/reserved_bits_mmcra_sample_elig_mode_test.c
66
} else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) {
tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_filter_map_test.c
86
switch (PVR_VER(mfspr(SPRN_PVR))) {
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c
127
pvr = PVR_VER(mfspr(SPRN_PVR));