Searched refs:SPRN_MMCR2 (Results 1 – 12 of 12) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 117 mfspr r8, SPRN_MMCR2 118 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
|
D | book3s_emulate.c | 841 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr() 1004 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv_rmhandlers.S | 3495 mtspr SPRN_MMCR2, r5 3550 mtspr SPRN_MMCR2, r8 3594 mfspr r10, SPRN_MMCR2 3595 mtspr SPRN_MMCR2, r3 3666 mtspr SPRN_MMCR2, r3
|
/arch/powerpc/oprofile/ |
D | op_model_7450.c | 86 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
|
/arch/powerpc/perf/ |
D | perf_regs.c | 83 return mfspr(SPRN_MMCR2); in get_ext_regs_value()
|
D | core-book3s.c | 92 #define SPRN_MMCRA SPRN_MMCR2 586 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out() 630 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2 | current->thread.mmcr2); in ebb_switch_in() 707 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround() 866 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug() 1431 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2); in power_pmu_enable()
|
/arch/powerpc/kernel/ |
D | cpu_setup_power.c | 114 mtspr(SPRN_MMCR2, 0); in init_PMU()
|
D | dt_cpu_ftrs.c | 384 mtspr(SPRN_MMCR2, 0); in init_pmu_power8() 423 mtspr(SPRN_MMCR2, 0); in init_pmu_power9()
|
D | sysfs.c | 608 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
|
/arch/powerpc/include/asm/ |
D | reg.h | 884 #define SPRN_MMCR2 785 macro 1058 #define SPRN_MMCR2 944 macro
|
/arch/powerpc/platforms/powernv/ |
D | idle.c | 675 sprs.mmcr2 = mfspr(SPRN_MMCR2); in power9_idle_stop() 792 mtspr(SPRN_MMCR2, sprs.mmcr2); in power9_idle_stop()
|
/arch/powerpc/xmon/ |
D | xmon.c | 1986 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|