Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/trigger/
Dstm32-timer-trigger.c464 dat &= TIM_SMCR_SMS; in stm32_counter_read_raw()
557 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, TIM_SMCR_SMS); in stm32_set_trigger_mode()
570 return (smcr & TIM_SMCR_SMS) == TIM_SMCR_SMS ? 0 : -EINVAL; in stm32_get_trigger_mode()
620 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_set_enable_mode()
646 smcr &= TIM_SMCR_SMS; in stm32_get_enable_mode()
/Linux-v5.10/include/linux/mfd/
Dstm32-timers.h40 #define TIM_SMCR_SMS (BIT(0) | BIT(1) | BIT(2)) /* Slave mode selection */ macro
/Linux-v5.10/drivers/counter/
Dstm32-timer-cnt.c92 switch (smcr & TIM_SMCR_SMS) { in stm32_count_function_get()
138 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_count_function_set()