Lines Matching defs:alt
274 static int power5p_get_alternatives(u64 event, unsigned int flags, u64 alt[])
280 alt[0] = event;
288 alt[nalt++] = ae;
294 alt[nalt++] = ae;
310 switch (alt[i]) {
312 alt[j++] = 0x600005; /* PM_RUN_CYC */
316 alt[j++] = 0xf;
319 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */
323 alt[j++] = 0x100009; /* PM_INST_CMPL */
324 alt[j++] = 0x200009;
335 if (!power5p_limited_pmc_event(alt[i])) {
336 alt[j] = alt[i];
345 if (power5p_limited_pmc_event(alt[i])) {
346 alt[j] = alt[i];