Home
last modified time | relevance | path

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

/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Dpmc56_overflow_test.c38 val = mfspr(SPRN_PMC6); in ebb_callee()
69 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
Dreg.h43 #define SPRN_PMC6 776 macro
Debb.c240 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
441 case 6: mtspr(SPRN_PMC6, value); break; in write_pmc()
453 case 6: return mfspr(SPRN_PMC6); in read_pmc()
Dmulti_counter_test.c61 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
/linux-4.1.27/arch/powerpc/include/asm/
Doprofile_impl.h85 return mfspr(SPRN_PMC6); in classic_ctr_read()
118 mtspr(SPRN_PMC6, val); in classic_ctr_write()
Dreg.h745 #define SPRN_PMC6 792 macro
883 #define SPRN_PMC6 946 /* Performance Counter Register 6 */ macro
/linux-4.1.27/arch/powerpc/perf/
Dcore-book3s.c668 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
674 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround()
687 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround()
717 val = mfspr(SPRN_PMC6); in read_pmc()
756 mtspr(SPRN_PMC6, val); in write_pmc()
1134 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0()
2064 mfspr(SPRN_PMC6)); in perf_event_interrupt()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S111 mfspr r9, SPRN_PMC6
Dbook3s_hv_rmhandlers.S102 mtspr SPRN_PMC6, r9
704 mtspr SPRN_PMC6, r9
1512 mfspr r8, SPRN_PMC6
2556 mtspr SPRN_PMC6, r3
/linux-4.1.27/arch/powerpc/kernel/
Dsysfs.c474 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);