Searched refs:TIM_ARR (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/counter/ |
D | stm32-timer-cnt.c | 64 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write() 158 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_ceiling_read() 175 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write() 361 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_cnt_suspend() 387 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_cnt_resume()
|
/Linux-v6.1/drivers/mfd/ |
D | stm32-timers.c | 164 regmap_read(ddata->regmap, TIM_ARR, &arr); in stm32_timers_get_arr_size() 170 regmap_write(ddata->regmap, TIM_ARR, ~0L); in stm32_timers_get_arr_size() 171 regmap_read(ddata->regmap, TIM_ARR, &ddata->max_arr); in stm32_timers_get_arr_size() 172 regmap_write(ddata->regmap, TIM_ARR, arr); in stm32_timers_get_arr_size()
|
/Linux-v6.1/drivers/clocksource/ |
D | timer-stm32.c | 31 #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-v6.1/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 160 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() 667 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_count_get_preset() 687 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset() 841 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_trigger_suspend() 869 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_trigger_resume()
|
/Linux-v6.1/include/linux/mfd/ |
D | stm32-timers.h | 26 #define TIM_ARR 0x2c /* Auto-Reload Register */ macro
|
/Linux-v6.1/drivers/pwm/ |
D | pwm-stm32.c | 207 regmap_write(priv->regmap, TIM_ARR, priv->max_arr); in stm32_pwm_capture() 354 regmap_read(priv->regmap, TIM_ARR, &arr); in stm32_pwm_config() 361 regmap_write(priv->regmap, TIM_ARR, prd - 1); in stm32_pwm_config()
|