Searched refs:TIM_CCER (Results 1 – 4 of 4) sorted by relevance
/linux-6.14.4/drivers/pwm/ |
D | pwm-stm32.c | 49 regmap_read(dev->regmap, TIM_CCER, &ccer); in active_channels() 266 ret = regmap_read(priv->regmap, TIM_CCER, &wfhw->ccer); in stm32_pwm_read_waveform() 314 ret = regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_write_waveform() 356 ret = regmap_update_bits(priv->regmap, TIM_CCER, mask, wfhw->ccer); in stm32_pwm_write_waveform() 388 regmap_write(priv->regmap, TIM_CCER, ccer); in stm32_pwm_write_waveform() 405 ret = regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_pwm_write_waveform() 412 ret = regmap_write(priv->regmap, TIM_CCER, ccer); in stm32_pwm_write_waveform() 489 regmap_set_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture() 527 regmap_clear_bits(priv->regmap, TIM_CCER, ccen); in stm32_pwm_raw_capture() 586 regmap_update_bits(priv->regmap, TIM_CCER, pwm->hwpwm < 2 ? in stm32_pwm_capture() [all …]
|
/linux-6.14.4/drivers/counter/ |
D | stm32-timer-cnt.c | 437 if (!regmap_test_bits(priv->regmap, TIM_CCER, cc->ccer_bits)) in stm32_count_capture_configure() 441 regmap_set_bits(priv->regmap, TIM_CCER, cc->ccer_bits); in stm32_count_capture_configure() 443 regmap_clear_bits(priv->regmap, TIM_CCER, cc->ccer_bits); in stm32_count_capture_configure() 448 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_count_capture_configure() 663 regmap_read(priv->regmap, TIM_CCER, &ccer_backup); in stm32_timer_cnt_detect_channels() 664 regmap_set_bits(priv->regmap, TIM_CCER, TIM_CCER_CCXE); in stm32_timer_cnt_detect_channels() 665 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_cnt_detect_channels() 666 regmap_write(priv->regmap, TIM_CCER, ccer_backup); in stm32_timer_cnt_detect_channels()
|
/linux-6.14.4/include/linux/mfd/ |
D | stm32-timers.h | 23 #define TIM_CCER 0x20 /* Capt/Comp Enable Reg */ macro
|
/linux-6.14.4/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 152 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_start() 190 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_stop() 833 regmap_read(priv->regmap, TIM_CCER, &val); in stm32_timer_trigger_remove()
|