Home
last modified time | relevance | path

Searched refs:TIM_CR2 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c171 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2, in stm32_timer_start()
174 regmap_update_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS, in stm32_timer_start()
204 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_stop()
206 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS); in stm32_timer_stop()
298 regmap_read(priv->regmap, TIM_CR2, &cr2); in stm32_tt_show_master_mode()
338 regmap_update_bits(priv->regmap, TIM_CR2, mask, in stm32_tt_store_master_mode()
772 regmap_set_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_detect_trgo2()
773 regmap_read(priv->regmap, TIM_CR2, &val); in stm32_timer_detect_trgo2()
774 regmap_clear_bits(priv->regmap, TIM_CR2, TIM_CR2_MMS2); in stm32_timer_detect_trgo2()
850 regmap_read(priv->regmap, TIM_CR2, &priv->bak.cr2); in stm32_timer_trigger_suspend()
[all …]
/linux/include/linux/mfd/
H A Dstm32-timers.h16 #define TIM_CR2 0x04 /* Control Register 2 */ macro