Lines Matching refs:of_base
108 rttm_ack_irq(to->of_base.base); in rttm_timer_interrupt()
109 RTTM_DEBUG(to->of_base.base); in rttm_timer_interrupt()
123 rttm_set_counter(to->of_base.base, 0); in rttm_start_timer()
124 rttm_enable_timer(to->of_base.base, mode, to->of_clk.rate / RTTM_TICKS_PER_SEC); in rttm_start_timer()
131 RTTM_DEBUG(to->of_base.base); in rttm_next_event()
132 rttm_stop_timer(to->of_base.base); in rttm_next_event()
133 rttm_set_period(to->of_base.base, delta); in rttm_next_event()
143 RTTM_DEBUG(to->of_base.base); in rttm_state_oneshot()
144 rttm_stop_timer(to->of_base.base); in rttm_state_oneshot()
145 rttm_set_period(to->of_base.base, RTTM_TICKS_PER_SEC / HZ); in rttm_state_oneshot()
155 RTTM_DEBUG(to->of_base.base); in rttm_state_periodic()
156 rttm_stop_timer(to->of_base.base); in rttm_state_periodic()
157 rttm_set_period(to->of_base.base, RTTM_TICKS_PER_SEC / HZ); in rttm_state_periodic()
167 RTTM_DEBUG(to->of_base.base); in rttm_state_shutdown()
168 rttm_stop_timer(to->of_base.base); in rttm_state_shutdown()
184 return rttm_get_counter(rcs->to.of_base.base); in rttm_read_clocksource()
208 rttm_disable_irq(rcs->to.of_base.base); in rttm_enable_clocksource()
209 rttm_setup_timer(rcs->to.of_base.base); in rttm_enable_clocksource()
210 rttm_enable_timer(rcs->to.of_base.base, RTTM_CTRL_TIMER, in rttm_enable_clocksource()
231 return rttm_get_counter(rttm_cs.to.of_base.base); in rttm_read_clock()
238 RTTM_DEBUG(to->of_base.base); in rttm_cpu_starting()
243 rttm_enable_irq(to->of_base.base); in rttm_cpu_starting()
257 to->of_irq.index = to->of_base.index = cpu; in rttm_probe()
262 rttm_setup_timer(to->of_base.base); in rttm_probe()
267 to->of_base.index = clkidx; in rttm_probe()
269 if (rttm_cs.to.of_base.base && rttm_cs.to.of_clk.rate) { in rttm_probe()