Searched refs:SPRN_PMC4 (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/ |
| D | lost_exception_test.c | 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 79 mtspr(SPRN_PMC4, 0xdead); in test_body()
|
| D | ebb.c | 239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state() 448 case 4: mtspr(SPRN_PMC4, value); break; in write_pmc() 460 case 4: return mfspr(SPRN_PMC4); in read_pmc()
|
| D | multi_counter_test.c | 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | oprofile_impl.h | 77 return mfspr(SPRN_PMC4); in classic_ctr_read() 108 mtspr(SPRN_PMC4, val); in classic_ctr_write()
|
| D | reg.h | 892 #define SPRN_PMC4 790 macro 1030 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
|
| /Linux-v5.4/tools/testing/selftests/powerpc/include/ |
| D | reg.h | 42 #define SPRN_PMC4 774 macro
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | book3s_hv_interrupts.S | 146 mfspr r7, SPRN_PMC4
|
| D | book3s_hv_rmhandlers.S | 3400 mtspr SPRN_PMC4, r7 3455 mtspr SPRN_PMC4, r6 3537 mfspr r6, SPRN_PMC4
|
| /Linux-v5.4/arch/powerpc/perf/ |
| D | core-book3s.c | 698 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround() 717 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround() 744 val = mfspr(SPRN_PMC4); in read_pmc() 783 mtspr(SPRN_PMC4, val); in write_pmc()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | sysfs.c | 475 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
|
| /Linux-v5.4/arch/powerpc/xmon/ |
| D | xmon.c | 1868 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()
|