Searched refs:TIM_CR1 (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/iio/trigger/ |
| H A D | stm32-timer-trigger.c | 166 regmap_set_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_timer_start() 180 regmap_set_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_start() 196 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_timer_stop() 197 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_stop() 249 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_tt_read_frequency() 464 regmap_read(priv->regmap, TIM_CR1, &dat); in stm32_counter_read_raw() 509 regmap_set_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_counter_write_raw() 511 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_counter_write_raw() 697 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE); in stm32_count_set_preset() 835 regmap_clear_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN); in stm32_timer_trigger_remove() [all …]
|
| /linux/drivers/counter/ |
| H A D | stm32-timer-cnt.c | 141 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_function_write() 143 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_count_function_write() 151 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, cr1); in stm32_count_function_write() 163 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_direction_read() 192 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_ARPE, 0); in stm32_count_ceiling_write() 204 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_read() 219 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_write() 228 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, in stm32_count_enable_write() 231 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_write() 232 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 0); in stm32_count_enable_write() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-stm32.c | 25 #define TIM_CR1 0x00 macro 114 writel_relaxed(TIM_CR1_UDIS | TIM_CR1_CEN, timer_of_base(to) + TIM_CR1); in stm32_timer_start()
|