Searched refs:smmu_pmu (Results 1 – 1 of 1) sorted by relevance
101 struct smmu_pmu { struct118 #define to_smmu_pmu(p) (container_of(p, struct smmu_pmu, pmu)) argument134 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_enable() local137 smmu_pmu->reg_base + SMMU_PMCG_IRQ_CTRL); in smmu_pmu_enable()138 writel(SMMU_PMCG_CR_ENABLE, smmu_pmu->reg_base + SMMU_PMCG_CR); in smmu_pmu_enable()143 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_disable() local145 writel(0, smmu_pmu->reg_base + SMMU_PMCG_CR); in smmu_pmu_disable()146 writel(0, smmu_pmu->reg_base + SMMU_PMCG_IRQ_CTRL); in smmu_pmu_disable()149 static inline void smmu_pmu_counter_set_value(struct smmu_pmu *smmu_pmu, in smmu_pmu_counter_set_value() argument152 if (smmu_pmu->counter_mask & BIT(32)) in smmu_pmu_counter_set_value()[all …]