Searched refs:SPRN_MMCR2 (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | cycles_with_mmcr2_test.c | 58 mtspr(SPRN_MMCR2, expected[i % 2]); in cycles_with_mmcr2() 62 val = mfspr(SPRN_MMCR2); in cycles_with_mmcr2()
|
D | reg.h | 21 #define SPRN_MMCR2 769 macro
|
D | ebb.c | 238 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/ |
D | book3s_hv_interrupts.S | 76 mfspr r8, SPRN_MMCR2 77 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
|
D | book3s_emulate.c | 500 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr() 642 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv_rmhandlers.S | 115 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/ |
D | op_model_7450.c | 90 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-book3s.c | 90 #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/ |
D | cpu_setup_power.S | 175 mtspr SPRN_MMCR2,r5
|
D | sysfs.c | 477 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | reg.h | 710 #define SPRN_MMCR2 785 macro 876 #define SPRN_MMCR2 944 macro
|