Home
last modified time | relevance | path

Searched refs:stm32_timer_cnt (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/counter/
H A Dstm32-timer-cnt.c30 struct stm32_timer_cnt { struct
63 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_read()
76 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_write()
90 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_function_get()
117 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_function_set()
157 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_direction_read()
171 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_ceiling_read()
184 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_ceiling_write()
206 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_enable_read()
219 struct stm32_timer_cnt *const priv = counter->priv; in stm32_count_enable_write()
[all …]
/OK3568_Linux_fs/kernel/drivers/clocksource/
H A Dtimer-stm32.c85 static void __iomem *stm32_timer_cnt __read_mostly;
89 return readl_relaxed(stm32_timer_cnt); in stm32_read_sched_clock()
96 return readl_relaxed(stm32_timer_cnt); in stm32_read_delay()
245 if (bits == 32 && !stm32_timer_cnt) { in stm32_clocksource_init()
253 stm32_timer_cnt = timer_of_base(to) + TIM_CNT; in stm32_clocksource_init()