Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S114 mfspr r8, SPRN_MMCR2
115 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
Dbook3s_emulate.c841 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr()
1004 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S3445 mtspr SPRN_MMCR2, r5
3500 mtspr SPRN_MMCR2, r8
3536 mfspr r10, SPRN_MMCR2
3537 mtspr SPRN_MMCR2, r3
3600 mtspr SPRN_MMCR2, r3
/arch/powerpc/oprofile/
Dop_model_7450.c86 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
/arch/powerpc/perf/
Dcore-book3s.c92 #define SPRN_MMCRA SPRN_MMCR2
591 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out()
630 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in()
701 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround()
847 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug()
1357 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
/arch/powerpc/kernel/
Dcpu_setup_power.S213 mtspr SPRN_MMCR2,r5
Ddt_cpu_ftrs.c377 mtspr(SPRN_MMCR2, 0); in init_pmu_power8()
416 mtspr(SPRN_MMCR2, 0); in init_pmu_power9()
Dsysfs.c480 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
/arch/powerpc/include/asm/
Dreg.h859 #define SPRN_MMCR2 785 macro
1026 #define SPRN_MMCR2 944 macro
/arch/powerpc/platforms/powernv/
Didle.c673 sprs.mmcr2 = mfspr(SPRN_MMCR2); in power9_idle_stop()
792 mtspr(SPRN_MMCR2, sprs.mmcr2); in power9_idle_stop()
/arch/powerpc/xmon/
Dxmon.c1865 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()