Home
last modified time | relevance | path

Searched refs:stm32_pwm (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/pwm/
Dpwm-stm32.c22 struct stm32_pwm { struct
38 static inline struct stm32_pwm *to_stm32_pwm_dev(struct pwm_chip *chip) in to_stm32_pwm_dev() argument
40 return container_of(chip, struct stm32_pwm, chip); in to_stm32_pwm_dev()
43 static u32 active_channels(struct stm32_pwm *dev) in active_channels()
52 static int write_ccrx(struct stm32_pwm *dev, int ch, u32 value) in write_ccrx()
105 static int stm32_pwm_raw_capture(struct stm32_pwm *priv, struct pwm_device *pwm, in stm32_pwm_raw_capture()
169 struct stm32_pwm *priv = to_stm32_pwm_dev(chip); in stm32_pwm_capture()
319 static int stm32_pwm_config(struct stm32_pwm *priv, int ch, in stm32_pwm_config()
384 static int stm32_pwm_set_polarity(struct stm32_pwm *priv, int ch, in stm32_pwm_set_polarity()
399 static int stm32_pwm_enable(struct stm32_pwm *priv, int ch) in stm32_pwm_enable()
[all …]