Lines Matching refs:hwc
124 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
174 hwc->config |= config; in __hw_perf_event_init()
180 struct hw_perf_event *hwc, int idx) in sh_perf_event_update() argument
199 prev_raw_count = local64_read(&hwc->prev_count); in sh_perf_event_update()
202 if (local64_cmpxchg(&hwc->prev_count, prev_raw_count, in sh_perf_event_update()
223 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop() local
224 int idx = hwc->idx; in sh_pmu_stop()
227 sh_pmu->disable(hwc, idx); in sh_pmu_stop()
241 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local
242 int idx = hwc->idx; in sh_pmu_start()
252 sh_pmu->enable(hwc, idx); in sh_pmu_start()
268 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
269 int idx = hwc->idx; in sh_pmu_add()
280 hwc->idx = idx; in sh_pmu_add()
283 sh_pmu->disable(hwc, idx); in sh_pmu_add()