Lines Matching defs:unit
15 PMU_FORMAT_ATTR(unit, "config:12-15");
47 /* Only check pmc, unit and pmcxsel, ignore the edge bit (0) */
261 unsigned int unit, pmc, cache, ebb;
270 unit = (event >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK;
316 if (unit >= 6 && unit <= 9) {
318 if (unit == 6) {
417 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val;
443 unit = (event[i] >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK;
457 mmcr1 |= unit << MMCR1_UNIT_SHIFT(pmc);
511 if (cpu_has_feature(CPU_FTR_ARCH_31) && (unit == 6)) {