Searched refs:SPRN_PMC4 (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | lost_exception_test.c | 49 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 77 mtspr(SPRN_PMC4, 0xdead); in test_body()
|
D | reg.h | 41 #define SPRN_PMC4 774 macro
|
D | ebb.c | 240 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state() 439 case 4: mtspr(SPRN_PMC4, value); break; in write_pmc() 451 case 4: return mfspr(SPRN_PMC4); in read_pmc()
|
D | multi_counter_test.c | 59 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | oprofile_impl.h | 81 return mfspr(SPRN_PMC4); in classic_ctr_read() 112 mtspr(SPRN_PMC4, val); in classic_ctr_write()
|
D | reg.h | 743 #define SPRN_PMC4 790 macro 881 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 109 mfspr r7, SPRN_PMC4
|
D | book3s_hv_rmhandlers.S | 100 mtspr SPRN_PMC4, r6 702 mtspr SPRN_PMC4, r7 1510 mfspr r6, SPRN_PMC4
|
/linux-4.1.27/arch/powerpc/perf/ |
D | core-book3s.c | 666 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround() 685 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround() 711 val = mfspr(SPRN_PMC4); in read_pmc() 750 mtspr(SPRN_PMC4, val); in write_pmc()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | sysfs.c | 472 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
|