mmcr1              29 arch/powerpc/include/asm/oprofile_impl.h 	unsigned long mmcr1;
mmcr1             471 arch/powerpc/kernel/sysfs.c SYSFS_PMCSETUP(mmcr1, SPRN_MMCR1);
mmcr1             650 arch/powerpc/kernel/sysfs.c 	__ATTR(mmcr1, 0600, show_mmcr1, store_mmcr1),
mmcr1             657 arch/powerpc/kernel/sysfs.c 	__ATTR(mmcr1, 0600, show_mmcr1, store_mmcr1),
mmcr1             678 arch/powerpc/kernel/sysfs.c 	__ATTR(mmcr1, 0600, show_mmcr1, store_mmcr1),
mmcr1             128 arch/powerpc/oprofile/common.c 	oprofilefs_create_ulong(root, "mmcr1", &sys.mmcr1);
mmcr1             115 arch/powerpc/oprofile/op_model_pa6t.c 	mmcr1_val = sys->mmcr1;
mmcr1             117 arch/powerpc/oprofile/op_model_pa6t.c 	pr_debug("mmcr1_val inited to %016lx\n", sys->mmcr1);
mmcr1             133 arch/powerpc/oprofile/op_model_pa6t.c 	u64 mmcr1 = mmcr1_val;
mmcr1             140 arch/powerpc/oprofile/op_model_pa6t.c 	mtspr(SPRN_PA6T_MMCR1, mmcr1);
mmcr1              38 arch/powerpc/oprofile/op_model_power4.c static int power7_marked_instr_event(u64 mmcr1)
mmcr1              48 arch/powerpc/oprofile/op_model_power4.c 		psel = mmcr1 & (OPROFILE_PM_PMCSEL_MSK
mmcr1              53 arch/powerpc/oprofile/op_model_power4.c 		unit = mmcr1 & (OPROFILE_PM_UNIT_MSK
mmcr1             104 arch/powerpc/oprofile/op_model_power4.c 	mmcr1_val = sys->mmcr1;
mmcr1             369 arch/powerpc/perf/isa207-common.c 	unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val;
mmcr1             382 arch/powerpc/perf/isa207-common.c 	mmcra = mmcr1 = mmcr2 = 0;
mmcr1             401 arch/powerpc/perf/isa207-common.c 			mmcr1 |= unit << MMCR1_UNIT_SHIFT(pmc);
mmcr1             402 arch/powerpc/perf/isa207-common.c 			mmcr1 |= combine << combine_shift(pmc);
mmcr1             403 arch/powerpc/perf/isa207-common.c 			mmcr1 |= psel << MMCR1_PMCSEL_SHIFT(pmc);
mmcr1             411 arch/powerpc/perf/isa207-common.c 			mmcr1 |= (cache) << MMCR1_DC_IC_QUAL_SHIFT;
mmcr1             415 arch/powerpc/perf/isa207-common.c 				mmcr1 |= (cache) << MMCR1_DC_IC_QUAL_SHIFT;
mmcr1             434 arch/powerpc/perf/isa207-common.c 			mmcr1 |= ((event[i] >> EVENT_THR_CTL_SHIFT) &
mmcr1             480 arch/powerpc/perf/isa207-common.c 	mmcr[1] = mmcr1;
mmcr1             267 arch/powerpc/perf/mpc7450-pmu.c 	u32 mmcr0 = 0, mmcr1 = 0, mmcr2 = 0;
mmcr1             313 arch/powerpc/perf/mpc7450-pmu.c 				mmcr1 |= ev;
mmcr1             325 arch/powerpc/perf/mpc7450-pmu.c 	mmcr[1] = mmcr1;
mmcr1             453 arch/powerpc/perf/power5+-pmu.c 	unsigned long mmcr1 = 0;
mmcr1             516 arch/powerpc/perf/power5+-pmu.c 		mmcr1 |= (unsigned long)i << MMCR1_TTM0SEL_SH;
mmcr1             524 arch/powerpc/perf/power5+-pmu.c 		mmcr1 |= (unsigned long)(i & 3) << MMCR1_TTM1SEL_SH;
mmcr1             539 arch/powerpc/perf/power5+-pmu.c 			mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte);
mmcr1             542 arch/powerpc/perf/power5+-pmu.c 		mmcr1 |= (unsigned long)ttm
mmcr1             568 arch/powerpc/perf/power5+-pmu.c 				mmcr1 |= 1ul << (MMCR1_PMC1_ADDER_SEL_SH - pmc);
mmcr1             576 arch/powerpc/perf/power5+-pmu.c 			mmcr1 |= (unsigned long)grsel << grsel_shift[bit];
mmcr1             584 arch/powerpc/perf/power5+-pmu.c 			mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc);
mmcr1             594 arch/powerpc/perf/power5+-pmu.c 	mmcr[1] = mmcr1;
mmcr1             384 arch/powerpc/perf/power5-pmu.c 	unsigned long mmcr1 = 0;
mmcr1             456 arch/powerpc/perf/power5-pmu.c 		mmcr1 |= (unsigned long)i << MMCR1_TTM0SEL_SH;
mmcr1             464 arch/powerpc/perf/power5-pmu.c 		mmcr1 |= (unsigned long)(i & 3) << MMCR1_TTM1SEL_SH;
mmcr1             479 arch/powerpc/perf/power5-pmu.c 			mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte);
mmcr1             482 arch/powerpc/perf/power5-pmu.c 		mmcr1 |= (unsigned long)ttm
mmcr1             513 arch/powerpc/perf/power5-pmu.c 				mmcr1 |= 1ul << (MMCR1_PMC1_ADDER_SEL_SH - pmc);
mmcr1             521 arch/powerpc/perf/power5-pmu.c 			mmcr1 |= (unsigned long)grsel << grsel_shift[bit];
mmcr1             526 arch/powerpc/perf/power5-pmu.c 			mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc);
mmcr1             536 arch/powerpc/perf/power5-pmu.c 	mmcr[1] = mmcr1;
mmcr1             176 arch/powerpc/perf/power6-pmu.c 	unsigned long mmcr1 = 0;
mmcr1             214 arch/powerpc/perf/power6-pmu.c 			if ((ttmset & (1 << b)) && MMCR1_TTMSEL(mmcr1, b) != u)
mmcr1             216 arch/powerpc/perf/power6-pmu.c 			mmcr1 |= (unsigned long)u << MMCR1_TTMSEL_SH(b);
mmcr1             222 arch/powerpc/perf/power6-pmu.c 				    MMCR1_NESTSEL(mmcr1) != s)
mmcr1             225 arch/powerpc/perf/power6-pmu.c 				mmcr1 |= (unsigned long)s << MMCR1_NESTSEL_SH;
mmcr1             230 arch/powerpc/perf/power6-pmu.c 					mmcr1 |= MMCR1_PMC1_ADDR_SEL >> pmc;
mmcr1             237 arch/powerpc/perf/power6-pmu.c 			mmcr1 |= MMCR1_PMC1_LLA >> pmc;
mmcr1             239 arch/powerpc/perf/power6-pmu.c 				mmcr1 |= MMCR1_PMC1_LLA_VALUE >> pmc;
mmcr1             244 arch/powerpc/perf/power6-pmu.c 			mmcr1 |= (unsigned long)psel << MMCR1_PMCSEL_SH(pmc);
mmcr1             251 arch/powerpc/perf/power6-pmu.c 	mmcr[1] = mmcr1;
mmcr1             247 arch/powerpc/perf/power7-pmu.c 	unsigned long mmcr1 = 0;
mmcr1             286 arch/powerpc/perf/power7-pmu.c 			mmcr1 |= (unsigned long) unit
mmcr1             288 arch/powerpc/perf/power7-pmu.c 			mmcr1 |= (unsigned long) combine
mmcr1             290 arch/powerpc/perf/power7-pmu.c 			mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc);
mmcr1             292 arch/powerpc/perf/power7-pmu.c 				mmcr1 |= (unsigned long) l2sel
mmcr1             306 arch/powerpc/perf/power7-pmu.c 	mmcr[1] = mmcr1;
mmcr1             258 arch/powerpc/perf/ppc970-pmu.c 	unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0;
mmcr1             319 arch/powerpc/perf/ppc970-pmu.c 		mmcr1 |= (unsigned long)(ttm & ~4) << MMCR1_TTM1SEL_SH;
mmcr1             337 arch/powerpc/perf/ppc970-pmu.c 				mmcr1 |= 1ull << (MMCR1_TTM3SEL_SH + 3 - byte);
mmcr1             339 arch/powerpc/perf/ppc970-pmu.c 		mmcr1 |= (unsigned long)ttm
mmcr1             374 arch/powerpc/perf/ppc970-pmu.c 				mmcr1 |= 1ull << mmcr1_adder_bits[pmc];
mmcr1             379 arch/powerpc/perf/ppc970-pmu.c 		mmcr1 |= spcsel;
mmcr1             386 arch/powerpc/perf/ppc970-pmu.c 		mmcr1 |= (unsigned long)pmcsel[pmc]
mmcr1             397 arch/powerpc/perf/ppc970-pmu.c 	mmcr[1] = mmcr1;
mmcr1             595 arch/powerpc/platforms/powernv/idle.c 	u32 mmcr1;
mmcr1             672 arch/powerpc/platforms/powernv/idle.c 		sprs.mmcr1	= mfspr(SPRN_MMCR1);
mmcr1             791 arch/powerpc/platforms/powernv/idle.c 	mtspr(SPRN_MMCR1,	sprs.mmcr1);