Home
last modified time | relevance | path

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

/linux-6.12.1/arch/sh/kernel/
Dperf_event.c36 static struct sh_pmu *sh_pmu __read_mostly;
57 return !!sh_pmu; in sh_pmu_initialized()
78 if (!sh_pmu->cache_events) in hw_perf_cache_event()
91 ev = (*sh_pmu->cache_events)[type][op][result]; in hw_perf_cache_event()
135 config = attr->config & sh_pmu->raw_event_mask; in __hw_perf_event_init()
143 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
146 config = sh_pmu->event_map(attr->config); in __hw_perf_event_init()
179 new_raw_count = sh_pmu->read(idx); in sh_perf_event_update()
206 sh_pmu->disable(hwc, idx); in sh_pmu_stop()
231 sh_pmu->enable(hwc, idx); in sh_pmu_start()
[all …]
/linux-6.12.1/arch/sh/include/asm/
Dperf_event.h9 struct sh_pmu { struct
26 extern int register_sh_pmu(struct sh_pmu *); argument
/linux-6.12.1/arch/sh/kernel/cpu/sh4/
Dperf_event.c28 static struct sh_pmu sh7750_pmu;
239 static struct sh_pmu sh7750_pmu = {
/linux-6.12.1/arch/sh/kernel/cpu/sh4a/
Dperf_event.c53 static struct sh_pmu sh4a_pmu;
273 static struct sh_pmu sh4a_pmu = {