Lines Matching refs:num_counters
130 unsigned int num_counters; member
171 for_each_set_bit(idx, smmu_pmu->used_counters, smmu_pmu->num_counters) in smmu_pmu_enable_quirk_hip08_09()
195 for_each_set_bit(idx, smmu_pmu->used_counters, smmu_pmu->num_counters) in smmu_pmu_disable_quirk_hip08_09()
330 unsigned int cur_idx, num_ctrs = smmu_pmu->num_counters; in smmu_pmu_apply_event_filter()
361 unsigned int num_ctrs = smmu_pmu->num_counters; in smmu_pmu_get_event_idx()
430 if (++group_num_events > smmu_pmu->num_counters) in smmu_pmu_event_init()
441 if (++group_num_events > smmu_pmu->num_counters) in smmu_pmu_event_init()
699 for_each_set_bit(idx, ovs, smmu_pmu->num_counters) { in smmu_pmu_handle_irq()
777 u64 counter_present_mask = GENMASK_ULL(smmu_pmu->num_counters - 1, 0); in smmu_pmu_reset()
901 smmu_pmu->num_counters = FIELD_GET(SMMU_PMCG_CFGR_NCTR, cfgr) + 1; in smmu_pmu_probe()
958 &res_0->start, smmu_pmu->num_counters, in smmu_pmu_probe()