Lines Matching refs:alpha_pmu
91 static const struct alpha_pmu_t *alpha_pmu;
224 val &= alpha_pmu->pmc_count_mask[idx];
225 val <<= alpha_pmu->pmc_count_shift[idx];
235 val >>= alpha_pmu->pmc_count_shift[idx];
236 val &= alpha_pmu->pmc_count_mask[idx];
266 if (unlikely(left < alpha_pmu->pmc_left[idx]))
267 left = alpha_pmu->pmc_left[idx];
269 if (left > (long)alpha_pmu->pmc_max_period[idx])
270 left = alpha_pmu->pmc_max_period[idx];
310 delta = (new_raw_count - (prev_raw_count & alpha_pmu->pmc_count_mask[idx])) + ovf;
316 delta += alpha_pmu->pmc_max_period[idx] + 1;
368 if (n_ev > alpha_pmu->num_pmcs)
371 return alpha_pmu->check_constraints(events, evtypes, n_ev);
446 if (n0 < alpha_pmu->num_pmcs) {
570 if (attr->config >= alpha_pmu->max_events)
572 ev = alpha_pmu->event_map[attr->config];
609 alpha_pmu->num_pmcs - 1,
637 hwc->sample_period = alpha_pmu->pmc_max_period[0];
660 if (!alpha_pmu)
736 pcr0 = (pcr >> alpha_pmu->pmc_count_shift[0]) & alpha_pmu->pmc_count_mask[0];
737 pcr1 = (pcr >> alpha_pmu->pmc_count_shift[1]) & alpha_pmu->pmc_count_mask[1];
802 alpha_perf_event_update(event, hwc, idx, alpha_pmu->pmc_max_period[idx]+1);
839 alpha_pmu = &ev67_pmu;
840 perf_max_events = alpha_pmu->num_pmcs;