• Home
  • Raw
  • Download

Lines Matching refs:timer_of_base

89 	sun4i_clkevt_time_stop(timer_of_base(to), 0);  in sun4i_clkevt_shutdown()
98 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_oneshot()
99 sun4i_clkevt_time_start(timer_of_base(to), 0, false); in sun4i_clkevt_set_oneshot()
108 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_periodic()
109 sun4i_clkevt_time_setup(timer_of_base(to), 0, timer_of_period(to)); in sun4i_clkevt_set_periodic()
110 sun4i_clkevt_time_start(timer_of_base(to), 0, true); in sun4i_clkevt_set_periodic()
120 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_next_event()
121 sun4i_clkevt_time_setup(timer_of_base(to), 0, evt - TIMER_SYNC_TICKS); in sun4i_clkevt_next_event()
122 sun4i_clkevt_time_start(timer_of_base(to), 0, false); in sun4i_clkevt_next_event()
137 sun4i_timer_clear_interrupt(timer_of_base(to)); in sun4i_timer_interrupt()
166 return ~readl(timer_of_base(&to) + TIMER_CNTVAL_REG(1)); in sun4i_timer_sched_read()
178 writel(~0, timer_of_base(&to) + TIMER_INTVAL_REG(1)); in sun4i_timer_init()
181 timer_of_base(&to) + TIMER_CTL_REG(1)); in sun4i_timer_init()
194 ret = clocksource_mmio_init(timer_of_base(&to) + TIMER_CNTVAL_REG(1), in sun4i_timer_init()
203 timer_of_base(&to) + TIMER_CTL_REG(0)); in sun4i_timer_init()
206 sun4i_clkevt_time_stop(timer_of_base(&to), 0); in sun4i_timer_init()
209 sun4i_timer_clear_interrupt(timer_of_base(&to)); in sun4i_timer_init()
215 val = readl(timer_of_base(&to) + TIMER_IRQ_EN_REG); in sun4i_timer_init()
216 writel(val | TIMER_IRQ_EN(0), timer_of_base(&to) + TIMER_IRQ_EN_REG); in sun4i_timer_init()