/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_perf.c | 56 host_os_sprs->pmc3 = mfspr(SPRN_PMC3); in switch_pmu_to_guest() 90 mtspr(SPRN_PMC3, vcpu->arch.pmc[2]); in switch_pmu_to_guest() 144 vcpu->arch.pmc[2] = mfspr(SPRN_PMC3); in switch_pmu_to_host() 197 mtspr(SPRN_PMC3, host_os_sprs->pmc3); in switch_pmu_to_host()
|
H A D | book3s_hv_interrupts.S | 147 mfspr r6, SPRN_PMC3
|
H A D | book3s_hv_rmhandlers.S | 2793 mtspr SPRN_PMC3, r6 2848 mtspr SPRN_PMC3, r5 2932 mfspr r5, SPRN_PMC3
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | oprofile_impl.h | 75 return mfspr(SPRN_PMC3); in classic_ctr_read() 105 mtspr(SPRN_PMC3, val); in classic_ctr_write()
|
H A D | reg.h | 919 #define SPRN_PMC3 789 macro 1061 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
|
/kernel/linux/linux-5.10/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() 445 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc() 457 case 3: return mfspr(SPRN_PMC3); in read_pmc()
|
H A D | multi_counter_test.c | 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter()
|
/kernel/linux/linux-6.6/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() 445 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc() 457 case 3: return mfspr(SPRN_PMC3); in read_pmc()
|
H A D | multi_counter_test.c | 60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 41 #define SPRN_PMC3 773 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 43 #define SPRN_PMC3 773 macro
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_interrupts.S | 156 mfspr r6, SPRN_PMC3
|
H A D | book3s_hv_rmhandlers.S | 3471 mtspr SPRN_PMC3, r6 3534 mtspr SPRN_PMC3, r5 3632 mfspr r5, SPRN_PMC3
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
H A D | core-book3s.c | 701 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround() 720 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround() 745 val = mfspr(SPRN_PMC3); in read_pmc() 784 mtspr(SPRN_PMC3, val); in write_pmc()
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | core-book3s.c | 754 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround() 773 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround() 826 val = mfspr(SPRN_PMC3); in read_pmc() 865 mtspr(SPRN_PMC3, val); in write_pmc()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | reg.h | 926 #define SPRN_PMC3 789 macro 1068 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | sysfs.c | 601 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | sysfs.c | 606 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);
|
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | xmon.c | 1989 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()
|
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | xmon.c | 2073 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()
|