Home
last modified time | relevance | path

Searched refs:SPRN_PMC5 (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/tools/testing/selftests/powerpc/pmu/ebb/
Dpmc56_overflow_test.c32 val = mfspr(SPRN_PMC5); in ebb_callee()
70 mtspr(SPRN_PMC5, 0); in pmc56_overflow()
Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
449 case 5: mtspr(SPRN_PMC5, value); break; in write_pmc()
461 case 5: return mfspr(SPRN_PMC5); in read_pmc()
Dmulti_counter_test.c62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); in multi_counter()
/Linux-v4.19/arch/powerpc/include/asm/
Doprofile_impl.h83 return mfspr(SPRN_PMC5); in classic_ctr_read()
115 mtspr(SPRN_PMC5, val); in classic_ctr_write()
Dreg.h878 #define SPRN_PMC5 791 macro
1016 #define SPRN_PMC5 945 /* Performance Counter Register 5 */ macro
/Linux-v4.19/tools/testing/selftests/powerpc/include/
Dreg.h42 #define SPRN_PMC5 775 macro
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S104 mfspr r8, SPRN_PMC5
Dbook3s_hv_rmhandlers.S135 mtspr SPRN_PMC5, r8
830 mtspr SPRN_PMC5, r8
1859 mfspr r7, SPRN_PMC5
/Linux-v4.19/arch/powerpc/perf/
Dcore-book3s.c690 pmcs[4] = mfspr(SPRN_PMC5); in pmao_restore_workaround()
709 mtspr(SPRN_PMC5, pmcs[4]); in pmao_restore_workaround()
738 val = mfspr(SPRN_PMC5); in read_pmc()
777 mtspr(SPRN_PMC5, val); in write_pmc()
1163 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0()
2161 freeze_limited_counters(cpuhw, mfspr(SPRN_PMC5), in perf_event_interrupt()
/Linux-v4.19/arch/powerpc/kernel/
Dsysfs.c474 SYSFS_PMCSETUP(pmc5, SPRN_PMC5);
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c1850 mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); in dump_207_sprs()