Searched refs:SPRN_PVR (Results 1 - 25 of 62) sorted by relevance

123

/linux-master/tools/perf/arch/powerpc/util/
H A Dutils_header.h11 #define SPRN_PVR 0x11F /* Processor Version Register */ macro
H A Dheader.c20 pvr = mfspr(SPRN_PVR);
37 if (asprintf(&bufp, "0x%.8lx", mfspr(SPRN_PVR)) < 0)
/linux-master/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) {
65 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) {
H A Dgeneric_events_valid_test.c34 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) {
75 } else if (PVR_VER(mfspr(SPRN_PVR)) == POWER9) {
H A Devent_alternatives_tests_p10.c39 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER10);
H A Devent_alternatives_tests_p9.c38 SKIP_IF(PVR_VER(mfspr(SPRN_PVR)) != POWER9);
H A Dblacklisted_events_test.c82 pvr_min = PVR_MIN(mfspr(SPRN_PVR));
/linux-master/arch/powerpc/kernel/
H A Dearly_32.c33 identify_cpu(offset, mfspr(SPRN_PVR));
H A Ddawr.c101 if (PVR_VER(mfspr(SPRN_PVR)) == PVR_POWER9) {
H A Dcpu_setup_6xx.S360 mfspr r3,SPRN_PVR
400 mfspr r3,SPRN_PVR
431 mfspr r3,SPRN_PVR
493 mfspr r3,SPRN_PVR
H A Dsetup_64.c282 (mfspr(SPRN_PVR) & 0xf00) == 0x100)
378 identify_cpu(0, mfspr(SPRN_PVR));
639 pvr = PVR_VER(mfspr(SPRN_PVR));
/linux-master/arch/powerpc/boot/
H A Dutil.S17 #define SPRN_PVR 0x11F /* Processor Version Register */ define
/linux-master/arch/powerpc/perf/
H A De6500-pmu.c110 unsigned int pvr = mfspr(SPRN_PVR);
H A De500-pmu.c121 unsigned int pvr = mfspr(SPRN_PVR);
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dbhrb_filter_map_test.c86 if (PVR_VER(mfspr(SPRN_PVR)) == POWER10) {
/linux-master/arch/powerpc/platforms/85xx/
H A Dstx_gp3.c72 pvid = mfspr(SPRN_PVR);
H A Dtqm85xx.c71 pvid = mfspr(SPRN_PVR);
H A Dksi8560.c152 pvid = mfspr(SPRN_PVR);
/linux-master/drivers/cpufreq/
H A Dpmac32-cpufreq.c592 pvr = mfspr(SPRN_PVR);
635 PVR_VER(mfspr(SPRN_PVR)) == 0x8003) {
673 else if (PVR_VER(mfspr(SPRN_PVR)) == 0x7000)
H A Dmaple-cpufreq.c183 pvr_hi = PVR_VER(mfspr(SPRN_PVR));
/linux-master/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c151 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e;
/linux-master/tools/testing/selftests/powerpc/include/
H A Dreg.h60 #define SPRN_PVR 0x11F macro
/linux-master/arch/powerpc/kvm/
H A Demulate.c140 case SPRN_PVR:
/linux-master/arch/powerpc/platforms/powernv/
H A Dsubcore.c424 pvr_ver = PVR_VER(mfspr(SPRN_PVR));
/linux-master/arch/powerpc/mm/book3s64/
H A Dpkeys.c89 unsigned long pvr = mfspr(SPRN_PVR);

Completed in 502 milliseconds

123