Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/perf/
Dthunderx2_pmu.c112 struct tx2_uncore_pmu *tx2_pmu);
254 struct tx2_uncore_pmu *tx2_pmu; in cpumask_show() local
256 tx2_pmu = pmu_to_tx2_pmu(dev_get_drvdata(dev)); in cpumask_show()
257 return cpumap_print_to_pagebuf(true, buf, cpumask_of(tx2_pmu->cpu)); in cpumask_show()
304 static int alloc_counter(struct tx2_uncore_pmu *tx2_pmu) in alloc_counter() argument
308 counter = find_first_zero_bit(tx2_pmu->active_counters, in alloc_counter()
309 tx2_pmu->max_counters); in alloc_counter()
310 if (counter == tx2_pmu->max_counters) in alloc_counter()
313 set_bit(counter, tx2_pmu->active_counters); in alloc_counter()
317 static inline void free_counter(struct tx2_uncore_pmu *tx2_pmu, int counter) in free_counter() argument
[all …]