Searched refs:SPRN_PMC3 (Results 1 – 9 of 9) sorted by relevance
| /linux-4.4.14/arch/powerpc/include/asm/ |
| D | oprofile_impl.h | 79 return mfspr(SPRN_PMC3); in classic_ctr_read() 109 mtspr(SPRN_PMC3, val); in classic_ctr_write()
|
| D | reg.h | 741 #define SPRN_PMC3 789 macro 879 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
|
| /linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
| D | reg.h | 40 #define SPRN_PMC3 773 macro
|
| D | ebb.c | 240 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 449 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc() 461 case 3: return mfspr(SPRN_PMC3); in read_pmc()
|
| D | multi_counter_test.c | 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter()
|
| /linux-4.4.14/arch/powerpc/kvm/ |
| D | book3s_hv_interrupts.S | 108 mfspr r6, SPRN_PMC3
|
| D | book3s_hv_rmhandlers.S | 99 mtspr SPRN_PMC3, r5 786 mtspr SPRN_PMC3, r6 1606 mfspr r5, SPRN_PMC3
|
| /linux-4.4.14/arch/powerpc/perf/ |
| D | core-book3s.c | 665 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround() 684 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround() 708 val = mfspr(SPRN_PMC3); in read_pmc() 747 mtspr(SPRN_PMC3, val); in write_pmc()
|
| /linux-4.4.14/arch/powerpc/kernel/ |
| D | sysfs.c | 471 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);
|