Home
last modified time | relevance | path

Searched refs:SPRN_PMC2 (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/include/asm/
Doprofile_impl.h78 return mfspr(SPRN_PMC2); in classic_ctr_read()
107 mtspr(SPRN_PMC2, val); in classic_ctr_write()
Dreg.h603 #define SPRN_PMC2 788 macro
726 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S88 mfspr r5, SPRN_PMC2
Dbook3s_hv_rmhandlers.S168 mtspr SPRN_PMC2, r5
999 mfspr r4, SPRN_PMC2
1055 mtspr SPRN_PMC2, r4
/arch/powerpc/perf/
Dcore-book3s.c210 val = mfspr(SPRN_PMC2); in read_pmc()
249 mtspr(SPRN_PMC2, val); in write_pmc()
/arch/powerpc/kernel/
Dsysfs.c162 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);