Home
last modified time | relevance | path

Searched refs:TIM_ARR (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/clocksource/
H A Dtimer-stm32.c31 #define TIM_ARR 0x2c macro
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()
/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c165 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_timer_start()
199 regmap_write(priv->regmap, TIM_ARR, 0); in stm32_timer_stop()
251 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_tt_read_frequency()
678 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_get_preset()
698 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
851 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_trigger_suspend()
879 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_trigger_resume()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c76 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write()
176 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_ceiling_read()
193 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write()
799 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_cnt_suspend()
829 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_cnt_resume()