Lines Matching defs:psel
407 int pmc, psel;
412 psel = event & PM_PMCSEL_MSK;
417 if (psel < sizeof(direct_event_is_marked)) {
418 if (direct_event_is_marked[psel] & (1 << pmc))
420 if (direct_event_is_marked[psel] & 0x80)
422 else if (psel == 0x08)
424 else if (psel == 0x10)
426 else if (psel == 0x1b && (pmc == 1 || pmc == 3))
428 } else if ((psel & 0x48) == 0x40) {
429 bit = psel & 7;
430 } else if (psel == 0x28) {
432 } else if (pmc == 3 && (psel == 0x2e || psel == 0x2f)) {
459 unsigned int pmc, unit, byte, psel;
555 psel = event[i] & PM_PMCSEL_MSK;
570 (psel == 8 || psel == 0x10 || psel == 0x28))
578 bit = psel & 7;
584 if ((psel & 0x58) == 0x40 && (byte & 1) != ((pmc >> 1) & 1))
586 psel |= 0x10;
588 mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc);