Searched refs:TIM_CCER (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/pwm/ |
H A D | pwm-stm32.c | 49 regmap_read(dev->regmap, TIM_CCER, &ccer); in active_channels() 110 regmap_set_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture() 148 regmap_clear_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture() 207 regmap_update_bits(priv->regmap, TIM_CCER, pwm->hwpwm < 2 ? in stm32_pwm_capture() 300 regmap_write(priv->regmap, TIM_CCER, 0); in stm32_pwm_capture() 397 regmap_update_bits(priv->regmap, TIM_CCER, mask, in stm32_pwm_set_polarity() 417 regmap_set_bits(priv->regmap, TIM_CCER, mask); in stm32_pwm_enable() 437 regmap_clear_bits(priv->regmap, TIM_CCER, mask); in stm32_pwm_disable() 501 ret = regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_get_state() 616 regmap_set_bits(priv->regmap, TIM_CCER, TIM_CCER_CC1NE); in stm32_pwm_detect_complementary() [all …]
|
/linux/drivers/counter/ |
H A D | stm32-timer-cnt.c | 431 if (!regmap_test_bits(priv->regmap, TIM_CCER, cc->ccer_bits)) in stm32_count_capture_configure() 435 regmap_set_bits(priv->regmap, TIM_CCER, cc->ccer_bits); in stm32_count_capture_configure() 437 regmap_clear_bits(priv->regmap, TIM_CCER, cc->ccer_bits); in stm32_count_capture_configure() 442 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_count_capture_configure() 657 regmap_read(priv->regmap, TIM_CCER, &ccer_backup); in stm32_timer_cnt_detect_channels() 658 regmap_set_bits(priv->regmap, TIM_CCER, TIM_CCER_CCXE); in stm32_timer_cnt_detect_channels() 659 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_cnt_detect_channels() 660 regmap_write(priv->regmap, TIM_CCER, ccer_backup); in stm32_timer_cnt_detect_channels()
|
/linux/drivers/iio/trigger/ |
H A D | stm32-timer-trigger.c | 149 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_start() 186 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_stop() 819 regmap_read(priv->regmap, TIM_CCER, &val); in stm32_timer_trigger_remove()
|
/linux/include/linux/mfd/ |
H A D | stm32-timers.h | 23 #define TIM_CCER 0x20 /* Capt/Comp Enable Reg */ macro
|