Searched refs:TIM_CR1 (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 139 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_timer_start() 145 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE, TIM_CR1_ARPE); in stm32_timer_start() 159 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_timer_start() 172 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_timer_stop() 177 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE, 0); in stm32_timer_stop() 178 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_stop() 218 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_tt_read_frequency() 414 regmap_read(priv->regmap, TIM_CR1, &dat); in stm32_counter_read_raw() 452 regmap_read(priv->regmap, TIM_CR1, &dat); in stm32_counter_write_raw() 455 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_counter_write_raw() [all …]
|
/Linux-v4.19/drivers/pwm/ |
D | pwm-stm32.c | 116 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_pwm_raw_capture() 161 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_pwm_raw_capture() 359 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE, TIM_CR1_ARPE); in stm32_pwm_config() 419 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_pwm_enable() 437 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_pwm_disable()
|
/Linux-v4.19/drivers/clocksource/ |
D | timer-stm32.c | 25 #define TIM_CR1 0x00 macro 114 writel_relaxed(TIM_CR1_UDIS | TIM_CR1_CEN, timer_of_base(to) + TIM_CR1); in stm32_timer_start()
|
/Linux-v4.19/include/linux/mfd/ |
D | stm32-timers.h | 15 #define TIM_CR1 0x00 /* Control Register 1 */ macro
|