Lines Matching refs:imx_timer
62 struct imx_timer { struct
77 void (*gpt_setup_tctl)(struct imx_timer *imxtm); argument
78 void (*gpt_irq_enable)(struct imx_timer *imxtm);
79 void (*gpt_irq_disable)(struct imx_timer *imxtm);
80 void (*gpt_irq_acknowledge)(struct imx_timer *imxtm);
85 static inline struct imx_timer *to_imx_timer(struct clock_event_device *ced) in to_imx_timer()
87 return container_of(ced, struct imx_timer, ced); in to_imx_timer()
90 static void imx1_gpt_irq_disable(struct imx_timer *imxtm) in imx1_gpt_irq_disable()
99 static void imx31_gpt_irq_disable(struct imx_timer *imxtm) in imx31_gpt_irq_disable()
105 static void imx1_gpt_irq_enable(struct imx_timer *imxtm) in imx1_gpt_irq_enable()
114 static void imx31_gpt_irq_enable(struct imx_timer *imxtm) in imx31_gpt_irq_enable()
120 static void imx1_gpt_irq_acknowledge(struct imx_timer *imxtm) in imx1_gpt_irq_acknowledge()
125 static void imx21_gpt_irq_acknowledge(struct imx_timer *imxtm) in imx21_gpt_irq_acknowledge()
131 static void imx31_gpt_irq_acknowledge(struct imx_timer *imxtm) in imx31_gpt_irq_acknowledge()
153 static int __init mxc_clocksource_init(struct imx_timer *imxtm) in mxc_clocksource_init()
176 struct imx_timer *imxtm = to_imx_timer(ced); in mx1_2_set_next_event()
190 struct imx_timer *imxtm = to_imx_timer(ced); in v2_set_next_event()
204 struct imx_timer *imxtm = to_imx_timer(ced); in mxc_shutdown()
226 struct imx_timer *imxtm = to_imx_timer(ced); in mxc_set_oneshot()
261 struct imx_timer *imxtm = to_imx_timer(ced); in mxc_timer_interrupt()
273 static int __init mxc_clockevent_init(struct imx_timer *imxtm) in mxc_clockevent_init()
298 static void imx1_gpt_setup_tctl(struct imx_timer *imxtm) in imx1_gpt_setup_tctl()
307 static void imx31_gpt_setup_tctl(struct imx_timer *imxtm) in imx31_gpt_setup_tctl()
320 static void imx6dl_gpt_setup_tctl(struct imx_timer *imxtm) in imx6dl_gpt_setup_tctl()
381 static int __init _mxc_timer_init(struct imx_timer *imxtm) in _mxc_timer_init()
431 struct imx_timer *imxtm; in mxc_timer_init()
450 struct imx_timer *imxtm; in mxc_timer_init_dt()