Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Doprofile_impl.h73 return mfspr(SPRN_PMC2); in classic_ctr_read()
102 mtspr(SPRN_PMC2, val); in classic_ctr_write()
Dreg.h890 #define SPRN_PMC2 788 macro
1028 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S144 mfspr r5, SPRN_PMC2
Dbook3s_hv_rmhandlers.S3466 mtspr SPRN_PMC2, r5
3521 mtspr SPRN_PMC2, r4
3603 mfspr r4, SPRN_PMC2
/arch/powerpc/perf/
Dcore-book3s.c697 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/
Dsysfs.c465 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
/arch/powerpc/xmon/
Dxmon.c1916 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()