Home
last modified time | relevance | path

Searched refs:ccer (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c126 u32 ccer; in stm32_timer_start() local
152 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_start()
153 if (ccer & TIM_CCER_CCXE) in stm32_timer_start()
188 u32 ccer; in stm32_timer_stop() local
190 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_stop()
191 if (ccer & TIM_CCER_CCXE) in stm32_timer_stop()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c421 u32 ccmr, ccer; in stm32_count_capture_configure() local
447 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_count_capture_configure()
449 ch, ccmr, ccer); in stm32_count_capture_configure()
660 u32 ccer, ccer_backup; in stm32_timer_cnt_detect_channels() local
664 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_cnt_detect_channels()
666 priv->nchannels = hweight32(ccer & TIM_CCER_CCXE); in stm32_timer_cnt_detect_channels()