| H A D | timer-mediatek.c | 60 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON) 61 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL) 64 * SYST_CON_EN: Clock enable. Shall be set to 69 * SYST_CON_IRQ_EN: Set to enable interrupt. 71 * SYST_CON_IRQ_CLR: Set to clear interrupt. 79 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() 82 writel(SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_handler() 83 writel(SYST_CON_IRQ_CLR | SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_handler() 56 SYST_CON_REG(to) global() argument 57 SYST_VAL_REG(to) global() argument 75 mtk_syst_ack_irq(struct timer_of * to) mtk_syst_ack_irq() argument 85 struct timer_of *to = to_timer_of(clkevt); mtk_syst_handler() local 96 struct timer_of *to = to_timer_of(clkevt); mtk_syst_clkevt_next_event() local 139 mtk_gpt_clkevt_time_stop(struct timer_of * to,u8 timer) mtk_gpt_clkevt_time_stop() argument 148 mtk_gpt_clkevt_time_setup(struct timer_of * to,unsigned long delay,u8 timer) mtk_gpt_clkevt_time_setup() argument 154 mtk_gpt_clkevt_time_start(struct timer_of * to,bool periodic,u8 timer) mtk_gpt_clkevt_time_start() argument 185 struct timer_of *to = to_timer_of(clk); mtk_gpt_clkevt_set_periodic() local 197 struct timer_of *to = to_timer_of(clk); mtk_gpt_clkevt_next_event() local 209 struct timer_of *to = to_timer_of(clkevt); mtk_gpt_interrupt() local 219 mtk_gpt_setup(struct timer_of * to,u8 timer,u8 option) mtk_gpt_setup() argument 233 mtk_gpt_enable_irq(struct timer_of * to,u8 timer) mtk_gpt_enable_irq() argument 250 struct timer_of *to = to_timer_of(clk); mtk_gpt_resume() local 257 struct timer_of *to = to_timer_of(clk); mtk_gpt_suspend() local 270 static struct timer_of to = { global() variable [all...] |