Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/powerpc/pmu/ebb/
Dlost_exception_test.c51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body()
78 mtspr(SPRN_PMC4, 0xdead); in test_body()
Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
446 case 4: mtspr(SPRN_PMC4, value); break; in write_pmc()
458 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-v5.15/tools/testing/selftests/powerpc/include/
Dreg.h42 #define SPRN_PMC4 774 macro
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S152 mfspr r7, SPRN_PMC4
Dbook3s_hv_rmhandlers.S2806 mtspr SPRN_PMC4, r7
2869 mtspr SPRN_PMC4, r6
2967 mfspr r6, SPRN_PMC4
/Linux-v5.15/arch/powerpc/perf/
Dcore-book3s.c754 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
773 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
800 val = mfspr(SPRN_PMC4); in read_pmc()
839 mtspr(SPRN_PMC4, val); in write_pmc()
/Linux-v5.15/arch/powerpc/include/asm/
Dreg.h919 #define SPRN_PMC4 790 macro
1061 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
/Linux-v5.15/arch/powerpc/kernel/
Dsysfs.c602 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
/Linux-v5.15/arch/powerpc/xmon/
Dxmon.c2078 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()