Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/powerpc/pmu/ebb/
Dpmc56_overflow_test.c38 val = mfspr(SPRN_PMC6); in ebb_callee()
71 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
448 case 6: mtspr(SPRN_PMC6, value); break; in write_pmc()
460 case 6: return mfspr(SPRN_PMC6); in read_pmc()
Dmulti_counter_test.c63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
/Linux-v5.10/arch/powerpc/include/asm/
Doprofile_impl.h81 return mfspr(SPRN_PMC6); in classic_ctr_read()
114 mtspr(SPRN_PMC6, val); in classic_ctr_write()
Dreg.h920 #define SPRN_PMC6 792 macro
1062 #define SPRN_PMC6 946 /* Performance Counter Register 6 */ macro
/Linux-v5.10/tools/testing/selftests/powerpc/include/
Dreg.h44 #define SPRN_PMC6 776 macro
/Linux-v5.10/arch/powerpc/perf/
Dcore-book3s.c713 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
719 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround()
732 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround()
763 val = mfspr(SPRN_PMC6); in read_pmc()
802 mtspr(SPRN_PMC6, val); in write_pmc()
1200 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0()
2231 mfspr(SPRN_PMC6)); in __perf_event_interrupt()
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S159 mfspr r9, SPRN_PMC6
Dbook3s_hv_rmhandlers.S3436 mtspr SPRN_PMC6, r9
3499 mtspr SPRN_PMC6, r9
3597 mfspr r8, SPRN_PMC6
3634 mtspr SPRN_PMC6, r3
/Linux-v5.10/arch/powerpc/kernel/
Dsysfs.c604 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
/Linux-v5.10/arch/powerpc/xmon/
Dxmon.c1993 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()