Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S84 mfspr r6, SPRN_MMCRA
87 mtspr SPRN_MMCRA, r5
Dbook3s_emulate.c497 case SPRN_MMCRA: in kvmppc_core_emulate_mtspr_pr()
639 case SPRN_MMCRA: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S109 mtspr SPRN_MMCRA, r5
796 mtspr SPRN_MMCRA, r6
1582 mfspr r6, SPRN_MMCRA
1585 mtspr SPRN_MMCRA, r7
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dreg.h22 #define SPRN_MMCRA 770 macro
Debb.c393 val = mfspr(SPRN_MMCRA); in ebb_child()
/linux-4.4.14/arch/powerpc/perf/
Dcore-book3s.c90 #define SPRN_MMCRA SPRN_MMCR2 macro
270 unsigned long mmcra = mfspr(SPRN_MMCRA); in perf_read_regs()
800 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug()
1192 mtspr(SPRN_MMCRA, in power_pmu_disable()
1253 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1291 mtspr(SPRN_MMCRA, cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable()
1365 mtspr(SPRN_MMCRA, cpuhw->mmcr[2]); in power_pmu_enable()
Dpower8-pmu.c694 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power8_config_bhrb()
/linux-4.4.14/arch/powerpc/kernel/
Dcpu_setup_power.S172 mtspr SPRN_MMCRA,r5
Dsysfs.c484 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA);
/linux-4.4.14/arch/powerpc/include/asm/
Dreg.h711 #define SPRN_MMCRA 0x312 macro