Lines Matching defs:unit
21 #define PM_UNIT_SH 12 /* TTMMUX number and setting - unit select */
86 int pmc, sh, unit;
105 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK;
106 if (unit == 6) {
216 int unit;
219 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK;
235 return unit == 0xd;
241 return unit == 0xd;
252 unsigned int pmc, unit, combine, l2sel, psel;
271 unit = (event[i] >> PM_UNIT_SH) & PM_UNIT_MSK;
289 mmcr1 |= (unsigned long) unit
294 if (unit == 6) /* L2 events */