Home
last modified time | relevance | path

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

/linux/drivers/perf/
H A Dstarfive_starlink_pmu.c51 #define to_starlink_pmu(p) (container_of(p, struct starlink_pmu, pmu))
69 struct starlink_pmu { struct
132 struct starlink_pmu *starlink_pmu = to_starlink_pmu(dev_get_drvdata(dev)); in cpumask_show() local
134 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() local
169 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() argument
191 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 …]