Lines Matching refs:psel
139 int pmc, psel, ptype;
144 psel = (event & PM_PMCSEL_MSK) >> 1; /* drop edge/level bit */
149 if (psel < sizeof(direct_event_is_marked)) {
150 ptype = direct_event_is_marked[psel];
160 } else if ((psel & 0x48) == 0x40)
161 bit = psel & 7;
182 unsigned int pmc, ev, b, u, s, psel;
211 psel = ev & PM_PMCSEL_MSK;
230 if (0x30 <= psel && psel <= 0x3d) {
236 if (pmc >= 2 && (psel & 0x90) == 0x80)
237 psel ^= 0x20;
247 mmcr1 |= (unsigned long)psel << MMCR1_PMCSEL_SH(pmc);
376 unsigned int psel, pmc;
399 psel = event & (PM_PMCSEL_MSK & ~1); /* ignore edge bit */
401 if (pmc && (psel == 0x32 || psel == 0x34))
406 if (pmc && (psel == 0x38 || psel == 0x3a))