Searched refs:SPRN_MMCR2 (Results 1 – 14 of 14) sorted by relevance
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A 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()
|
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/ |
A D | book3s_hv_interrupts.S | 112 mfspr r8, SPRN_MMCR2 113 mtspr SPRN_MMCR2, r3 /* freeze all counters using MMCR2 */
|
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()
|
A D | book3s_hv_rmhandlers.S | 2829 mtspr SPRN_MMCR2, r5 2884 mtspr SPRN_MMCR2, r8 2928 mfspr r10, SPRN_MMCR2 2929 mtspr SPRN_MMCR2, r3 3000 mtspr SPRN_MMCR2, r3
|
/linux/tools/testing/selftests/powerpc/include/ |
A D | reg.h | 22 #define SPRN_MMCR2 769 macro
|
/linux/arch/powerpc/perf/ |
A D | perf_regs.c | 85 return mfspr(SPRN_MMCR2); in get_ext_regs_value()
|
A D | core-book3s.c | 96 #define SPRN_MMCRA SPRN_MMCR2 638 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out() 682 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2 | current->thread.mmcr2); in ebb_switch_in() 759 mtspr(SPRN_MMCR2, 0); in pmao_restore_workaround() 905 mfspr(SPRN_MMCR2), mfspr(SPRN_EBBHR)); in perf_event_print_debug() 1438 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2); in power_pmu_enable()
|
/linux/arch/powerpc/kernel/ |
A D | cpu_setup_power.c | 114 mtspr(SPRN_MMCR2, 0); in init_PMU()
|
A D | dt_cpu_ftrs.c | 356 mtspr(SPRN_MMCR2, 0); in init_pmu_power8() 395 mtspr(SPRN_MMCR2, 0); in init_pmu_power9()
|
A D | sysfs.c | 608 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
|
/linux/arch/powerpc/include/asm/ |
A D | reg.h | 883 #define SPRN_MMCR2 785 macro 1057 #define SPRN_MMCR2 944 macro
|
/linux/arch/powerpc/platforms/powernv/ |
A D | idle.c | 675 sprs.mmcr2 = mfspr(SPRN_MMCR2); in power9_idle_stop() 792 mtspr(SPRN_MMCR2, sprs.mmcr2); in power9_idle_stop()
|
/linux/arch/powerpc/xmon/ |
A D | xmon.c | 2075 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCR2)); in dump_207_sprs()
|
Completed in 32 milliseconds