Home
last modified time | relevance | path

Searched refs:SPRN_MMCR2 (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S78 mfspr r8, SPRN_MMCR2
79 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
Dbook3s_emulate.c499 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr()
641 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S129 mtspr SPRN_MMCR2, r8
702 mtspr SPRN_MMCR2, r5
1300 mfspr r10, SPRN_MMCR2
1301 mtspr SPRN_MMCR2, r3
2605 mtspr SPRN_MMCR2, r3
/arch/powerpc/oprofile/
Dop_model_7450.c90 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
/arch/powerpc/kernel/
Dcpu_setup_power.S181 mtspr SPRN_MMCR2,r5
Dsysfs.c477 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
/arch/powerpc/perf/
Dcore-book3s.c90 #define SPRN_MMCRA SPRN_MMCR2
560 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out()
599 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in()
670 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround()
810 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug()
1295 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
/arch/powerpc/include/asm/
Dreg.h706 #define SPRN_MMCR2 785 macro
871 #define SPRN_MMCR2 944 macro