Lines Matching refs:hwc
103 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
153 hwc->config |= config; in __hw_perf_event_init()
159 struct hw_perf_event *hwc, int idx) in sh_perf_event_update() argument
178 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
181 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in sh_perf_event_update()
202 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop() local
203 int idx = hwc->idx; in sh_pmu_stop()
206 sh_pmu->disable(hwc, idx); in sh_pmu_stop()
220 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local
221 int idx = hwc->idx; in sh_pmu_start()
231 sh_pmu->enable(hwc, idx); in sh_pmu_start()
247 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
248 int idx = hwc->idx; in sh_pmu_add()
259 hwc->idx = idx; in sh_pmu_add()
262 sh_pmu->disable(hwc, idx); in sh_pmu_add()