Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/perf/
Darm_dmc620_pmu.c86 struct dmc620_pmu { struct
103 #define to_dmc620_pmu(p) (container_of(p, struct dmc620_pmu, pmu)) argument
238 struct dmc620_pmu *dmc620_pmu = to_dmc620_pmu(dev_get_drvdata(dev)); in dmc620_pmu_cpumask_show() local
241 cpumask_of(dmc620_pmu->irq->cpu)); in dmc620_pmu_cpumask_show()
264 u32 dmc620_pmu_creg_read(struct dmc620_pmu *dmc620_pmu, in dmc620_pmu_creg_read() argument
267 return readl(dmc620_pmu->base + DMC620_PMU_COUNTERn_OFFSET(idx) + reg); in dmc620_pmu_creg_read()
271 void dmc620_pmu_creg_write(struct dmc620_pmu *dmc620_pmu, in dmc620_pmu_creg_write() argument
274 writel(val, dmc620_pmu->base + DMC620_PMU_COUNTERn_OFFSET(idx) + reg); in dmc620_pmu_creg_write()
295 struct dmc620_pmu *dmc620_pmu = to_dmc620_pmu(event->pmu); in dmc620_get_event_idx() local
307 if (!test_and_set_bit(idx, dmc620_pmu->used_mask)) in dmc620_get_event_idx()
[all …]