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