Searched refs:pmu_to_cd (Results 1 – 1 of 1) sorted by relevance
125 #define pmu_to_cd(p) container_of((p), struct arm_ni_cd, pmu) macro158 struct arm_ni_cd *cd = pmu_to_cd(dev_get_drvdata(dev)); in arm_ni_event_attr_is_visible()221 struct arm_ni_cd *cd = pmu_to_cd(dev_get_drvdata(dev)); in arm_ni_cpumask_show()232 struct arm_ni *ni = cd_to_ni(pmu_to_cd(dev_get_drvdata(dev))); in arm_ni_identifier_show()262 writel_relaxed(NI_PMCR_ENABLE, pmu_to_cd(pmu)->pmu_base + NI_PMCR); in arm_ni_pmu_enable()267 writel_relaxed(0, pmu_to_cd(pmu)->pmu_base + NI_PMCR); in arm_ni_pmu_disable()310 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_init()350 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_read()371 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_start()378 struct arm_ni_cd *cd = pmu_to_cd(event->pmu); in arm_ni_event_stop()[all …]