Home
last modified time | relevance | path

Searched refs:SPRN_PMC2 (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/arch/powerpc/include/asm/
Doprofile_impl.h77 return mfspr(SPRN_PMC2); in classic_ctr_read()
106 mtspr(SPRN_PMC2, val); in classic_ctr_write()
Dreg.h740 #define SPRN_PMC2 788 macro
878 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dreg.h39 #define SPRN_PMC2 772 macro
Debb.c240 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state()
448 case 2: mtspr(SPRN_PMC2, value); break; in write_pmc()
460 case 2: return mfspr(SPRN_PMC2); in read_pmc()
Dmulti_counter_test.c59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S107 mfspr r5, SPRN_PMC2
Dbook3s_hv_rmhandlers.S98 mtspr SPRN_PMC2, r4
785 mtspr SPRN_PMC2, r5
1605 mfspr r4, SPRN_PMC2
/linux-4.4.14/arch/powerpc/perf/
Dcore-book3s.c664 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()
683 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround()
705 val = mfspr(SPRN_PMC2); in read_pmc()
744 mtspr(SPRN_PMC2, val); in write_pmc()
/linux-4.4.14/arch/powerpc/kernel/
Dsysfs.c470 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);