Searched refs:mmcra (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/oprofile/
H A Dop_model_power4.c3 * Added mmcra[slot] support:
44 * mmcr1 and mmcra values passed from the user in the
49 mmcra_val = sys->mmcra;
99 unsigned long mmcra = mmcra_val; local
114 mmcra |= MMCRA_SAMPLE_ENABLE;
115 mtspr(SPRN_MMCRA, mmcra);
121 dbg("setup on cpu %d, mmcra %lx\n", smp_processor_id(),
200 * mmcra[slot] bits represent the slot number of a sampled instruction
207 unsigned long mmcra; local
214 mmcra
251 get_kernel(unsigned long pc, unsigned long mmcra) argument
272 unsigned long mmcra; local
[all...]
H A Dcommon.c129 * There is one mmcr0, mmcr1 and mmcra for setting the events for
134 oprofilefs_create_ulong(sb, root, "mmcra", &sys.mmcra);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Doprofile_impl.h34 unsigned long mmcra; member in struct:op_system_config
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dpower4-pmu.c361 unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; local
500 mmcra |= MMCRA_SAMPLE_ENABLE;
508 mmcra |= (psel & 1) << MMCRA_PMC8SEL0_SH;
511 mmcra |= MMCRA_SAMPLE_ENABLE;
519 mmcra |= 0x2000; /* mark only one IOP per PPC instruction */
524 mmcr[2] = mmcra;
H A Dppc970-pmu.c262 unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; local
385 mmcra |= MMCRA_SAMPLE_ENABLE;
397 mmcra |= 0x2000; /* mark only one IOP per PPC instruction */
402 mmcr[2] = mmcra;
H A Dpower7-pmu.c229 unsigned long mmcra = MMCRA_SDAR_DCACHE_MISS | MMCRA_SDAR_ERAT_MISS; local
277 mmcra |= MMCRA_SAMPLE_ENABLE;
288 mmcr[2] = mmcra;
H A Dperf_event.c91 unsigned long mmcra = regs->dsisr; local
93 if ((mmcra & MMCRA_SAMPLE_ENABLE) && !(ppmu->flags & PPMU_ALT_SIPR)) {
94 unsigned long slot = (mmcra & MMCRA_SLOT) >> MMCRA_SLOT_SHIFT;
111 unsigned long mmcra = regs->dsisr; local
115 if (!(mmcra & MMCRA_SAMPLE_ENABLE) || (mmcra & sdsync))
121 unsigned long mmcra = regs->dsisr; local
134 if (mmcra & sipr)
136 if ((mmcra & sihv) && (freeze_events_kernel != MMCR0_FCHV))
H A Dpower5-pmu.c389 unsigned long mmcra = MMCRA_SDAR_DCACHE_MISS | MMCRA_SDAR_ERAT_MISS; local
528 mmcra |= MMCRA_SAMPLE_ENABLE;
541 mmcr[2] = mmcra;
H A Dpower6-pmu.c181 unsigned long mmcra = MMCRA_SDAR_DCACHE_MISS | MMCRA_SDAR_ERAT_MISS; local
246 mmcra |= MMCRA_SAMPLE_ENABLE;
256 mmcr[2] = mmcra;
H A Dpower5+-pmu.c458 unsigned long mmcra = 0; local
583 mmcra |= MMCRA_SAMPLE_ENABLE;
599 mmcr[2] = mmcra;
H A Dsysfs.c176 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA);
181 static SYSDEV_ATTR(mmcra, 0600, show_mmcra, store_mmcra);

Completed in 135 milliseconds