Lines Matching refs:num_counters
121 s8 num_counters; member
245 return (idx < dsu_pmu->num_counters) || in dsu_pmu_counter_valid()
314 idx = find_first_zero_bit(used_mask, dsu_pmu->num_counters); in dsu_pmu_get_event_idx()
315 if (idx >= dsu_pmu->num_counters) in dsu_pmu_get_event_idx()
602 dsu_pmu->num_counters = -1; in dsu_pmu_alloc()
671 u64 num_counters; in dsu_pmu_probe_pmu() local
674 num_counters = (__dsu_pmu_read_pmcr() >> CLUSTERPMCR_N_SHIFT) & in dsu_pmu_probe_pmu()
677 if (WARN_ON(num_counters > 31)) in dsu_pmu_probe_pmu()
678 num_counters = 31; in dsu_pmu_probe_pmu()
679 dsu_pmu->num_counters = num_counters; in dsu_pmu_probe_pmu()
680 if (!dsu_pmu->num_counters) in dsu_pmu_probe_pmu()
701 if (dsu_pmu->num_counters == -1) in dsu_pmu_init_pmu()