Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/perf/
Darm_spe_pmu.c123 static u32 arm_spe_pmu_cap_get(struct arm_spe_pmu *spe_pmu, int cap) in arm_spe_pmu_cap_get() argument
126 return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); in arm_spe_pmu_cap_get()
130 return spe_pmu->counter_sz; in arm_spe_pmu_cap_get()
132 return spe_pmu->min_period; in arm_spe_pmu_cap_get()
144 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in arm_spe_pmu_cap_show() local
149 return sysfs_emit(buf, "%u\n", arm_spe_pmu_cap_get(spe_pmu, cap)); in arm_spe_pmu_cap_show()
257 struct arm_spe_pmu *spe_pmu = dev_get_drvdata(dev); in cpumask_show() local
259 return cpumap_print_to_pagebuf(true, buf, &spe_pmu->supported_cpus); in cpumask_show()
303 struct arm_spe_pmu *spe_pmu = to_spe_pmu(event->pmu); in arm_spe_event_sanitise_period() local
308 if (period < spe_pmu->min_period) in arm_spe_event_sanitise_period()
[all …]