Home
last modified time | relevance | path

Searched refs:smmu_pmu (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/perf/
Darm_smmuv3_pmu.c121 struct smmu_pmu { struct
139 #define to_smmu_pmu(p) (container_of(p, struct smmu_pmu, pmu)) argument
155 struct smmu_pmu *smmu_pmu = to_smmu_pmu(pmu); in smmu_pmu_enable() local
158 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() local
166 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() argument
173 if (smmu_pmu->counter_mask & BIT(32)) in smmu_pmu_counter_set_value()
[all …]