Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Doprofile_impl.h77 return mfspr(SPRN_PMC2); in classic_ctr_read()
106 mtspr(SPRN_PMC2, val); in classic_ctr_write()
Dreg.h875 #define SPRN_PMC2 788 macro
1013 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
/Linux-v4.19/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state()
446 case 2: mtspr(SPRN_PMC2, value); break; in write_pmc()
458 case 2: return mfspr(SPRN_PMC2); in read_pmc()
Dpmc56_overflow_test.c69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in pmc56_overflow()
Dmulti_counter_test.c59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter()
/Linux-v4.19/tools/testing/selftests/powerpc/include/
Dreg.h39 #define SPRN_PMC2 772 macro
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S101 mfspr r5, SPRN_PMC2
Dbook3s_hv_rmhandlers.S132 mtspr SPRN_PMC2, r4
827 mtspr SPRN_PMC2, r5
1856 mfspr r4, SPRN_PMC2
/Linux-v4.19/arch/powerpc/perf/
Dcore-book3s.c687 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()
706 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround()
729 val = mfspr(SPRN_PMC2); in read_pmc()
768 mtspr(SPRN_PMC2, val); in write_pmc()
/Linux-v4.19/arch/powerpc/kernel/
Dsysfs.c471 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c1847 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()