Lines Matching refs:psel
220 int pmc, psel, unit, byte, bit;
224 psel = event & PM_PMCSEL_MSK;
226 if (direct_marked_event[pmc - 1] & (1 << psel))
228 if (psel == 0) /* add events */
230 else if (psel == 6) /* decode events */
235 bit = psel;
362 unsigned int pmc, unit, byte, psel, lower;
474 psel = event[i] & PM_PMCSEL_MSK;
478 psel |= 0x10 | ((byte & 2) << 2);
495 if (psel == 0 && (byte & 2))
498 else if (psel == 6 && byte == 3)
501 psel |= 8;
504 mmcr0 |= psel << (MMCR0_PMC1SEL_SH - 7 * pmc);
506 mmcr1 |= psel << (MMCR1_PMC3SEL_SH - 5 * (pmc - 2));
508 mmcra |= (psel & 1) << MMCRA_PMC8SEL0_SH;