Lines Matching refs:evt
38 ced_to_dw_apb_ced(struct clock_event_device *evt) in ced_to_dw_apb_ced() argument
40 return container_of(evt, struct dw_apb_clock_event_device, ced); in ced_to_dw_apb_ced()
78 struct clock_event_device *evt = data; in dw_apb_clockevent_irq() local
79 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in dw_apb_clockevent_irq()
81 if (!evt->event_handler) { in dw_apb_clockevent_irq()
89 evt->event_handler(evt); in dw_apb_clockevent_irq()
102 static int apbt_shutdown(struct clock_event_device *evt) in apbt_shutdown() argument
104 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_shutdown()
108 cpumask_first(evt->cpumask)); in apbt_shutdown()
116 static int apbt_set_oneshot(struct clock_event_device *evt) in apbt_set_oneshot() argument
118 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_set_oneshot()
122 cpumask_first(evt->cpumask)); in apbt_set_oneshot()
148 static int apbt_set_periodic(struct clock_event_device *evt) in apbt_set_periodic() argument
150 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_set_periodic()
155 cpumask_first(evt->cpumask)); in apbt_set_periodic()
174 static int apbt_resume(struct clock_event_device *evt) in apbt_resume() argument
176 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_resume()
179 cpumask_first(evt->cpumask)); in apbt_resume()
186 struct clock_event_device *evt) in apbt_next_event() argument
189 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_next_event()