Lines Matching defs:mmcr0
61 static char *pmc1_lookup(unsigned long mmcr0)
63 switch ( mmcr0 & (0x7f<<7) )
78 static char *pmc2_lookup(unsigned long mmcr0)
80 switch ( mmcr0 & 0x3f )
104 unsigned long mmcr0 = 0, pmc1 = 0, pmc2 = 0;
111 mmcr0 = mfspr(SPRN_MMCR0);
117 mmcr0,
118 ( mmcr0>>28 & 0x2 ) ? "(user mode counted)" : "",
119 ( mmcr0>>28 & 0x4 ) ? "(kernel mode counted)" : "");
123 pmc1, pmc1_lookup(mmcr0),
124 pmc2, pmc2_lookup(mmcr0));
230 /* setup mmcr0 and clear the correct pmc */
239 /* setup mmcr0 and clear the correct pmc */
249 /* setup mmcr0 and clear the correct pmc */
257 /* setup mmcr0 and clear the correct pmc */
266 /* setup mmcr0 and clear the correct pmc */
270 "ori %0,%0,%2 \n\t" /* or in mmcr0 settings */
281 /* setup mmcr0 and clear the correct pmc */
285 "ori %0,%0,%2 \n\t" /* or in mmcr0 settings */
295 /* setup mmcr0 and clear the correct pmc */
299 "ori %0,%0,%2 \n\t" /* or in mmcr0 settings */