Lines Matching refs:evt
208 static int xen_timerop_shutdown(struct clock_event_device *evt)
217 struct clock_event_device *evt)
219 WARN_ON(!clockevent_state_oneshot(evt));
248 static int xen_vcpuop_shutdown(struct clock_event_device *evt)
261 static int xen_vcpuop_set_oneshot(struct clock_event_device *evt)
273 struct clock_event_device *evt)
279 WARN_ON(!clockevent_state_oneshot(evt));
314 struct clock_event_device evt;
317 static DEFINE_PER_CPU(struct xen_clock_event_device, xen_clock_events) = { .evt.irq = -1 };
321 struct clock_event_device *evt = this_cpu_ptr(&xen_clock_events.evt);
325 if (evt->event_handler) {
326 evt->event_handler(evt);
335 struct clock_event_device *evt;
336 evt = &per_cpu(xen_clock_events, cpu).evt;
338 if (evt->irq >= 0) {
339 unbind_from_irqhandler(evt->irq, NULL);
340 evt->irq = -1;
347 struct clock_event_device *evt = &xevt->evt;
350 WARN(evt->irq >= 0, "IRQ%d for CPU%d is already allocated\n", evt->irq, cpu);
351 if (evt->irq >= 0)
364 memcpy(evt, xen_clockevent, sizeof(*evt));
366 evt->cpumask = cpumask_of(cpu);
367 evt->irq = irq;
373 clockevents_register_device(this_cpu_ptr(&xen_clock_events.evt));