Searched refs:SPRN_PMC2 (Results 1 – 7 of 7) sorted by relevance
| /arch/powerpc/kvm/ |
| A D | book3s_hv_p9_perf.c | 55 host_os_sprs->pmc2 = mfspr(SPRN_PMC2); in switch_pmu_to_guest() 89 mtspr(SPRN_PMC2, vcpu->arch.pmc[1]); in switch_pmu_to_guest() 143 vcpu->arch.pmc[1] = mfspr(SPRN_PMC2); in switch_pmu_to_host() 196 mtspr(SPRN_PMC2, host_os_sprs->pmc2); in switch_pmu_to_host()
|
| A D | book3s_hv_interrupts.S | 146 mfspr r5, SPRN_PMC2
|
| A D | book3s_hv_rmhandlers.S | 2790 mtspr SPRN_PMC2, r5 2845 mtspr SPRN_PMC2, r4 2929 mfspr r4, SPRN_PMC2
|
| /arch/powerpc/perf/ |
| A D | core-book3s.c | 750 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround() 769 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround() 820 val = mfspr(SPRN_PMC2); in read_pmc() 859 mtspr(SPRN_PMC2, val); in write_pmc()
|
| /arch/powerpc/include/asm/ |
| A D | reg.h | 921 #define SPRN_PMC2 788 macro 1063 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
|
| /arch/powerpc/kernel/ |
| A D | sysfs.c | 606 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
|
| /arch/powerpc/xmon/ |
| A D | xmon.c | 2053 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()
|
Completed in 34 milliseconds