Lines Matching refs:TIM_CR2
164 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, in stm32_timer_start()
167 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS, in stm32_timer_start()
198 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, 0); in stm32_timer_stop()
200 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS, 0); in stm32_timer_stop()
292 regmap_read(priv->regmap, TIM_CR2, &cr2); in stm32_tt_show_master_mode()
330 regmap_update_bits(priv->regmap, TIM_CR2, mask, in stm32_tt_store_master_mode()
759 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, TIM_CR2_MMS2); in stm32_timer_detect_trgo2()
760 regmap_read(priv->regmap, TIM_CR2, &val); in stm32_timer_detect_trgo2()
761 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, 0); in stm32_timer_detect_trgo2()
838 regmap_read(priv->regmap, TIM_CR2, &priv->bak.cr2); in stm32_timer_trigger_suspend()
864 regmap_write(priv->regmap, TIM_CR2, priv->bak.cr2); in stm32_timer_trigger_resume()