Lines Matching refs:ccer
48 u32 ccer; in active_channels() local
50 regmap_read(dev->regmap, TIM_CCER, &ccer); in active_channels()
52 return ccer & TIM_CCER_CCXE; in active_channels()
565 u32 ccer; in stm32_pwm_detect_complementary() local
573 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_detect_complementary()
576 priv->have_complementary_output = (ccer != 0); in stm32_pwm_detect_complementary()
581 u32 ccer; in stm32_pwm_detect_channels() local
590 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_detect_channels()
593 if (ccer & TIM_CCER_CC1E) in stm32_pwm_detect_channels()
596 if (ccer & TIM_CCER_CC2E) in stm32_pwm_detect_channels()
599 if (ccer & TIM_CCER_CC3E) in stm32_pwm_detect_channels()
602 if (ccer & TIM_CCER_CC4E) in stm32_pwm_detect_channels()
667 u32 ccer, mask; in stm32_pwm_suspend() local
670 ccer = active_channels(priv); in stm32_pwm_suspend()
674 if (ccer & mask) { in stm32_pwm_suspend()