Lines Matching refs:current_idx
47 int current_idx[MAX_HWEVENTS]; member
342 int *current_idx) in collect_events() argument
352 current_idx[n++] = PMC_NO_INDEX; in collect_events()
360 current_idx[n++] = PMC_NO_INDEX; in collect_events()
402 if (cpuc->current_idx[j] != PMC_NO_INDEX && in maybe_change_configuration()
403 cpuc->current_idx[j] != pe->hw.idx) { in maybe_change_configuration()
404 alpha_perf_event_update(pe, &pe->hw, cpuc->current_idx[j], 0); in maybe_change_configuration()
405 cpuc->current_idx[j] = PMC_NO_INDEX; in maybe_change_configuration()
416 if (cpuc->current_idx[j] == PMC_NO_INDEX) { in maybe_change_configuration()
418 cpuc->current_idx[j] = idx; in maybe_change_configuration()
422 cpuc->idx_mask |= (1<<cpuc->current_idx[j]); in maybe_change_configuration()
460 cpuc->current_idx[n0] = PMC_NO_INDEX; in alpha_pmu_add()
497 int idx = cpuc->current_idx[j]; in alpha_pmu_del()
505 cpuc->current_idx[j - 1] = in alpha_pmu_del()
506 cpuc->current_idx[j]; in alpha_pmu_del()
831 if (cpuc->current_idx[j] == idx) in alpha_perf_event_irq_handler()