Home
last modified time | relevance | path

Searched refs:TIM_PSC (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-stm32.c98 ret = regmap_read(priv->regmap, TIM_PSC, &wfhw->psc); in stm32_pwm_round_waveform_tohw()
277 ret = regmap_read(priv->regmap, TIM_PSC, &wfhw->psc); in stm32_pwm_read_waveform()
328 ret = regmap_read(priv->regmap, TIM_PSC, &psc); in stm32_pwm_write_waveform()
346 ret = regmap_write(priv->regmap, TIM_PSC, wfhw->psc); in stm32_pwm_write_waveform()
578 regmap_write(priv->regmap, TIM_PSC, psc); in stm32_pwm_capture()
616 regmap_write(priv->regmap, TIM_PSC, psc); in stm32_pwm_capture()
687 regmap_write(priv->regmap, TIM_PSC, 0); in stm32_pwm_capture()
/linux/drivers/clocksource/
H A Dtimer-stm32.c30 #define TIM_PSC 0x28 macro
222 writel_relaxed(prescaler - 1, timer_of_base(to) + TIM_PSC); in stm32_timer_set_prescaler()
/linux/include/linux/mfd/
H A Dstm32-timers.h25 #define TIM_PSC 0x28 /* Prescaler */ macro
/linux/drivers/counter/
H A Dstm32-timer-cnt.c250 regmap_read(priv->regmap, TIM_PSC, &psc); in stm32_count_prescaler_read()
268 return regmap_write(priv->regmap, TIM_PSC, psc); in stm32_count_prescaler_write()