Lines Matching refs:hwc
121 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
171 hwc->config |= config; in __hw_perf_event_init()
177 struct hw_perf_event *hwc, int idx) in sh_perf_event_update() argument
196 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
199 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in sh_perf_event_update()
220 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop() local
221 int idx = hwc->idx; in sh_pmu_stop()
224 sh_pmu->disable(hwc, idx); in sh_pmu_stop()
238 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local
239 int idx = hwc->idx; in sh_pmu_start()
249 sh_pmu->enable(hwc, idx); in sh_pmu_start()
265 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
266 int idx = hwc->idx; in sh_pmu_add()
277 hwc->idx = idx; in sh_pmu_add()
280 sh_pmu->disable(hwc, idx); in sh_pmu_add()