Searched refs:bdtr (Results 1 – 1 of 1) sorted by relevance
714 u32 bdtr; in stm32_pwm_set_breakinput() local716 bdtr = (bi->filter & TIM_BDTR_BKF_MASK) << shift | bke; in stm32_pwm_set_breakinput()719 bdtr |= bkp; in stm32_pwm_set_breakinput()721 regmap_update_bits(priv->regmap, TIM_BDTR, mask, bdtr); in stm32_pwm_set_breakinput()723 regmap_read(priv->regmap, TIM_BDTR, &bdtr); in stm32_pwm_set_breakinput()725 return (bdtr & bke) ? 0 : -EINVAL; in stm32_pwm_set_breakinput()