Lines Matching refs:hw_events
41 struct pmu_hw_events __percpu *hw_events; member
1075 struct pmu_hw_events *hw_events = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_del() local
1080 hw_events->events[hwc->idx] = NULL; in csky_pmu_del()
1088 struct pmu_hw_events *hw_events = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_add() local
1091 hw_events->events[hwc->idx] = event; in csky_pmu_add()
1106 struct pmu_hw_events *cpuc = this_cpu_ptr(csky_pmu.hw_events); in csky_pmu_handle_irq()
1178 this_cpu_ptr(csky_pmu.hw_events)); in csky_pmu_request_irq()
1195 free_percpu_irq(irq, this_cpu_ptr(csky_pmu.hw_events)); in csky_pmu_free_irq()
1200 csky_pmu.hw_events = alloc_percpu_gfp(struct pmu_hw_events, in init_hw_perf_events()
1202 if (!csky_pmu.hw_events) { in init_hw_perf_events()
1327 free_percpu(csky_pmu.hw_events); in csky_pmu_device_probe()
1334 free_percpu(csky_pmu.hw_events); in csky_pmu_device_probe()