Lines Matching refs:evt
200 static int xen_timerop_shutdown(struct clock_event_device *evt)
209 struct clock_event_device *evt)
211 WARN_ON(!clockevent_state_oneshot(evt));
240 static int xen_vcpuop_shutdown(struct clock_event_device *evt)
253 static int xen_vcpuop_set_oneshot(struct clock_event_device *evt)
265 struct clock_event_device *evt)
271 WARN_ON(!clockevent_state_oneshot(evt));
306 struct clock_event_device evt;
309 static DEFINE_PER_CPU(struct xen_clock_event_device, xen_clock_events) = { .evt.irq = -1 };
313 struct clock_event_device *evt = this_cpu_ptr(&xen_clock_events.evt);
317 if (evt->event_handler) {
318 evt->event_handler(evt);
327 struct clock_event_device *evt;
328 evt = &per_cpu(xen_clock_events, cpu).evt;
330 if (evt->irq >= 0) {
331 unbind_from_irqhandler(evt->irq, NULL);
332 evt->irq = -1;
339 struct clock_event_device *evt = &xevt->evt;
342 WARN(evt->irq >= 0, "IRQ%d for CPU%d is already allocated\n", evt->irq, cpu);
343 if (evt->irq >= 0)
356 memcpy(evt, xen_clockevent, sizeof(*evt));
358 evt->cpumask = cpumask_of(cpu);
359 evt->irq = irq;
365 clockevents_register_device(this_cpu_ptr(&xen_clock_events.evt));