Home
last modified time | relevance | path

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

/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c464 regmap_read(priv->regmap, TIM_SMCR, &dat); in stm32_counter_read_raw()
529 TIM_SMCR, TIM_SMCR_TS, in stm32_counter_validate_trigger()
556 regmap_set_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS); in stm32_set_trigger_mode()
567 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode()
619 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_set_enable_mode()
644 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode()
839 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend()
860 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c91 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_read()
146 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_count_function_write()
796 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend()
822 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
/linux/include/linux/mfd/
H A Dstm32-timers.h17 #define TIM_SMCR 0x08 /* Slave mode control reg */ macro
/linux/drivers/pwm/
H A Dpwm-stm32.c197 regmap_write(priv->regmap, TIM_SMCR, 0x0); in stm32_pwm_capture()