Searched refs:SPRN_MMCR2 (Results 1 – 11 of 11) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 114 mfspr r8, SPRN_MMCR2 115 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 | 3445 mtspr SPRN_MMCR2, r5 3500 mtspr SPRN_MMCR2, r8 3536 mfspr r10, SPRN_MMCR2 3537 mtspr SPRN_MMCR2, r3 3600 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 | core-book3s.c | 92 #define SPRN_MMCRA SPRN_MMCR2 591 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out() 630 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in() 701 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround() 847 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug() 1357 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
|
/arch/powerpc/kernel/ |
D | cpu_setup_power.S | 213 mtspr SPRN_MMCR2,r5
|
D | dt_cpu_ftrs.c | 377 mtspr(SPRN_MMCR2, 0); in init_pmu_power8() 416 mtspr(SPRN_MMCR2, 0); in init_pmu_power9()
|
D | sysfs.c | 480 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
|
/arch/powerpc/include/asm/ |
D | reg.h | 859 #define SPRN_MMCR2 785 macro 1026 #define SPRN_MMCR2 944 macro
|
/arch/powerpc/platforms/powernv/ |
D | idle.c | 673 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 | 1865 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|