Home
last modified time | relevance | path

Searched refs:SPRN_MMCR0 (Results 1 – 13 of 13) sorted by relevance

/arch/powerpc/kernel/
Dpmc.c30 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); in dummy_perf()
32 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); in dummy_perf()
Dcpu_setup_power.S211 mtspr SPRN_MMCR0,r5
Ddt_cpu_ftrs.c382 mtspr(SPRN_MMCR0, 0); in init_pmu_power8()
421 mtspr(SPRN_MMCR0, 0); in init_pmu_power9()
Dsysfs.c462 SYSFS_PMCSETUP(mmcr0, SPRN_MMCR0);
/arch/powerpc/oprofile/
Dop_model_power4.c178 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup()
182 mtspr(SPRN_MMCR0, mmcr0); in power4_cpu_setup()
191 mfspr(SPRN_MMCR0)); in power4_cpu_setup()
216 mmcr0 = mfspr(SPRN_MMCR0); in power4_start()
230 mtspr(SPRN_MMCR0, mmcr0); in power4_start()
243 mmcr0 = mfspr(SPRN_MMCR0); in power4_stop()
245 mtspr(SPRN_MMCR0, mmcr0); in power4_stop()
408 mmcr0 = mfspr(SPRN_MMCR0); in power4_handle_interrupt()
429 mtspr(SPRN_MMCR0, mmcr0); in power4_handle_interrupt()
Dop_model_7450.c57 u32 mmcr0 = mfspr(SPRN_MMCR0); in pmc_start_ctrs()
62 mtspr(SPRN_MMCR0, mmcr0); in pmc_start_ctrs()
68 u32 mmcr0 = mfspr(SPRN_MMCR0); in pmc_stop_ctrs()
73 mtspr(SPRN_MMCR0, mmcr0); in pmc_stop_ctrs()
83 mtspr(SPRN_MMCR0, mmcr0_val); in fsl7450_cpu_setup()
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S120 mfspr r7, SPRN_MMCR0 /* save MMCR0 */
121 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable interrupts */
Dbook3s_emulate.c839 case SPRN_MMCR0: in kvmppc_core_emulate_mtspr_pr()
1002 case SPRN_MMCR0: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S3451 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable ints */
3494 mtspr SPRN_MMCR0, r3
3541 mtspr SPRN_MMCR0, r3
3580 mfspr r4, SPRN_MMCR0 /* save MMCR0 */
3581 mtspr SPRN_MMCR0, r3 /* freeze all counters, disable ints */
3641 mtspr SPRN_MMCR0, r3
/arch/powerpc/perf/
Dcore-book3s.c710 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround()
713 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround()
839 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug()
1168 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0()
1182 "i" (SPRN_MMCR0), in write_mmcr0()
1195 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0()
1224 val = mmcr0 = mfspr(SPRN_MMCR0); in power_pmu_disable()
1357 mtspr(SPRN_MMCR0, (cpuhw->mmcr[0] & ~(MMCR0_PMC1CE | MMCR0_PMCjCE)) in power_pmu_enable()
/arch/powerpc/platforms/powernv/
Didle.c658 mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop()
671 sprs.mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop()
721 mtspr(SPRN_MMCR0, mmcr0); in power9_idle_stop()
790 mtspr(SPRN_MMCR0, sprs.mmcr0); in power9_idle_stop()
/arch/powerpc/include/asm/
Dreg.h830 #define SPRN_MMCR0 795 macro
1006 #define SPRN_MMCR0 952 /* Monitor Mode Control Register 0 */ macro
/arch/powerpc/xmon/
Dxmon.c1914 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()