Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H A Dstm32-timers.c165 regmap_read(ddata->regmap, TIM_ARR, &arr); in stm32_timers_get_arr_size()
171 regmap_write(ddata->regmap, TIM_ARR, ~0L); in stm32_timers_get_arr_size()
172 regmap_read(ddata->regmap, TIM_ARR, &ddata->max_arr); in stm32_timers_get_arr_size()
173 regmap_write(ddata->regmap, TIM_ARR, arr); in stm32_timers_get_arr_size()
/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c160 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_timer_start()
195 regmap_write(priv->regmap, TIM_ARR, 0); in stm32_timer_stop()
247 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_tt_read_frequency()
665 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_get_preset()
685 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
837 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_trigger_suspend()
865 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_trigger_resume()
/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/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()
797 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_cnt_suspend()
823 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_cnt_resume()
/linux/drivers/pwm/
H A Dpwm-stm32.c192 regmap_write(priv->regmap, TIM_ARR, priv->max_arr); in stm32_pwm_capture()
357 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_pwm_config()
364 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_pwm_config()
511 ret = regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_pwm_get_state()
/linux/include/linux/mfd/
H A Dstm32-timers.h26 #define TIM_ARR 0x2c /* Auto-Reload Register */ macro