Searched refs:TIM_SMCR (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iio/trigger/ |
| H A D | stm32-timer-trigger.c | 463 regmap_read(priv->regmap, TIM_SMCR, &dat); in stm32_counter_read_raw() 530 TIM_SMCR, TIM_SMCR_TS, in stm32_counter_validate_trigger() 557 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, TIM_SMCR_SMS); in stm32_set_trigger_mode() 568 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode() 620 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_set_enable_mode() 645 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode() 842 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend() 863 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
|
| /OK3568_Linux_fs/kernel/drivers/counter/ |
| H A D | stm32-timer-cnt.c | 93 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_get() 142 regmap_update_bits(priv->regmap, TIM_SMCR, TIM_SMCR_SMS, sms); in stm32_count_function_set() 397 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend() 423 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | stm32-timers.h | 17 #define TIM_SMCR 0x08 /* Slave mode control reg */ macro
|