• Home
  • Raw
  • Download

Lines Matching refs:evt

192 static int xen_timerop_shutdown(struct clock_event_device *evt)  in xen_timerop_shutdown()  argument
201 struct clock_event_device *evt) in xen_timerop_set_next_event() argument
203 WARN_ON(!clockevent_state_oneshot(evt)); in xen_timerop_set_next_event()
232 static int xen_vcpuop_shutdown(struct clock_event_device *evt) in xen_vcpuop_shutdown() argument
245 static int xen_vcpuop_set_oneshot(struct clock_event_device *evt) in xen_vcpuop_set_oneshot() argument
257 struct clock_event_device *evt) in xen_vcpuop_set_next_event() argument
263 WARN_ON(!clockevent_state_oneshot(evt)); in xen_vcpuop_set_next_event()
298 struct clock_event_device evt; member
301 static DEFINE_PER_CPU(struct xen_clock_event_device, xen_clock_events) = { .evt.irq = -1 };
305 struct clock_event_device *evt = this_cpu_ptr(&xen_clock_events.evt); in xen_timer_interrupt() local
309 if (evt->event_handler) { in xen_timer_interrupt()
310 evt->event_handler(evt); in xen_timer_interrupt()
319 struct clock_event_device *evt; in xen_teardown_timer() local
320 evt = &per_cpu(xen_clock_events, cpu).evt; in xen_teardown_timer()
322 if (evt->irq >= 0) { in xen_teardown_timer()
323 unbind_from_irqhandler(evt->irq, NULL); in xen_teardown_timer()
324 evt->irq = -1; in xen_teardown_timer()
331 struct clock_event_device *evt = &xevt->evt; in xen_setup_timer() local
334 WARN(evt->irq >= 0, "IRQ%d for CPU%d is already allocated\n", evt->irq, cpu); in xen_setup_timer()
335 if (evt->irq >= 0) in xen_setup_timer()
348 memcpy(evt, xen_clockevent, sizeof(*evt)); in xen_setup_timer()
350 evt->cpumask = cpumask_of(cpu); in xen_setup_timer()
351 evt->irq = irq; in xen_setup_timer()
357 clockevents_register_device(this_cpu_ptr(&xen_clock_events.evt)); in xen_setup_cpu_clockevents()