Lines Matching refs:TIM_CR1
138 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_function_set()
140 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_count_function_set()
148 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, cr1); in stm32_count_function_set()
161 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_direction_read()
196 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE, 0); in stm32_count_ceiling_write()
209 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_read()
229 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_write()
233 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_count_enable_write()
236 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_write()
237 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_count_enable_write()
400 regmap_read(priv->regmap, TIM_CR1, &priv->bak.cr1); in stm32_timer_cnt_suspend()
403 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_timer_cnt_suspend()
428 regmap_write(priv->regmap, TIM_CR1, priv->bak.cr1); in stm32_timer_cnt_resume()