Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/trigger/
H A 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()
/openbmc/linux/drivers/counter/
H A 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()
369 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend()
399 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
/openbmc/qemu/include/hw/timer/
H A Dstm32f2xx_timer.h34 #define TIM_SMCR 0x08 macro
/openbmc/qemu/hw/timer/
H A Dstm32f2xx_timer.c136 case TIM_SMCR: in stm32f2xx_timer_read()
196 case TIM_SMCR: in stm32f2xx_timer_write()
/openbmc/linux/include/linux/mfd/
H A Dstm32-timers.h17 #define TIM_SMCR 0x08 /* Slave mode control reg */ macro
/openbmc/linux/drivers/pwm/
H A Dpwm-stm32.c212 regmap_write(priv->regmap, TIM_SMCR, 0x0); in stm32_pwm_capture()