Searched refs:SPRN_PMC2 (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| A D | ebb.c | 238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 444 case 2: mtspr(SPRN_PMC2, value); break; in write_pmc() 456 case 2: return mfspr(SPRN_PMC2); in read_pmc()
|
| A D | pmc56_overflow_test.c | 69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in pmc56_overflow()
|
| A D | multi_counter_test.c | 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter()
|
| /linux/tools/testing/selftests/powerpc/include/ |
| A D | reg.h | 40 #define SPRN_PMC2 772 macro
|
| /linux/arch/powerpc/kvm/ |
| A D | book3s_hv_interrupts.S | 150 mfspr r5, SPRN_PMC2
|
| A D | book3s_hv_rmhandlers.S | 2804 mtspr SPRN_PMC2, r5 2867 mtspr SPRN_PMC2, r4 2965 mfspr r4, SPRN_PMC2
|
| /linux/arch/powerpc/perf/ |
| A D | core-book3s.c | 752 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround() 771 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround() 794 val = mfspr(SPRN_PMC2); in read_pmc() 833 mtspr(SPRN_PMC2, val); in write_pmc()
|
| /linux/arch/powerpc/include/asm/ |
| A D | reg.h | 917 #define SPRN_PMC2 788 macro 1059 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
|
| /linux/arch/powerpc/kernel/ |
| A D | sysfs.c | 600 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
|
| /linux/arch/powerpc/xmon/ |
| A D | xmon.c | 2077 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()
|
Completed in 27 milliseconds