Searched refs:SPRN_PMC2 (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 77 return mfspr(SPRN_PMC2); in classic_ctr_read() 106 mtspr(SPRN_PMC2, val); in classic_ctr_write()
|
D | reg.h | 741 #define SPRN_PMC2 788 macro 879 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | reg.h | 39 #define SPRN_PMC2 772 macro
|
D | ebb.c | 239 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 437 case 2: mtspr(SPRN_PMC2, value); break; in write_pmc() 449 case 2: return mfspr(SPRN_PMC2); in read_pmc()
|
D | multi_counter_test.c | 57 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 107 mfspr r5, SPRN_PMC2
|
D | book3s_hv_rmhandlers.S | 98 mtspr SPRN_PMC2, r4 700 mtspr SPRN_PMC2, r5 1508 mfspr r4, SPRN_PMC2
|
/linux-4.1.27/arch/powerpc/perf/ |
D | core-book3s.c | 664 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.1.27/arch/powerpc/kernel/ |
D | sysfs.c | 470 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
|