Lines Matching refs:TIM_CR2
165 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, in stm32_timer_start()
168 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS, in stm32_timer_start()
199 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, 0); in stm32_timer_stop()
201 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS, 0); in stm32_timer_stop()
293 regmap_read(priv->regmap, TIM_CR2, &cr2); in stm32_tt_show_master_mode()
331 regmap_update_bits(priv->regmap, TIM_CR2, mask, in stm32_tt_store_master_mode()
760 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, TIM_CR2_MMS2); in stm32_timer_detect_trgo2()
761 regmap_read(priv->regmap, TIM_CR2, &val); in stm32_timer_detect_trgo2()
762 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, 0); in stm32_timer_detect_trgo2()
839 regmap_read(priv->regmap, TIM_CR2, &priv->bak.cr2); in stm32_timer_trigger_suspend()
865 regmap_write(priv->regmap, TIM_CR2, priv->bak.cr2); in stm32_timer_trigger_resume()