Searched refs:SPRN_PMC5 (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | pmc56_overflow_test.c | 32 val = mfspr(SPRN_PMC5); in ebb_callee() 70 mtspr(SPRN_PMC5, 0); in pmc56_overflow()
|
D | reg.h | 42 #define SPRN_PMC5 775 macro
|
D | ebb.c | 241 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state() 451 case 5: mtspr(SPRN_PMC5, value); break; in write_pmc() 463 case 5: return mfspr(SPRN_PMC5); in read_pmc()
|
D | multi_counter_test.c | 62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); in multi_counter()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 83 return mfspr(SPRN_PMC5); in classic_ctr_read() 115 mtspr(SPRN_PMC5, val); in classic_ctr_write()
|
D | reg.h | 743 #define SPRN_PMC5 791 macro 881 #define SPRN_PMC5 945 /* Performance Counter Register 5 */ macro
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 110 mfspr r8, SPRN_PMC5
|
D | book3s_hv_rmhandlers.S | 101 mtspr SPRN_PMC5, r8 788 mtspr SPRN_PMC5, r8 1608 mfspr r7, SPRN_PMC5
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-book3s.c | 667 pmcs[4] = mfspr(SPRN_PMC5); in pmao_restore_workaround() 686 mtspr(SPRN_PMC5, pmcs[4]); in pmao_restore_workaround() 714 val = mfspr(SPRN_PMC5); in read_pmc() 753 mtspr(SPRN_PMC5, val); in write_pmc() 1134 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0() 2087 freeze_limited_counters(cpuhw, mfspr(SPRN_PMC5), in perf_event_interrupt()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | sysfs.c | 473 SYSFS_PMCSETUP(pmc5, SPRN_PMC5);
|