Lines Matching refs:cr1
109 u32 ccer, cr1; in stm32_timer_start() local
139 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_timer_start()
140 if (!(cr1 & TIM_CR1_CEN)) in stm32_timer_start()
166 u32 ccer, cr1; in stm32_timer_stop() local
172 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_timer_stop()
173 if (cr1 & TIM_CR1_CEN) in stm32_timer_stop()
215 u32 psc, arr, cr1; in stm32_tt_read_frequency() local
218 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_tt_read_frequency()
222 if (cr1 & TIM_CR1_CEN) { in stm32_tt_read_frequency()
677 u32 cr1; in stm32_get_count_direction() local
679 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_get_count_direction()
681 return ((cr1 & TIM_CR1_DIR) ? 1 : 0); in stm32_get_count_direction()