Home
last modified time | relevance | path

Searched refs:SPRN_PMC3 (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/arch/powerpc/include/asm/
Doprofile_impl.h79 return mfspr(SPRN_PMC3); in classic_ctr_read()
109 mtspr(SPRN_PMC3, val); in classic_ctr_write()
Dreg.h742 #define SPRN_PMC3 789 macro
880 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Dreg.h40 #define SPRN_PMC3 773 macro
Debb.c239 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state()
438 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc()
450 case 3: return mfspr(SPRN_PMC3); in read_pmc()
Dmulti_counter_test.c58 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S108 mfspr r6, SPRN_PMC3
Dbook3s_hv_rmhandlers.S99 mtspr SPRN_PMC3, r5
701 mtspr SPRN_PMC3, r6
1509 mfspr r5, SPRN_PMC3
/linux-4.1.27/arch/powerpc/perf/
Dcore-book3s.c665 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround()
684 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround()
708 val = mfspr(SPRN_PMC3); in read_pmc()
747 mtspr(SPRN_PMC3, val); in write_pmc()
/linux-4.1.27/arch/powerpc/kernel/
Dsysfs.c471 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);