/linux/arch/powerpc/perf/ |
A D | mpc7450-pmu.c | 268 u32 mmcr0 = 0, mmcr1 = 0, mmcr2 = 0; in mpc7450_compute_mmcr() local 305 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr() 312 mmcr0 |= ev; in mpc7450_compute_mmcr() 320 mmcr0 |= MMCR0_PMC1CE; in mpc7450_compute_mmcr() 322 mmcr0 |= MMCR0_PMCnCE; in mpc7450_compute_mmcr() 325 mmcr->mmcr0 = mmcr0; in mpc7450_compute_mmcr() 345 mmcr->mmcr0 &= ~(pmcsel_mask[pmc] << pmcsel_shift[pmc]); in mpc7450_disable_pmc()
|
A D | core-book3s.c | 129 return cpuhw->mmcr.mmcr0; in ebb_switch_in() 631 if (!(mmcr0 & MMCR0_EBE)) in ebb_switch_out() 637 current->thread.mmcr0 = mmcr0 & MMCR0_USER_MASK; in ebb_switch_out() 648 unsigned long mmcr0 = cpuhw->mmcr.mmcr0; in ebb_switch_in() local 661 mmcr0 |= current->thread.mmcr0; in ebb_switch_in() 669 mmcr0 &= ~MMCR0_PMXE; in ebb_switch_in() 690 return mmcr0; in ebb_switch_in() 1229 mtspr(SPRN_MMCR0, mmcr0); in write_mmcr0() 1246 if (mmcr0 & MMCR0_FC) in write_mmcr0() 1327 ebb_switch_out(mmcr0); in power_pmu_disable() [all …]
|
A D | ppc970-pmu.c | 262 unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; in p970_compute_mmcr() local 388 mmcr0 |= pmcsel[pmc] << (MMCR0_PMC1SEL_SH - 7 * pmc); in p970_compute_mmcr() 393 mmcr0 |= MMCR0_PMC1CE; in p970_compute_mmcr() 395 mmcr0 |= MMCR0_PMCjCE; in p970_compute_mmcr() 400 mmcr->mmcr0 = mmcr0; in p970_compute_mmcr() 415 mmcr->mmcr0 = (mmcr->mmcr0 & ~(0x1fUL << shift)) | (0x08UL << shift); in p970_disable_pmc()
|
A D | isa207-common.c | 669 mmcr->mmcr0 = 0; in isa207_compute_mmcr() 673 mmcr->mmcr0 = MMCR0_PMC1CE; in isa207_compute_mmcr() 676 mmcr->mmcr0 |= MMCR0_PMCjCE; in isa207_compute_mmcr() 680 mmcr->mmcr0 |= MMCR0_FC56; in isa207_compute_mmcr() 688 mmcr->mmcr0 |= MMCR0_PMCCEXT; in isa207_compute_mmcr()
|
A D | power7-pmu.c | 305 mmcr->mmcr0 = 0; in power7_compute_mmcr() 307 mmcr->mmcr0 = MMCR0_PMC1CE; in power7_compute_mmcr() 309 mmcr->mmcr0 |= MMCR0_PMCjCE; in power7_compute_mmcr()
|
A D | power6-pmu.c | 249 mmcr->mmcr0 = 0; in p6_compute_mmcr() 251 mmcr->mmcr0 = MMCR0_PMC1CE; in p6_compute_mmcr() 253 mmcr->mmcr0 |= MMCR0_PMCjCE; in p6_compute_mmcr()
|
A D | power5-pmu.c | 535 mmcr->mmcr0 = 0; in power5_compute_mmcr() 537 mmcr->mmcr0 = MMCR0_PMC1CE; in power5_compute_mmcr() 539 mmcr->mmcr0 |= MMCR0_PMCjCE; in power5_compute_mmcr()
|
A D | power5+-pmu.c | 593 mmcr->mmcr0 = 0; in power5p_compute_mmcr() 595 mmcr->mmcr0 = MMCR0_PMC1CE; in power5p_compute_mmcr() 597 mmcr->mmcr0 |= MMCR0_PMCjCE; in power5p_compute_mmcr()
|
A D | generic-compat-pmu.c | 290 mmcr->mmcr0 |= MMCR0_C56RUN; in generic_compute_mmcr()
|
A D | power10-pmu.c | 565 mmcr->mmcr0 |= MMCR0_C56RUN; in power10_compute_mmcr()
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | ebb.c | 219 u32 mmcr0; in dump_ebb_hw_state() local 221 mmcr0 = mfspr(SPRN_MMCR0); in dump_ebb_hw_state() 236 mmcr0, decode_mmcr0(mmcr0), mfspr(SPRN_MMCR2), in dump_ebb_hw_state()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | idle.c | 596 u32 mmcr0; member 615 unsigned long mmcr0 = 0; in power9_idle_stop() local 659 mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop() 673 sprs.mmcr0 = mfspr(SPRN_MMCR0); in power9_idle_stop() 721 mtspr(SPRN_MMCR0, mmcr0); in power9_idle_stop() 790 mtspr(SPRN_MMCR0, sprs.mmcr0); in power9_idle_stop()
|
/linux/arch/powerpc/include/asm/ |
A D | switch_to.h | 107 t->thread.mmcr0 = 0; in clear_task_ebb()
|
A D | perf_event_server.h | 21 unsigned long mmcr0; member
|
A D | processor.h | 256 unsigned mmcr0; member
|
/linux/arch/powerpc/kernel/ |
A D | sysfs.c | 597 SYSFS_PMCSETUP(mmcr0, SPRN_MMCR0); 667 __ATTR(mmcr0, 0600, show_mmcr0, store_mmcr0), 674 __ATTR(mmcr0, 0600, show_mmcr0, store_mmcr0), 698 __ATTR(mmcr0, 0600, show_mmcr0, store_mmcr0),
|
/linux/arch/powerpc/kernel/ptrace/ |
A D | ptrace-view.c | 404 BUILD_BUG_ON(TSO(mmcr2) + sizeof(unsigned long) != TSO(mmcr0)); in pmu_get() 422 BUILD_BUG_ON(TSO(mmcr2) + sizeof(unsigned long) != TSO(mmcr0)); in pmu_set() 447 &target->thread.mmcr0, 4 * sizeof(unsigned long), in pmu_set()
|
/linux/tools/perf/arch/powerpc/util/ |
A D | perf_regs.c | 65 SMPL_REG(mmcr0, PERF_REG_POWERPC_MMCR0),
|