Searched refs:TIM_CR2 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 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() [all …]
|
/Linux-v5.15/include/linux/mfd/ |
D | stm32-timers.h | 16 #define TIM_CR2 0x04 /* Control Register 2 */ macro
|