Lines Matching refs:stm32_pwm
29 struct stm32_pwm {
40 static inline struct stm32_pwm *to_stm32_pwm_dev(struct pwm_chip *chip)
45 static u32 active_channels(struct stm32_pwm *dev)
96 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
157 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
311 static int stm32_pwm_config(struct stm32_pwm *priv, unsigned int ch,
380 static int stm32_pwm_set_polarity(struct stm32_pwm *priv, unsigned int ch,
395 static int stm32_pwm_enable(struct stm32_pwm *priv, unsigned int ch)
420 static void stm32_pwm_disable(struct stm32_pwm *priv, unsigned int ch)
442 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
469 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
483 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
527 static int stm32_pwm_set_breakinput(struct stm32_pwm *priv,
549 static int stm32_pwm_apply_breakinputs(struct stm32_pwm *priv)
563 static int stm32_pwm_probe_breakinputs(struct stm32_pwm *priv,
599 static void stm32_pwm_detect_complementary(struct stm32_pwm *priv)
639 struct stm32_pwm *priv;
697 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);
719 struct stm32_pwm *priv = to_stm32_pwm_dev(chip);