Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-stm32.c29 struct stm32_pwm { struct
41 static inline struct stm32_pwm *to_stm32_pwm_dev(struct pwm_chip *chip) in to_stm32_pwm_dev() argument
43 return container_of(chip, struct stm32_pwm, chip); in to_stm32_pwm_dev()
46 static u32 active_channels(struct stm32_pwm *dev) in active_channels()
55 static int write_ccrx(struct stm32_pwm *dev, int ch, u32 value) in write_ccrx()
108 static int stm32_pwm_raw_capture(struct stm32_pwm *priv, struct pwm_device *pwm, in stm32_pwm_raw_capture()
172 struct stm32_pwm *priv = to_stm32_pwm_dev(chip); in stm32_pwm_capture()
326 static int stm32_pwm_config(struct stm32_pwm *priv, int ch, in stm32_pwm_config()
392 static int stm32_pwm_set_polarity(struct stm32_pwm *priv, int ch, in stm32_pwm_set_polarity()
407 static int stm32_pwm_enable(struct stm32_pwm *priv, int ch) in stm32_pwm_enable()
[all …]