Searched refs:starlink_pmu (Results 1 – 1 of 1) sorted by relevance
51 #define to_starlink_pmu(p) (container_of(p, struct starlink_pmu, pmu))69 struct starlink_pmu { struct132 struct starlink_pmu *starlink_pmu = to_starlink_pmu(dev_get_drvdata(dev)); in cpumask_show() local134 return cpumap_print_to_pagebuf(true, buf, &starlink_pmu->cpumask); in cpumask_show()157 struct starlink_pmu *starlink_pmu = to_starlink_pmu(event->pmu); in starlink_pmu_set_event_period() local169 writeq(val, starlink_pmu->pmu_base + STARLINK_PMU_CYCLE_COUNTER); in starlink_pmu_set_event_period()171 writeq(val, starlink_pmu->pmu_base + STARLINK_PMU_EVENT_COUNTER + in starlink_pmu_set_event_period()176 struct starlink_pmu *starlink_pmu) in starlink_pmu_counter_start() argument191 val = readq(starlink_pmu->pmu_base + STARLINK_PMU_INTERRUPT_ENABLE); in starlink_pmu_counter_start()200 writeq(event->hw.config, starlink_pmu->pmu_base + in starlink_pmu_counter_start()[all …]