Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/perf/
Darm_spe_pmu.c113 static u32 arm_spe_pmu_cap_get(struct arm_spe_pmu *spe_pmu, int cap) in arm_spe_pmu_cap_get() argument
116 return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); in arm_spe_pmu_cap_get()
120 return spe_pmu->counter_sz; in arm_spe_pmu_cap_get()
122 return spe_pmu->min_period; in arm_spe_pmu_cap_get()
134 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_cap_show() local
140 arm_spe_pmu_cap_get(spe_pmu, cap)); in arm_spe_pmu_cap_show()
249 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_get_attr_cpumask() local
251 return cpumap_print_to_pagebuf(true, buf, &spe_pmu->supported_cpus); in arm_spe_pmu_get_attr_cpumask()
295 struct arm_spe_pmu *spe_pmu = to_spe_pmu(event->pmu); in arm_spe_event_sanitise_period() local
300 if (period < spe_pmu->min_period) in arm_spe_event_sanitise_period()
[all …]