Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/powerpc/pmu/ebb/
Dlost_exception_test.c51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body()
79 mtspr(SPRN_PMC4, 0xdead); in test_body()
Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
448 case 4: mtspr(SPRN_PMC4, value); break; in write_pmc()
460 case 4: return mfspr(SPRN_PMC4); in read_pmc()
Dmulti_counter_test.c61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
/Linux-v4.19/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.h877 #define SPRN_PMC4 790 macro
1015 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
/Linux-v4.19/tools/testing/selftests/powerpc/include/
Dreg.h41 #define SPRN_PMC4 774 macro
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S103 mfspr r7, SPRN_PMC4
Dbook3s_hv_rmhandlers.S134 mtspr SPRN_PMC4, r6
829 mtspr SPRN_PMC4, r7
1858 mfspr r6, SPRN_PMC4
/Linux-v4.19/arch/powerpc/perf/
Dcore-book3s.c689 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
708 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
735 val = mfspr(SPRN_PMC4); in read_pmc()
774 mtspr(SPRN_PMC4, val); in write_pmc()
/Linux-v4.19/arch/powerpc/kernel/
Dsysfs.c473 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c1848 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()