Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/trigger/
Dstm32-timer-trigger.c419 regmap_read(priv->regmap, TIM_SMCR, &dat); in stm32_counter_read_raw()
483 TIM_SMCR, TIM_SMCR_TS, in stm32_counter_validate_trigger()
510 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, TIM_SMCR_SMS); in stm32_set_trigger_mode()
521 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode()
573 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_set_enable_mode()
598 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode()
623 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, mode + 1); in stm32_set_quadrature_mode()
635 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_quadrature_mode()
664 regmap_read(priv->regmap, TIM_SMCR, &val); in stm32_set_count_direction()
/Linux-v4.19/include/linux/mfd/
Dstm32-timers.h17 #define TIM_SMCR 0x08 /* Slave mode control reg */ macro