Home
last modified time | relevance | path

Searched refs:SPRN_PMC4 (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/pmu/ebb/
H A Dlost_exception_test.c51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body()
78 mtspr(SPRN_PMC4, 0xdead); in test_body()
H A Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
446 case 4: mtspr(SPRN_PMC4, value); break; in write_pmc()
458 case 4: return mfspr(SPRN_PMC4); in read_pmc()
H A Dmulti_counter_test.c61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Doprofile_impl.h77 return mfspr(SPRN_PMC4); in classic_ctr_read()
108 mtspr(SPRN_PMC4, val); in classic_ctr_write()
H A Dreg.h920 #define SPRN_PMC4 790 macro
1062 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/include/
H A Dreg.h42 #define SPRN_PMC4 774 macro
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A Dbook3s_hv_interrupts.S157 mfspr r7, SPRN_PMC4
H A Dbook3s_hv_rmhandlers.S3472 mtspr SPRN_PMC4, r7
3535 mtspr SPRN_PMC4, r6
3633 mfspr r6, SPRN_PMC4
/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dcore-book3s.c702 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
721 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
748 val = mfspr(SPRN_PMC4); in read_pmc()
787 mtspr(SPRN_PMC4, val); in write_pmc()
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h333 #define SPRN_PMC4 0x3BE /* Performance Counter Register 4 */ macro
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsysfs.c602 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
/OK3568_Linux_fs/kernel/arch/powerpc/xmon/
H A Dxmon.c1991 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()