Searched refs:SPRN_MMCR2 (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.4/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-v5.4/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 | 3415 mtspr SPRN_MMCR2, r5 3470 mtspr SPRN_MMCR2, r8 3506 mfspr r10, SPRN_MMCR2 3507 mtspr SPRN_MMCR2, r3 3570 mtspr SPRN_MMCR2, r3
|
| /Linux-v5.4/tools/testing/selftests/powerpc/include/ |
| D | reg.h | 22 #define SPRN_MMCR2 769 macro
|
| /Linux-v5.4/arch/powerpc/oprofile/ |
| D | op_model_7450.c | 86 mtspr(SPRN_MMCR2, mmcr2_val); in fsl7450_cpu_setup()
|
| /Linux-v5.4/arch/powerpc/perf/ |
| D | core-book3s.c | 92 #define SPRN_MMCRA SPRN_MMCR2 593 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out() 632 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in() 703 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround() 849 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug() 1359 mtspr(SPRN_MMCR2, cpuhw->mmcr[3]); in power_pmu_enable()
|
| /Linux-v5.4/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);
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | reg.h | 859 #define SPRN_MMCR2 785 macro 1026 #define SPRN_MMCR2 944 macro
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/arch/powerpc/xmon/ |
| D | xmon.c | 1865 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|