Lines Matching refs:alt
360 unsigned int alt = presorted_event_table[mid];
362 if (alt < event)
364 else if (alt > event)
373 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[])
380 alt[0] = event;
392 alt[nalt++] = aevent;
402 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) |
407 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) |
424 switch (alt[i]) {
426 alt[j++] = 0x600005; /* PM_RUN_CYC */
430 alt[j++] = 0x1e; /* PM_CYC */
433 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */
437 alt[j++] = 2; /* PM_INST_CMPL */
440 alt[j++] = 0x4000f4; /* PM_RUN_PURR */
443 alt[j++] = 0x10000e; /* PM_PURR */
454 if (!p6_limited_pmc_event(alt[i])) {
455 alt[j] = alt[i];
464 if (p6_limited_pmc_event(alt[i])) {
465 alt[j] = alt[i];