Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dcycles_with_mmcr2_test.c58 mtspr(SPRN_MMCR2, expected[i % 2]); in cycles_with_mmcr2()
62 val = mfspr(SPRN_MMCR2); in cycles_with_mmcr2()
Dreg.h21 #define SPRN_MMCR2 769 macro
Debb.c238 mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_MMCR2), in dump_ebb_hw_state()
394 val |= mfspr(SPRN_MMCR2); in ebb_child()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_interrupts.S76 mfspr r8, SPRN_MMCR2
77 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
Dbook3s_emulate.c500 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr()
642 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S115 mtspr SPRN_MMCR2, r8
805 mtspr SPRN_MMCR2, r5
1574 mfspr r10, SPRN_MMCR2
1575 mtspr SPRN_MMCR2, r3
2665 mtspr SPRN_MMCR2, r3
/linux-4.4.14/arch/powerpc/oprofile/
Dop_model_7450.c90 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
/linux-4.4.14/arch/powerpc/perf/
Dcore-book3s.c90 #define SPRN_MMCRA SPRN_MMCR2
561 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out()
600 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in()
671 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround()
811 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug()
1296 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
/linux-4.4.14/arch/powerpc/kernel/
Dcpu_setup_power.S175 mtspr SPRN_MMCR2,r5
Dsysfs.c477 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
/linux-4.4.14/arch/powerpc/include/asm/
Dreg.h710 #define SPRN_MMCR2 785 macro
876 #define SPRN_MMCR2 944 macro