Lines Matching refs:max_counters
97 u32 max_counters; member
309 tx2_pmu->max_counters); in alloc_counter()
310 if (counter == tx2_pmu->max_counters) in alloc_counter()
545 int max_counters) in tx2_uncore_validate_event_group() argument
568 return counters <= max_counters; in tx2_uncore_validate_event_group()
604 if (!tx2_uncore_validate_event_group(event, tx2_pmu->max_counters)) in tx2_uncore_event_init()
627 tx2_pmu->max_counters) == 1) { in tx2_uncore_event_start()
694 if (bitmap_empty(tx2_pmu->active_counters, tx2_pmu->max_counters)) in tx2_uncore_event_del()
706 int max_counters, idx; in tx2_hrtimer_callback() local
709 max_counters = tx2_pmu->max_counters; in tx2_hrtimer_callback()
711 if (bitmap_empty(tx2_pmu->active_counters, max_counters)) in tx2_hrtimer_callback()
714 for_each_set_bit(idx, tx2_pmu->active_counters, max_counters) { in tx2_hrtimer_callback()
835 tx2_pmu->max_counters = TX2_PMU_DMC_L3C_MAX_COUNTERS; in tx2_uncore_pmu_init_dev()
850 tx2_pmu->max_counters = TX2_PMU_DMC_L3C_MAX_COUNTERS; in tx2_uncore_pmu_init_dev()
866 tx2_pmu->max_counters = TX2_PMU_CCPI2_MAX_COUNTERS; in tx2_uncore_pmu_init_dev()