Lines Matching refs:psel
146 int pmc, psel; in find_alternative_decode() local
150 psel = event & PM_PMCSEL_MSK; in find_alternative_decode()
151 if ((pmc == 2 || pmc == 4) && (psel & ~7) == 0x40) in find_alternative_decode()
153 if ((pmc == 1 || pmc == 3) && (psel & ~7) == 0x48) in find_alternative_decode()
215 int pmc, psel; in power7_marked_instr_event() local
220 psel = event & PM_PMCSEL_MSK & ~1; /* trim off edge/level bit */ in power7_marked_instr_event()
224 switch (psel >> 4) { in power7_marked_instr_event()
228 if (psel == 0x3c) in power7_marked_instr_event()
230 if (psel == 0x3e) in power7_marked_instr_event()
237 if (psel == 0x64) in power7_marked_instr_event()
253 unsigned int pmc, unit, combine, l2sel, psel; in power7_compute_mmcr() local
275 psel = event[i] & PM_PMCSEL_MSK; in power7_compute_mmcr()
294 mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); in power7_compute_mmcr()