Searched refs:dmc620_pmu (Results 1 – 1 of 1) sorted by relevance
86 struct dmc620_pmu { struct103 #define to_dmc620_pmu(p) (container_of(p, struct dmc620_pmu, pmu)) argument238 struct dmc620_pmu *dmc620_pmu = to_dmc620_pmu(dev_get_drvdata(dev)); in dmc620_pmu_cpumask_show() local241 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() argument267 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() argument274 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() local307 if (!test_and_set_bit(idx, dmc620_pmu->used_mask)) in dmc620_get_event_idx()[all …]