Home
last modified time | relevance | path

Searched refs:TIM_SMCR (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/iio/trigger/
Dstm32-timer-trigger.c464 regmap_read(priv->regmap, TIM_SMCR, &dat); in stm32_counter_read_raw()
531 TIM_SMCR, TIM_SMCR_TS, in stm32_counter_validate_trigger()
558 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, TIM_SMCR_SMS); in stm32_set_trigger_mode()
569 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode()
621 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_set_enable_mode()
646 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode()
843 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend()
864 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
/linux-5.19.10/drivers/counter/
Dstm32-timer-cnt.c78 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_read()
127 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_count_function_write()
360 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend()
386 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
/linux-5.19.10/include/linux/mfd/
Dstm32-timers.h17 #define TIM_SMCR 0x08 /* Slave mode control reg */ macro