Home
last modified time | relevance | path

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

/linux/drivers/perf/
H A Darm-ni.c138 #define pmu_to_cd(p) container_of((p), struct arm_ni_cd, pmu) macro
174 struct arm_ni_cd *cd = pmu_to_cd(dev_get_drvdata(dev)); in arm_ni_event_attr_is_visible()
240 struct arm_ni *ni = cd_to_ni(pmu_to_cd(dev_get_drvdata(dev))); in arm_ni_cpumask_show()
251 struct arm_ni *ni = cd_to_ni(pmu_to_cd(dev_get_drvdata(dev))); in arm_ni_identifier_show()
280 writel_relaxed(NI_PMCR_ENABLE, pmu_to_cd(pmu)->pmu_base + NI_PMCR); in arm_ni_pmu_enable()
285 writel_relaxed(0, pmu_to_cd(pmu)->pmu_base + NI_PMCR); in arm_ni_pmu_disable()
333 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_init()
397 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_start()
404 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_stop()
425 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_add()
[all …]