Home
last modified time | relevance | path

Searched refs:alpha_pmu (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/arch/alpha/kernel/
Dperf_event.c94 static const struct alpha_pmu_t *alpha_pmu; variable
234 val &= alpha_pmu->pmc_count_mask[idx]; in alpha_write_pmc()
235 val <<= alpha_pmu->pmc_count_shift[idx]; in alpha_write_pmc()
245 val >>= alpha_pmu->pmc_count_shift[idx]; in alpha_read_pmc()
246 val &= alpha_pmu->pmc_count_mask[idx]; in alpha_read_pmc()
276 if (unlikely(left < alpha_pmu->pmc_left[idx])) in alpha_perf_event_set_period()
277 left = alpha_pmu->pmc_left[idx]; in alpha_perf_event_set_period()
279 if (left > (long)alpha_pmu->pmc_max_period[idx]) in alpha_perf_event_set_period()
280 left = alpha_pmu->pmc_max_period[idx]; in alpha_perf_event_set_period()
320 delta = (new_raw_count - (prev_raw_count & alpha_pmu->pmc_count_mask[idx])) + ovf; in alpha_perf_event_update()
[all …]