Home
last modified time | relevance | path

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

/arch/powerpc/oprofile/
Dop_model_power4.c192 mtspr(SPRN_MMCRA, mmcra); in power4_cpu_setup()
199 mfspr(SPRN_MMCRA)); in power4_cpu_setup()
291 mmcra = mfspr(SPRN_MMCRA); in get_pc()
374 mmcra = mfspr(SPRN_MMCRA); in power4_handle_interrupt()
425 mtspr(SPRN_MMCRA, mmcra); in power4_handle_interrupt()
/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S77 mfspr r6, SPRN_MMCRA
80 mtspr SPRN_MMCRA, r5
Dbook3s_emulate.c497 case SPRN_MMCRA: in kvmppc_core_emulate_mtspr_pr()
648 case SPRN_MMCRA: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S131 mtspr SPRN_MMCRA, r5
811 mtspr SPRN_MMCRA, r6
1698 mfspr r6, SPRN_MMCRA
1701 mtspr SPRN_MMCRA, r7
/arch/powerpc/kernel/
Didle_book3s.S114 mfspr r3, SPRN_MMCRA
137 mtspr SPRN_MMCRA, r4
571 mfspr r4,SPRN_MMCRA
573 mtspr SPRN_MMCRA,r4
575 mtspr SPRN_MMCRA,r4
Dcpu_setup_power.S259 mtspr SPRN_MMCRA,r5
Ddt_cpu_ftrs.c412 mtspr(SPRN_MMCRA, 0); in init_pmu_power8()
452 mtspr(SPRN_MMCRA, 0); in init_pmu_power9()
Dsysfs.c484 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA);
/arch/powerpc/perf/
Dpower8-pmu.c186 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power8_config_bhrb()
Dpower9-pmu.c296 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power9_config_bhrb()
Dcore-book3s.c91 #define SPRN_MMCRA SPRN_MMCR2 macro
277 unsigned long mmcra = mfspr(SPRN_MMCRA); in perf_read_regs()
837 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug()
1245 mtspr(SPRN_MMCRA, in power_pmu_disable()
1320 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1358 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1432 mtspr(SPRN_MMCRA, cpuhw->mmcr[2]); in power_pmu_enable()
Disa207-common.c236 u64 mmcra = mfspr(SPRN_MMCRA); in isa207_get_mem_weight()
/arch/powerpc/include/asm/
Dreg.h818 #define SPRN_MMCRA 0x312 macro
/arch/powerpc/xmon/
Dxmon.c1806 mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); in dump_207_sprs()