Home
last modified time | relevance | path

Searched refs:TIM_CNT (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/clocksource/
H A Dtimer-stm32.c29 #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()
/openbmc/linux/drivers/counter/
H A Dstm32-timer-cnt.c52 regmap_read(priv->regmap, TIM_CNT, &cnt); in stm32_count_read()
68 return regmap_write(priv->regmap, TIM_CNT, val); in stm32_count_write()
365 regmap_read(priv->regmap, TIM_CNT, &priv->bak.cnt); in stm32_timer_cnt_suspend()
391 regmap_write(priv->regmap, TIM_CNT, priv->bak.cnt); in stm32_timer_cnt_resume()
/openbmc/qemu/include/hw/timer/
H A Dstm32f2xx_timer.h41 #define TIM_CNT 0x24 macro
/openbmc/qemu/hw/timer/
H A Dstm32f2xx_timer.c150 case TIM_CNT: in stm32f2xx_timer_read()
226 case TIM_CNT: in stm32f2xx_timer_write()
/openbmc/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c454 regmap_read(priv->regmap, TIM_CNT, &dat); in stm32_counter_read_raw()
488 return regmap_write(priv->regmap, TIM_CNT, val); in stm32_counter_write_raw()
842 regmap_read(priv->regmap, TIM_CNT, &priv->bak.cnt); in stm32_timer_trigger_suspend()
870 regmap_write(priv->regmap, TIM_CNT, priv->bak.cnt); in stm32_timer_trigger_resume()
/openbmc/linux/include/linux/mfd/
H A Dstm32-timers.h24 #define TIM_CNT 0x24 /* Counter */ macro