Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clocksource/
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-v4.19/drivers/mfd/
Dstm32-timers.c165 regmap_write(ddata->regmap, TIM_ARR, ~0L); in stm32_timers_get_arr_size()
166 regmap_read(ddata->regmap, TIM_ARR, &ddata->max_arr); in stm32_timers_get_arr_size()
167 regmap_write(ddata->regmap, TIM_ARR, 0x0); in stm32_timers_get_arr_size()
/Linux-v4.19/drivers/iio/trigger/
Dstm32-timer-trigger.c144 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_timer_start()
180 regmap_write(priv->regmap, TIM_ARR, 0); in stm32_timer_stop()
220 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_tt_read_frequency()
699 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_get_preset()
719 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
/Linux-v4.19/drivers/pwm/
Dpwm-stm32.c204 regmap_write(priv->regmap, TIM_ARR, priv->max_arr); in stm32_pwm_capture()
351 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_pwm_config()
358 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_pwm_config()
/Linux-v4.19/include/linux/mfd/
Dstm32-timers.h26 #define TIM_ARR 0x2c /* Auto-Reload Register */ macro