Searched refs:SPRN_MMCR2 (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | cycles_with_mmcr2_test.c | 59 mtspr(SPRN_MMCR2, expected[i % 2]); in cycles_with_mmcr2() 63 val = mfspr(SPRN_MMCR2); in cycles_with_mmcr2()
|
| H A 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/arch/powerpc/kvm/ |
| H A D | book3s_hv_p9_perf.c | 61 host_os_sprs->mmcr2 = mfspr(SPRN_MMCR2); in switch_pmu_to_guest() 95 mtspr(SPRN_MMCR2, vcpu->arch.mmcr[2]); in switch_pmu_to_guest() 149 vcpu->arch.mmcr[2] = mfspr(SPRN_MMCR2); in switch_pmu_to_host() 202 mtspr(SPRN_MMCR2, host_os_sprs->mmcr2); in switch_pmu_to_host()
|
| H A D | book3s_hv_interrupts.S | 116 mfspr r8, SPRN_MMCR2 117 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
|
| H A D | book3s_emulate.c | 837 case SPRN_MMCR2: in kvmppc_core_emulate_mtspr_pr() 1003 case SPRN_MMCR2: in kvmppc_core_emulate_mfspr_pr()
|
| /linux/tools/testing/selftests/powerpc/include/ |
| H A D | reg.h | 24 #define SPRN_MMCR2 769 macro
|
| /linux/arch/powerpc/perf/ |
| H A D | perf_regs.c | 85 return mfspr(SPRN_MMCR2); in get_ext_regs_value()
|
| /linux/arch/powerpc/kernel/ |
| H A D | cpu_setup_power.c | 114 mtspr(SPRN_MMCR2, 0); in init_PMU()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | reg.h | 887 #define SPRN_MMCR2 785 macro 1061 #define SPRN_MMCR2 944 macro
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | idle.c | 676 sprs.mmcr2 = mfspr(SPRN_MMCR2); in power9_idle_stop() 792 mtspr(SPRN_MMCR2, sprs.mmcr2); in power9_idle_stop()
|