Lines Matching refs:num_counters
121 s8 num_counters; member
244 return (idx < dsu_pmu->num_counters) || in dsu_pmu_counter_valid()
313 idx = find_first_zero_bit(used_mask, dsu_pmu->num_counters); in dsu_pmu_get_event_idx()
314 if (idx >= dsu_pmu->num_counters) in dsu_pmu_get_event_idx()
601 dsu_pmu->num_counters = -1; in dsu_pmu_alloc()
670 u64 num_counters; in dsu_pmu_probe_pmu() local
673 num_counters = (__dsu_pmu_read_pmcr() >> CLUSTERPMCR_N_SHIFT) & in dsu_pmu_probe_pmu()
676 if (WARN_ON(num_counters > 31)) in dsu_pmu_probe_pmu()
677 num_counters = 31; in dsu_pmu_probe_pmu()
678 dsu_pmu->num_counters = num_counters; in dsu_pmu_probe_pmu()
679 if (!dsu_pmu->num_counters) in dsu_pmu_probe_pmu()
700 if (dsu_pmu->num_counters == -1) in dsu_pmu_init_pmu()