Searched refs:mmcr2 (Results 1 – 9 of 9) sorted by relevance
/arch/powerpc/perf/ |
D | isa207-common.c | 367 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()
|
D | mpc7450-pmu.c | 271 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()
|
D | core-book3s.c | 584 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/ |
D | cpuidle.h | 78 u64 mmcr2; member
|
D | switch_to.h | 86 t->thread.mmcr2 = 0; in clear_task_ebb()
|
D | processor.h | 341 unsigned long mmcr2; member
|
/arch/powerpc/kernel/ |
D | sysfs.c | 477 SYSFS_PMCSETUP(mmcr2, SPRN_MMCR2); 645 __ATTR(mmcr2, 0600, show_mmcr2, store_mmcr2),
|
D | ptrace.c | 1731 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()
|
D | asm-offsets.c | 759 STOP_SPR(STOP_MMCR2, mmcr2); in main()
|