Searched refs:ccer (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/pwm/ |
H A D | pwm-stm32.c | 47 u32 ccer; in active_channels() local 49 regmap_read(dev->regmap, TIM_CCER, &ccer); in active_channels() 51 return ccer & TIM_CCER_CCXE; in active_channels() 55 u32 ccer; member 75 .ccer = 0, in stm32_pwm_round_waveform_tohw() 85 wfhw->ccer = TIM_CCER_CCxE(ch + 1); in stm32_pwm_round_waveform_tohw() 87 wfhw->ccer |= TIM_CCER_CCxNE(ch + 1); in stm32_pwm_round_waveform_tohw() 178 wfhw->ccer |= TIM_CCER_CCxP(ch + 1); in stm32_pwm_round_waveform_tohw() 180 wfhw->ccer |= TIM_CCER_CCxNP(ch + 1); in stm32_pwm_round_waveform_tohw() 191 rate, wfhw->ccer, wfhw->psc, wfhw->arr, wfhw->ccr); in stm32_pwm_round_waveform_tohw() [all …]
|
/linux/drivers/counter/ |
H A D | stm32-timer-cnt.c | 422 u32 ccmr, ccer; in stm32_count_capture_configure() local 448 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_count_capture_configure() 450 ch, ccmr, ccer); in stm32_count_capture_configure() 661 u32 ccer, ccer_backup; in stm32_timer_cnt_detect_channels() local 665 regmap_read(priv->regmap, TIM_CCER, &ccer); in stm32_timer_cnt_detect_channels() 667 priv->nchannels = hweight32(ccer & TIM_CCER_CCXE); in stm32_timer_cnt_detect_channels()
|