Lines Matching refs:timer_of_base
84 sprd_timer_disable(timer_of_base(to)); in sprd_timer_set_next_event()
85 sprd_timer_update_counter(timer_of_base(to), cycles); in sprd_timer_set_next_event()
86 sprd_timer_enable(timer_of_base(to), 0); in sprd_timer_set_next_event()
95 sprd_timer_disable(timer_of_base(to)); in sprd_timer_set_periodic()
96 sprd_timer_update_counter(timer_of_base(to), timer_of_period(to)); in sprd_timer_set_periodic()
97 sprd_timer_enable(timer_of_base(to), TIMER_CTL_PERIOD_MODE); in sprd_timer_set_periodic()
106 sprd_timer_disable(timer_of_base(to)); in sprd_timer_shutdown()
115 sprd_timer_clear_interrupt(timer_of_base(to)); in sprd_timer_interrupt()
118 sprd_timer_disable(timer_of_base(to)); in sprd_timer_interrupt()
152 sprd_timer_enable_interrupt(timer_of_base(&to)); in sprd_timer_init()
165 return ~(u64)readl_relaxed(timer_of_base(&suspend_to) + in sprd_suspend_timer_read()
171 sprd_timer_update_counter(timer_of_base(&suspend_to), in sprd_suspend_timer_enable()
173 sprd_timer_enable(timer_of_base(&suspend_to), TIMER_CTL_PERIOD_MODE); in sprd_suspend_timer_enable()
180 sprd_timer_disable(timer_of_base(&suspend_to)); in sprd_suspend_timer_disable()