Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dperf_event.c36 static struct sh_pmu *sh_pmu __read_mostly;
57 return !!sh_pmu; in sh_pmu_initialized()
62 if (!sh_pmu) in perf_pmu_name()
65 return sh_pmu->name; in perf_pmu_name()
71 if (!sh_pmu) in perf_num_counters()
74 return sh_pmu->num_events; in perf_num_counters()
96 if (!sh_pmu->cache_events) in hw_perf_cache_event()
109 ev = (*sh_pmu->cache_events)[type][op][result]; in hw_perf_cache_event()
153 config = attr->config & sh_pmu->raw_event_mask; in __hw_perf_event_init()
161 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()
[all …]
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dperf_event.h9 struct sh_pmu { struct
26 extern int register_sh_pmu(struct sh_pmu *); argument
/OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c53 static struct sh_pmu sh4a_pmu;
273 static struct sh_pmu sh4a_pmu = {
/OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c28 static struct sh_pmu sh7750_pmu;
239 static struct sh_pmu sh7750_pmu = {