Lines Matching refs:evts
1242 static int sparc_check_constraints(struct perf_event **evts, in sparc_check_constraints() argument
1261 evts[i]->hw.idx = i; in sparc_check_constraints()
1308 evts[0]->hw.idx = idx0; in sparc_check_constraints()
1310 evts[1]->hw.idx = idx0 ^ 1; in sparc_check_constraints()
1314 static int check_excludes(struct perf_event **evts, int n_prev, int n_new) in check_excludes() argument
1329 event = evts[i]; in check_excludes()
1346 struct perf_event *evts[], unsigned long *events, in collect_events() argument
1355 evts[n] = group; in collect_events()
1364 evts[n] = event; in collect_events()
1418 struct perf_event *evts[MAX_HWEVENTS]; in sparc_pmu_event_init() local
1477 evts, events, current_idx_dmy); in sparc_pmu_event_init()
1482 evts[n] = event; in sparc_pmu_event_init()
1484 if (check_excludes(evts, n, 1)) in sparc_pmu_event_init()
1487 if (sparc_check_constraints(evts, events, n + 1)) in sparc_pmu_event_init()