Lines Matching defs:to
69 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON) argument
70 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL) argument
88 static u32 mtk_cpux_readl(u32 reg_idx, struct timer_of *to) in mtk_cpux_readl()
94 static void mtk_cpux_writel(u32 val, u32 reg_idx, struct timer_of *to) in mtk_cpux_writel()
100 static void mtk_cpux_set_irq(struct timer_of *to, bool enable) in mtk_cpux_set_irq()
134 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq()
144 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() local
155 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() local
198 static void mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer) in mtk_gpt_clkevt_time_stop()
207 static void mtk_gpt_clkevt_time_setup(struct timer_of *to, in mtk_gpt_clkevt_time_setup()
213 static void mtk_gpt_clkevt_time_start(struct timer_of *to, in mtk_gpt_clkevt_time_start()
244 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_set_periodic() local
256 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_next_event() local
268 struct timer_of *to = to_timer_of(clkevt); in mtk_gpt_interrupt() local
278 __init mtk_gpt_setup(struct timer_of *to, u8 timer, u8 option) in mtk_gpt_setup()
292 static void mtk_gpt_enable_irq(struct timer_of *to, u8 timer) in mtk_gpt_enable_irq()
309 struct timer_of *to = to_timer_of(clk); in mtk_gpt_resume() local
316 struct timer_of *to = to_timer_of(clk); in mtk_gpt_suspend() local
329 static struct timer_of to = { variable