Searched refs:SPRN_PMC3 (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | oprofile_impl.h | 75 return mfspr(SPRN_PMC3); in classic_ctr_read() 105 mtspr(SPRN_PMC3, val); in classic_ctr_write()
|
| D | reg.h | 891 #define SPRN_PMC3 789 macro 1029 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
|
| /Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/ |
| D | ebb.c | 238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 447 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc() 459 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-v5.4/tools/testing/selftests/powerpc/include/ |
| D | reg.h | 41 #define SPRN_PMC3 773 macro
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | book3s_hv_interrupts.S | 145 mfspr r6, SPRN_PMC3
|
| D | book3s_hv_rmhandlers.S | 3399 mtspr SPRN_PMC3, r6 3454 mtspr SPRN_PMC3, r5 3536 mfspr r5, SPRN_PMC3
|
| /Linux-v5.4/arch/powerpc/perf/ |
| D | core-book3s.c | 697 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround() 716 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround() 741 val = mfspr(SPRN_PMC3); in read_pmc() 780 mtspr(SPRN_PMC3, val); in write_pmc()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | sysfs.c | 474 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);
|
| /Linux-v5.4/arch/powerpc/xmon/ |
| D | xmon.c | 1868 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()
|