Home
last modified time | relevance | path

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

/arch/powerpc/perf/
Disa207-common.c367 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; in isa207_compute_mmcr() local
380 mmcra = mmcr1 = mmcr2 = 0; in isa207_compute_mmcr()
449 mmcr2 |= MMCR2_FCP(pmc); in isa207_compute_mmcr()
452 mmcr2 |= MMCR2_FCH(pmc); in isa207_compute_mmcr()
456 mmcr2 |= MMCR2_FCH(pmc); in isa207_compute_mmcr()
458 mmcr2 |= MMCR2_FCS(pmc); in isa207_compute_mmcr()
480 mmcr[3] = mmcr2; in isa207_compute_mmcr()
Dmpc7450-pmu.c271 u32 mmcr0 = 0, mmcr1 = 0, mmcr2 = 0; in mpc7450_compute_mmcr() local
310 mmcr2 = 0x80000000; in mpc7450_compute_mmcr()
330 mmcr[2] = mmcr2; in mpc7450_compute_mmcr()
Dcore-book3s.c584 current->thread.mmcr2 = mfspr(SPRN_MMCR2) & MMCR2_USER_MASK; in ebb_switch_out()
623 mtspr(SPRN_MMCR2, cpuhw->mmcr[3] | current->thread.mmcr2); in ebb_switch_in()
/arch/powerpc/include/asm/
Dcpuidle.h78 u64 mmcr2; member
Dswitch_to.h86 t->thread.mmcr2 = 0; in clear_task_ebb()
Dprocessor.h341 unsigned long mmcr2; member
/arch/powerpc/kernel/
Dsysfs.c477 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2);
645 __ATTR(mmcr2, 0600, show_mmcr2, store_mmcr2),
Dptrace.c1731 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_get()
1732 BUILD_BUG_ON(TSO(mmcr2) + sizeof(unsigned long) != TSO(mmcr0)); in pmu_get()
1752 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_set()
1753 BUILD_BUG_ON(TSO(mmcr2) + sizeof(unsigned long) != TSO(mmcr0)); in pmu_set()
1774 &target->thread.mmcr2, 3 * sizeof(unsigned long), in pmu_set()
Dasm-offsets.c759 STOP_SPR(STOP_MMCR2, mmcr2); in main()