Searched refs:SPRN_MMCR2 (Results 1 – 14 of 14) sorted by relevance
/Linux-v4.19/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 | ebb.c | 236 mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_MMCR2), in dump_ebb_hw_state() 392 val |= mfspr(SPRN_MMCR2); in ebb_child()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_hv_interrupts.S | 71 mfspr r8, SPRN_MMCR2 72 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
|
D | book3s_emulate.c | 835 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr() 998 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv_rmhandlers.S | 149 mtspr SPRN_MMCR2, r8 844 mtspr SPRN_MMCR2, r5 1825 mfspr r10, SPRN_MMCR2 1826 mtspr SPRN_MMCR2, r3 3434 mtspr SPRN_MMCR2, r3
|
/Linux-v4.19/tools/testing/selftests/powerpc/include/ |
D | reg.h | 21 #define SPRN_MMCR2 769 macro
|
/Linux-v4.19/arch/powerpc/oprofile/ |
D | op_model_7450.c | 90 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
|
/Linux-v4.19/arch/powerpc/perf/ |
D | core-book3s.c | 91 #define SPRN_MMCRA SPRN_MMCR2 584 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out() 623 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in() 694 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround() 840 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug() 1340 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | cpu_setup_power.S | 212 mtspr SPRN_MMCR2,r5
|
D | idle_book3s.S | 122 mfspr r4, SPRN_MMCR2 150 mtspr SPRN_MMCR2, r3
|
D | dt_cpu_ftrs.c | 376 mtspr(SPRN_MMCR2, 0); in init_pmu_power8() 415 mtspr(SPRN_MMCR2, 0); in init_pmu_power9()
|
D | sysfs.c | 478 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | reg.h | 844 #define SPRN_MMCR2 785 macro 1011 #define SPRN_MMCR2 944 macro
|
/Linux-v4.19/arch/powerpc/xmon/ |
D | xmon.c | 1845 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|