Searched refs:TIM_CNT (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/clocksource/ |
H A D | timer-stm32.c | 29 #define TIM_CNT 0x24 macro 132 next = readl_relaxed(timer_of_base(to) + TIM_CNT) + evt; in stm32_clock_event_set_next_event() 134 now = readl_relaxed(timer_of_base(to) + TIM_CNT); in stm32_clock_event_set_next_event() 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()
|
/linux/drivers/counter/ |
H A D | stm32-timer-cnt.c | 65 regmap_read(priv->regmap, TIM_CNT, &cnt); in stm32_count_read() 81 return regmap_write(priv->regmap, TIM_CNT, val); in stm32_count_write() 805 regmap_read(priv->regmap, TIM_CNT, &priv->bak.cnt); in stm32_timer_cnt_suspend() 835 regmap_write(priv->regmap, TIM_CNT, priv->bak.cnt); in stm32_timer_cnt_resume()
|
/linux/include/linux/mfd/ |
H A D | stm32-timers.h | 24 #define TIM_CNT 0x24 /* Counter */ macro
|