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()
540 int max_counters) in tx2_uncore_validate_event_group() argument
563 return counters <= max_counters; in tx2_uncore_validate_event_group()
599 if (!tx2_uncore_validate_event_group(event, tx2_pmu->max_counters)) in tx2_uncore_event_init()
622 tx2_pmu->max_counters) == 1) { in tx2_uncore_event_start()
689 if (bitmap_empty(tx2_pmu->active_counters, tx2_pmu->max_counters)) in tx2_uncore_event_del()
701 int max_counters, idx; in tx2_hrtimer_callback() local
704 max_counters = tx2_pmu->max_counters; in tx2_hrtimer_callback()
706 if (bitmap_empty(tx2_pmu->active_counters, max_counters)) in tx2_hrtimer_callback()
709 for_each_set_bit(idx, tx2_pmu->active_counters, max_counters) { in tx2_hrtimer_callback()
831 tx2_pmu->max_counters = TX2_PMU_DMC_L3C_MAX_COUNTERS; in tx2_uncore_pmu_init_dev()
846 tx2_pmu->max_counters = TX2_PMU_DMC_L3C_MAX_COUNTERS; in tx2_uncore_pmu_init_dev()
862 tx2_pmu->max_counters = TX2_PMU_CCPI2_MAX_COUNTERS; in tx2_uncore_pmu_init_dev()