Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/perf/
Darm_spe_pmu.c103 static u32 arm_spe_pmu_cap_get(struct arm_spe_pmu *spe_pmu, int cap) in arm_spe_pmu_cap_get() argument
106 return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); in arm_spe_pmu_cap_get()
110 return spe_pmu->counter_sz; in arm_spe_pmu_cap_get()
112 return spe_pmu->min_period; in arm_spe_pmu_cap_get()
124 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_cap_show() local
130 arm_spe_pmu_cap_get(spe_pmu, cap)); in arm_spe_pmu_cap_show()
239 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_get_attr_cpumask() local
241 return cpumap_print_to_pagebuf(true, buf, &spe_pmu->supported_cpus); in arm_spe_pmu_get_attr_cpumask()
285 struct arm_spe_pmu *spe_pmu = to_spe_pmu(event->pmu); in arm_spe_event_sanitise_period() local
290 if (period < spe_pmu->min_period) in arm_spe_event_sanitise_period()
[all …]