Home
last modified time | relevance | path

Searched refs:mmcr3 (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.h177 static inline int get_mmcr3_src(u64 mmcr3, int pmc) in get_mmcr3_src()
181 return ((mmcr3 >> ((49 - (15 * ((pmc) - 1))))) & 0x7fff); in get_mmcra_thd_cmp()
173 get_mmcr3_src(u64 mmcr3,int pmc) get_mmcr3_src() argument
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c67 host_os_sprs->mmcr3 = mfspr(SPRN_MMCR3); in switch_pmu_to_guest()
208 mtspr(SPRN_MMCR3, host_os_sprs->mmcr3); in switch_pmu_to_host()
H A Dbook3s_hv.h21 unsigned long mmcr3; member
/linux/arch/powerpc/include/asm/
H A Dprocessor.h259 unsigned long mmcr3; member
/linux/arch/powerpc/perf/
H A Dcore-book3s.c638 current->thread.mmcr3 = mfspr(SPRN_MMCR3); in ebb_switch_out()
683 mtspr(SPRN_MMCR3, current->thread.mmcr3); in ebb_switch_in()
1468 mtspr(SPRN_MMCR3, cpuhw->mmcr.mmcr3); in power_pmu_enable()
1513 mtspr(SPRN_MMCR3, cpuhw->mmcr.mmcr3); in power_pmu_enable()