Searched refs:TIM_CR1_CEN (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/counter/ |
D | stm32-timer-cnt.c | 125 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_count_function_write() 133 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, cr1); in stm32_count_function_write() 188 *enable = cr1 & TIM_CR1_CEN; in stm32_count_enable_read() 201 if (!(cr1 & TIM_CR1_CEN)) in stm32_count_enable_write() 204 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_count_enable_write() 205 TIM_CR1_CEN); in stm32_count_enable_write() 208 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_count_enable_write() 209 if (cr1 & TIM_CR1_CEN) in stm32_count_enable_write() 366 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_cnt_suspend()
|
/Linux-v6.1/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 175 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_timer_start() 193 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_stop() 249 if (cr1 & TIM_CR1_CEN) { in stm32_tt_read_frequency() 460 *val = (dat & TIM_CR1_CEN) ? 1 : 0; in stm32_counter_read_raw() 501 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_counter_write_raw() 502 TIM_CR1_CEN); in stm32_counter_write_raw() 504 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_counter_write_raw() 823 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_trigger_remove() 846 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_trigger_suspend()
|
/Linux-v6.1/drivers/pwm/ |
D | pwm-stm32.c | 119 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_pwm_raw_capture() 164 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_pwm_raw_capture() 420 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, TIM_CR1_CEN); in stm32_pwm_enable() 438 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_pwm_disable()
|
/Linux-v6.1/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-v6.1/include/linux/mfd/ |
D | stm32-timers.h | 35 #define TIM_CR1_CEN BIT(0) /* Counter Enable */ macro
|