Lines Matching refs:TIM_CCER
50 regmap_read(dev->regmap, TIM_CCER, &ccer); in active_channels()
125 regmap_set_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture()
163 regmap_clear_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture()
222 regmap_update_bits(priv->regmap, TIM_CCER, pwm->hwpwm < 2 ? in stm32_pwm_capture()
315 regmap_write(priv->regmap, TIM_CCER, 0); in stm32_pwm_capture()
401 regmap_update_bits(priv->regmap, TIM_CCER, mask, in stm32_pwm_set_polarity()
421 regmap_set_bits(priv->regmap, TIM_CCER, mask); in stm32_pwm_enable()
441 regmap_clear_bits(priv->regmap, TIM_CCER, mask); in stm32_pwm_disable()
579 regmap_set_bits(priv->regmap, TIM_CCER, TIM_CCER_CC1NE); in stm32_pwm_detect_complementary()
580 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_detect_complementary()
581 regmap_clear_bits(priv->regmap, TIM_CCER, TIM_CCER_CC1NE); in stm32_pwm_detect_complementary()
595 regmap_read(priv->regmap, TIM_CCER, &ccer_backup); in stm32_pwm_detect_channels()
596 regmap_set_bits(priv->regmap, TIM_CCER, TIM_CCER_CCXE); in stm32_pwm_detect_channels()
597 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_detect_channels()
598 regmap_write(priv->regmap, TIM_CCER, ccer_backup); in stm32_pwm_detect_channels()