Searched refs:smmu_pmu (Results 1 – 1 of 1) sorted by relevance
121 struct smmu_pmu { struct139 #define to_smmu_pmu(p) (container_of(p, struct smmu_pmu, pmu)) argument155 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_enable() local158 smmu_pmu->reg_base + SMMU_PMCG_IRQ_CTRL); in smmu_pmu_enable()159 writel(SMMU_PMCG_CR_ENABLE, smmu_pmu->reg_base + SMMU_PMCG_CR); in smmu_pmu_enable()164 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_disable() local166 writel(0, smmu_pmu->reg_base + SMMU_PMCG_CR); in smmu_pmu_disable()167 writel(0, smmu_pmu->reg_base + SMMU_PMCG_IRQ_CTRL); in smmu_pmu_disable()170 static inline void smmu_pmu_counter_set_value(struct smmu_pmu *smmu_pmu, in smmu_pmu_counter_set_value() argument173 if (smmu_pmu->counter_mask & BIT(32)) in smmu_pmu_counter_set_value()[all …]