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.c166 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_timer_start()
200 regmap_write(priv->regmap, TIM_ARR, 0); in stm32_timer_stop()
252 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_tt_read_frequency()
679 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_get_preset()
699 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
852 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_trigger_suspend()
880 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_trigger_resume()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c77 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write()
177 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_ceiling_read()
194 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write()
806 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_cnt_suspend()
836 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_cnt_resume()