Searched refs:smmu_pmu (Results 1 – 1 of 1) sorted by relevance
122 struct smmu_pmu { struct140 #define to_smmu_pmu(p) (container_of(p, struct smmu_pmu, pmu)) argument156 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_enable() local159 smmu_pmu->reg_base + SMMU_PMCG_IRQ_CTRL); in smmu_pmu_enable()160 writel(SMMU_PMCG_CR_ENABLE, smmu_pmu->reg_base + SMMU_PMCG_CR); in smmu_pmu_enable()163 static int smmu_pmu_apply_event_filter(struct smmu_pmu *smmu_pmu,168 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_enable_quirk_hip08_09() local171 for_each_set_bit(idx, smmu_pmu->used_counters, smmu_pmu->num_counters) in smmu_pmu_enable_quirk_hip08_09()172 smmu_pmu_apply_event_filter(smmu_pmu, smmu_pmu->events[idx], idx); in smmu_pmu_enable_quirk_hip08_09()179 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_disable() local[all …]