Searched refs:sh_pmu (Results 1 – 4 of 4) sorted by relevance
36 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 …]
9 struct sh_pmu { struct26 extern int register_sh_pmu(struct sh_pmu *); argument
28 static struct sh_pmu sh7750_pmu;239 static struct sh_pmu sh7750_pmu = {
53 static struct sh_pmu sh4a_pmu;273 static struct sh_pmu sh4a_pmu = {