Lines Matching defs:hwc
108 struct hw_perf_event *hwc = &event->hw;
110 int idx = hwc->idx;
234 struct hw_perf_event *hwc)
236 return readq(l3c_pmu->base + hisi_l3c_pmu_get_counter_offset(hwc->idx));
240 struct hw_perf_event *hwc, u64 val)
242 writeq(val, l3c_pmu->base + hisi_l3c_pmu_get_counter_offset(hwc->idx));
295 struct hw_perf_event *hwc)
301 val |= (1 << hwc->idx);
306 struct hw_perf_event *hwc)
312 val &= ~(1 << hwc->idx);
317 struct hw_perf_event *hwc)
323 val &= ~(1 << hwc->idx);
328 struct hw_perf_event *hwc)
334 val |= (1 << hwc->idx);