Lines Matching refs:timer_of_base
101 writel_relaxed(0, timer_of_base(to) + TIM_DIER); in stm32_clock_event_disable()
114 writel_relaxed(TIM_CR1_UDIS | TIM_CR1_CEN, timer_of_base(to) + TIM_CR1); in stm32_timer_start()
132 next = readl_relaxed(timer_of_base(to) + TIM_CNT) + evt; in stm32_clock_event_set_next_event()
133 writel_relaxed(next, timer_of_base(to) + TIM_CCR1); in stm32_clock_event_set_next_event()
134 now = readl_relaxed(timer_of_base(to) + TIM_CNT); in stm32_clock_event_set_next_event()
139 writel_relaxed(TIM_DIER_CC1IE, timer_of_base(to) + TIM_DIER); in stm32_clock_event_set_next_event()
167 writel_relaxed(0, timer_of_base(to) + TIM_SR); in stm32_clock_event_handler()
192 writel_relaxed(UINT_MAX, timer_of_base(to) + TIM_ARR); in stm32_timer_set_width()
194 width = readl_relaxed(timer_of_base(to) + TIM_ARR); in stm32_timer_set_width()
222 writel_relaxed(prescaler - 1, timer_of_base(to) + TIM_PSC); in stm32_timer_set_prescaler()
223 writel_relaxed(TIM_EGR_UG, timer_of_base(to) + TIM_EGR); in stm32_timer_set_prescaler()
224 writel_relaxed(0, timer_of_base(to) + TIM_SR); in stm32_timer_set_prescaler()
253 stm32_timer_cnt = timer_of_base(to) + TIM_CNT; in stm32_clocksource_init()
263 return clocksource_mmio_init(timer_of_base(to) + TIM_CNT, name, in stm32_clocksource_init()