Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/include/asm/
Doprofile_impl.h75 return mfspr(SPRN_PMC3); in classic_ctr_read()
105 mtspr(SPRN_PMC3, val); in classic_ctr_write()
Dreg.h891 #define SPRN_PMC3 789 macro
1029 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state()
447 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc()
459 case 3: return mfspr(SPRN_PMC3); in read_pmc()
Dmulti_counter_test.c60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter()
/Linux-v5.4/tools/testing/selftests/powerpc/include/
Dreg.h41 #define SPRN_PMC3 773 macro
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S145 mfspr r6, SPRN_PMC3
Dbook3s_hv_rmhandlers.S3399 mtspr SPRN_PMC3, r6
3454 mtspr SPRN_PMC3, r5
3536 mfspr r5, SPRN_PMC3
/Linux-v5.4/arch/powerpc/perf/
Dcore-book3s.c697 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround()
716 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround()
741 val = mfspr(SPRN_PMC3); in read_pmc()
780 mtspr(SPRN_PMC3, val); in write_pmc()
/Linux-v5.4/arch/powerpc/kernel/
Dsysfs.c474 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);
/Linux-v5.4/arch/powerpc/xmon/
Dxmon.c1868 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()