Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmisc.h168 static inline int get_mmcr3_src(u64 mmcr3, int pmc) in get_mmcr3_src() argument
172 return ((mmcr3 >> ((49 - (15 * ((pmc) - 1))))) & 0x7fff); in get_mmcr3_src()
/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_hv.h19 unsigned long mmcr3; member
Dbook3s_hv_p9_entry.c77 host_os_sprs->mmcr3 = mfspr(SPRN_MMCR3); in switch_pmu_to_guest()
218 mtspr(SPRN_MMCR3, host_os_sprs->mmcr3); in switch_pmu_to_host()
/linux-5.19.10/arch/powerpc/perf/
Disa207-common.c563 unsigned long mmcr3; in isa207_compute_mmcr() local
576 mmcra = mmcr1 = mmcr2 = mmcr3 = 0; in isa207_compute_mmcr()
693 mmcr3 |= val << MMCR3_SHIFT(pmc); in isa207_compute_mmcr()
725 mmcr->mmcr3 = mmcr3; in isa207_compute_mmcr()
Dcore-book3s.c641 current->thread.mmcr3 = mfspr(SPRN_MMCR3); in ebb_switch_out()
686 mtspr(SPRN_MMCR3, current->thread.mmcr3); in ebb_switch_in()
1472 mtspr(SPRN_MMCR3, cpuhw->mmcr.mmcr3); in power_pmu_enable()
1517 mtspr(SPRN_MMCR3, cpuhw->mmcr.mmcr3); in power_pmu_enable()
/linux-5.19.10/arch/powerpc/include/asm/
Dperf_event_server.h25 unsigned long mmcr3; member
Dprocessor.h265 unsigned long mmcr3; member
/linux-5.19.10/tools/perf/arch/powerpc/util/
Dperf_regs.c68 SMPL_REG(mmcr3, PERF_REG_POWERPC_MMCR3),
/linux-5.19.10/arch/powerpc/kernel/
Dsysfs.c616 SYSFS_PMCSETUP(mmcr3, SPRN_MMCR3);
619 static DEVICE_ATTR(mmcr3, 0600, show_mmcr3, store_mmcr3);