Searched refs:SPRN_PMC2 (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | oprofile_impl.h | 73 return mfspr(SPRN_PMC2); in classic_ctr_read() 102 mtspr(SPRN_PMC2, val); in classic_ctr_write()
|
| H A D | reg.h | 918 #define SPRN_PMC2 788 macro 1060 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | ebb.c | 238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state() 444 case 2: mtspr(SPRN_PMC2, value); break; in write_pmc() 456 case 2: return mfspr(SPRN_PMC2); in read_pmc()
|
| H A D | pmc56_overflow_test.c | 69 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in pmc56_overflow()
|
| H A D | multi_counter_test.c | 59 mtspr(SPRN_PMC2, pmc_sample_period(sample_period)); in multi_counter()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/include/ |
| H A D | reg.h | 40 #define SPRN_PMC2 772 macro
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_hv_interrupts.S | 155 mfspr r5, SPRN_PMC2
|
| H A D | book3s_hv_rmhandlers.S | 3470 mtspr SPRN_PMC2, r5 3533 mtspr SPRN_PMC2, r4 3631 mfspr r4, SPRN_PMC2
|
| /OK3568_Linux_fs/kernel/arch/powerpc/perf/ |
| H A D | core-book3s.c | 700 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround() 719 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround() 742 val = mfspr(SPRN_PMC2); in read_pmc() 781 mtspr(SPRN_PMC2, val); in write_pmc()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/ |
| H A D | processor.h | 331 #define SPRN_PMC2 0x3BA /* Performance Counter Register 2 */ macro
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | sysfs.c | 600 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
|
| /OK3568_Linux_fs/kernel/arch/powerpc/xmon/ |
| H A D | xmon.c | 1990 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()
|