Searched refs:SPRN_PMC2 (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 73 return mfspr(SPRN_PMC2); in classic_ctr_read() 102 mtspr(SPRN_PMC2, val); in classic_ctr_write()
|
D | reg.h | 890 #define SPRN_PMC2 788 macro 1028 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
|
/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 144 mfspr r5, SPRN_PMC2
|
D | book3s_hv_rmhandlers.S | 3466 mtspr SPRN_PMC2, r5 3521 mtspr SPRN_PMC2, r4 3603 mfspr r4, SPRN_PMC2
|
/arch/powerpc/perf/ |
D | core-book3s.c | 697 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround() 716 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround() 739 val = mfspr(SPRN_PMC2); in read_pmc() 778 mtspr(SPRN_PMC2, val); in write_pmc()
|
/arch/powerpc/kernel/ |
D | sysfs.c | 465 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
|
/arch/powerpc/xmon/ |
D | xmon.c | 1916 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()
|