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()
97 struct clock_event_device *evt = data; in dw_apb_clockevent_irq() local
98 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in dw_apb_clockevent_irq()
100 if (!evt->event_handler) { in dw_apb_clockevent_irq()
108 evt->event_handler(evt); in dw_apb_clockevent_irq()
121 static int apbt_shutdown(struct clock_event_device *evt) in apbt_shutdown() argument
123 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_shutdown()
127 cpumask_first(evt->cpumask)); in apbt_shutdown()
135 static int apbt_set_oneshot(struct clock_event_device *evt) in apbt_set_oneshot() argument
137 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_set_oneshot()
141 cpumask_first(evt->cpumask)); in apbt_set_oneshot()
167 static int apbt_set_periodic(struct clock_event_device *evt) in apbt_set_periodic() argument
169 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_set_periodic()
174 cpumask_first(evt->cpumask)); in apbt_set_periodic()
193 static int apbt_resume(struct clock_event_device *evt) in apbt_resume() argument
195 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_resume()
198 cpumask_first(evt->cpumask)); in apbt_resume()
205 struct clock_event_device *evt) in apbt_next_event() argument
208 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_next_event()