Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Doprofile_impl.h81 return mfspr(SPRN_PMC4); in classic_ctr_read()
112 mtspr(SPRN_PMC4, val); in classic_ctr_write()
Dreg.h737 #define SPRN_PMC4 790 macro
875 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S113 mfspr r7, SPRN_PMC4
Dbook3s_hv_rmhandlers.S110 mtspr SPRN_PMC4, r6
680 mtspr SPRN_PMC4, r7
1335 mfspr r6, SPRN_PMC4
/arch/powerpc/perf/
Dcore-book3s.c665 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
684 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
710 val = mfspr(SPRN_PMC4); in read_pmc()
749 mtspr(SPRN_PMC4, val); in write_pmc()
/arch/powerpc/kernel/
Dsysfs.c472 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);