Searched refs:mmcr2 (Results 1 – 10 of 10) sorted by relevance
/linux/arch/powerpc/perf/ |
A D | mpc7450-pmu.c | 268 u32 mmcr0 = 0, mmcr1 = 0, mmcr2 = 0; in mpc7450_compute_mmcr() local 307 mmcr2 = 0x80000000; in mpc7450_compute_mmcr() 327 mmcr->mmcr2 = mmcr2; in mpc7450_compute_mmcr() 334 mmcr->mmcra = mmcr2; in mpc7450_compute_mmcr()
|
A D | isa207-common.c | 530 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; in isa207_compute_mmcr() local 544 mmcra = mmcr1 = mmcr2 = mmcr3 = 0; in isa207_compute_mmcr() 631 mmcr2 |= val << p10_L2L3_SEL_SHIFT; in isa207_compute_mmcr() 645 mmcr2 |= MMCR2_FCP(pmc); in isa207_compute_mmcr() 648 mmcr2 |= MMCR2_FCH(pmc); in isa207_compute_mmcr() 652 mmcr2 |= MMCR2_FCH(pmc); in isa207_compute_mmcr() 654 mmcr2 |= MMCR2_FCS(pmc); in isa207_compute_mmcr() 692 mmcr->mmcr2 = mmcr2; in isa207_compute_mmcr()
|
A D | core-book3s.c | 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() 1438 mtspr(SPRN_MMCR2, cpuhw->mmcr.mmcr2); in power_pmu_enable()
|
/linux/arch/powerpc/kernel/ptrace/ |
A D | ptrace-view.c | 403 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_get() 404 BUILD_BUG_ON(TSO(mmcr2) + sizeof(unsigned long) != TSO(mmcr0)); in pmu_get() 421 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_set() 422 BUILD_BUG_ON(TSO(mmcr2) + sizeof(unsigned long) != TSO(mmcr0)); in pmu_set() 442 &target->thread.mmcr2, 3 * sizeof(unsigned long), in pmu_set()
|
/linux/arch/powerpc/include/asm/ |
A D | switch_to.h | 106 t->thread.mmcr2 = 0; in clear_task_ebb()
|
A D | perf_event_server.h | 23 unsigned long mmcr2; member
|
A D | processor.h | 255 unsigned long mmcr2; member
|
/linux/tools/perf/arch/powerpc/util/ |
A D | perf_regs.c | 67 SMPL_REG(mmcr2, PERF_REG_POWERPC_MMCR2),
|
/linux/arch/powerpc/platforms/powernv/ |
A D | idle.c | 598 u64 mmcr2; member 675 sprs.mmcr2 = mfspr(SPRN_MMCR2); in power9_idle_stop() 792 mtspr(SPRN_MMCR2, sprs.mmcr2); in power9_idle_stop()
|
/linux/arch/powerpc/kernel/ |
A D | sysfs.c | 608 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2); 676 __ATTR(mmcr2, 0600, show_mmcr2, store_mmcr2),
|
Completed in 20 milliseconds