Home
last modified time | relevance | path

Searched refs:SPRN_MMCRA (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/oprofile/
Dop_model_power4.c188 mtspr(SPRN_MMCRA, mmcra); in power4_cpu_setup()
195 mfspr(SPRN_MMCRA)); in power4_cpu_setup()
287 mmcra = mfspr(SPRN_MMCRA); in get_pc()
370 mmcra = mfspr(SPRN_MMCRA); in power4_handle_interrupt()
421 mtspr(SPRN_MMCRA, mmcra); in power4_handle_interrupt()
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S122 mfspr r6, SPRN_MMCRA
125 mtspr SPRN_MMCRA, r5
Dbook3s_emulate.c838 case SPRN_MMCRA: in kvmppc_core_emulate_mtspr_pr()
1001 case SPRN_MMCRA: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S3477 mtspr SPRN_MMCRA, r6
3532 mtspr SPRN_MMCRA, r5
3582 mfspr r6, SPRN_MMCRA
3585 mtspr SPRN_MMCRA, r7
/arch/powerpc/perf/
Dpower8-pmu.c246 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power8_config_bhrb()
Dpower9-pmu.c303 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power9_config_bhrb()
Dcore-book3s.c92 #define SPRN_MMCRA SPRN_MMCR2 macro
288 unsigned long mmcra = mfspr(SPRN_MMCRA); in perf_read_regs()
839 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug()
1242 mtspr(SPRN_MMCRA, in power_pmu_disable()
1317 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1355 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1429 mtspr(SPRN_MMCRA, cpuhw->mmcr[2]); in power_pmu_enable()
Disa207-common.c230 u64 mmcra = mfspr(SPRN_MMCRA); in isa207_get_mem_weight()
/arch/powerpc/platforms/powernv/
Didle.c670 sprs.mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop()
728 mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop()
730 mtspr(SPRN_MMCRA, mmcra); in power9_idle_stop()
732 mtspr(SPRN_MMCRA, mmcra); in power9_idle_stop()
789 mtspr(SPRN_MMCRA, sprs.mmcra); in power9_idle_stop()
/arch/powerpc/kernel/
Dcpu_setup_power.S210 mtspr SPRN_MMCRA,r5
Ddt_cpu_ftrs.c381 mtspr(SPRN_MMCRA, 0); in init_pmu_power8()
420 mtspr(SPRN_MMCRA, 0); in init_pmu_power9()
Dsysfs.c479 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA);
/arch/powerpc/include/asm/
Dreg.h861 #define SPRN_MMCRA 0x312 macro
/arch/powerpc/xmon/
Dxmon.c1919 mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); in dump_207_sprs()