Lines Matching refs:assign
422 static int uncore_assign_events(struct intel_uncore_box *box, int assign[], int n) in uncore_assign_events() argument
456 if (assign) in uncore_assign_events()
457 assign[i] = hwc->idx; in uncore_assign_events()
462 wmin, wmax, n, assign); in uncore_assign_events()
464 if (!assign || ret) { in uncore_assign_events()
548 int assign[UNCORE_PMC_IDX_MAX]; in uncore_pmu_event_add() local
573 ret = uncore_assign_events(box, assign, n); in uncore_pmu_event_add()
582 if (hwc->idx == assign[i] && in uncore_pmu_event_add()
583 hwc->last_tag == box->tags[assign[i]]) in uncore_pmu_event_add()
600 if (hwc->idx != assign[i] || in uncore_pmu_event_add()
601 hwc->last_tag != box->tags[assign[i]]) in uncore_pmu_event_add()
602 uncore_assign_hw_event(box, event, assign[i]); in uncore_pmu_event_add()