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