Searched refs:tx2_pmu (Results 1 – 1 of 1) sorted by relevance
112 struct tx2_uncore_pmu *tx2_pmu);254 struct tx2_uncore_pmu *tx2_pmu; in cpumask_show() local256 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() argument308 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 …]