Searched refs:SPRN_PMC2 (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 77 return mfspr(SPRN_PMC2); in classic_ctr_read() 106 mtspr(SPRN_PMC2, val); in classic_ctr_write()
|
D | reg.h | 740 #define SPRN_PMC2 788 macro 878 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | reg.h | 39 #define SPRN_PMC2 772 macro
|
D | ebb.c | 240 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 448 case 2: mtspr(SPRN_PMC2, value); break; in write_pmc() 460 case 2: return mfspr(SPRN_PMC2); in read_pmc()
|
D | multi_counter_test.c | 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 107 mfspr r5, SPRN_PMC2
|
D | book3s_hv_rmhandlers.S | 98 mtspr SPRN_PMC2, r4 785 mtspr SPRN_PMC2, r5 1605 mfspr r4, SPRN_PMC2
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-book3s.c | 664 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround() 683 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround() 705 val = mfspr(SPRN_PMC2); in read_pmc() 744 mtspr(SPRN_PMC2, val); in write_pmc()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | sysfs.c | 470 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
|