Searched refs:SPRN_PMC6 (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | pmc56_overflow_test.c | 38 val = mfspr(SPRN_PMC6); in ebb_callee() 71 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
|
D | reg.h | 43 #define SPRN_PMC6 776 macro
|
D | ebb.c | 241 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state() 452 case 6: mtspr(SPRN_PMC6, value); break; in write_pmc() 464 case 6: return mfspr(SPRN_PMC6); in read_pmc()
|
D | multi_counter_test.c | 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 85 return mfspr(SPRN_PMC6); in classic_ctr_read() 118 mtspr(SPRN_PMC6, val); in classic_ctr_write()
|
D | reg.h | 744 #define SPRN_PMC6 792 macro 882 #define SPRN_PMC6 946 /* Performance Counter Register 6 */ macro
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-book3s.c | 668 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround() 674 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround() 687 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround() 717 val = mfspr(SPRN_PMC6); in read_pmc() 756 mtspr(SPRN_PMC6, val); in write_pmc() 1134 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0() 2088 mfspr(SPRN_PMC6)); in perf_event_interrupt()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 111 mfspr r9, SPRN_PMC6
|
D | book3s_hv_rmhandlers.S | 102 mtspr SPRN_PMC6, r9 789 mtspr SPRN_PMC6, r9 1609 mfspr r8, SPRN_PMC6 2671 mtspr SPRN_PMC6, r3
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | sysfs.c | 474 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
|