Searched refs:alpha_pmu (Results 1 – 1 of 1) sorted by relevance
95 static const struct alpha_pmu_t *alpha_pmu; variable235 val &= alpha_pmu->pmc_count_mask[idx]; in alpha_write_pmc()236 val <<= alpha_pmu->pmc_count_shift[idx]; in alpha_write_pmc()246 val >>= alpha_pmu->pmc_count_shift[idx]; in alpha_read_pmc()247 val &= alpha_pmu->pmc_count_mask[idx]; in alpha_read_pmc()277 if (unlikely(left < alpha_pmu->pmc_left[idx])) in alpha_perf_event_set_period()278 left = alpha_pmu->pmc_left[idx]; in alpha_perf_event_set_period()280 if (left > (long)alpha_pmu->pmc_max_period[idx]) in alpha_perf_event_set_period()281 left = alpha_pmu->pmc_max_period[idx]; in alpha_perf_event_set_period()321 delta = (new_raw_count - (prev_raw_count & alpha_pmu->pmc_count_mask[idx])) + ovf; in alpha_perf_event_update()[all …]