Searched refs:TIM_PSC (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/pwm/ |
H A D | pwm-stm32.c | 98 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 D | timer-stm32.c | 30 #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 D | stm32-timers.h | 25 #define TIM_PSC 0x28 /* Prescaler */ macro
|
/linux/drivers/counter/ |
H A D | stm32-timer-cnt.c | 250 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()
|