Searched refs:mmcr3 (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | misc.h | 168 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/ |
D | book3s_hv.h | 19 unsigned long mmcr3; member
|
D | book3s_hv_p9_entry.c | 77 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/ |
D | isa207-common.c | 563 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()
|
D | core-book3s.c | 641 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/ |
D | perf_event_server.h | 25 unsigned long mmcr3; member
|
D | processor.h | 265 unsigned long mmcr3; member
|
/linux-5.19.10/tools/perf/arch/powerpc/util/ |
D | perf_regs.c | 68 SMPL_REG(mmcr3, PERF_REG_POWERPC_MMCR3),
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | sysfs.c | 616 SYSFS_PMCSETUP(mmcr3, SPRN_MMCR3); 619 static DEVICE_ATTR(mmcr3, 0600, show_mmcr3, store_mmcr3);
|