Searched refs:TIM_CR1_CEN (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 140 if (!(cr1 & TIM_CR1_CEN)) in stm32_timer_start() 159 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_timer_start() 173 if (cr1 & TIM_CR1_CEN) in stm32_timer_stop() 178 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_stop() 222 if (cr1 & TIM_CR1_CEN) { in stm32_tt_read_frequency() 415 *val = (dat & TIM_CR1_CEN) ? 1 : 0; in stm32_counter_read_raw() 453 if (!(dat & TIM_CR1_CEN)) in stm32_counter_write_raw() 455 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_counter_write_raw() 456 TIM_CR1_CEN); in stm32_counter_write_raw() 459 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() 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 | 34 #define TIM_CR1_CEN BIT(0) 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 | 35 #define TIM_CR1_CEN BIT(0) /* Counter Enable */ macro
|