Lines Matching defs:pwm
14 #include <linux/pwm.h>
50 static int ecap_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
85 if (!pwm_is_enabled(pwm)) {
99 if (!pwm_is_enabled(pwm)) {
111 static int ecap_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,
135 static int ecap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
154 static void ecap_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
171 static void ecap_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
173 if (pwm_is_enabled(pwm)) {
279 struct pwm_device *pwm = pc->chip.pwms;
284 if (pwm_is_enabled(pwm))
293 struct pwm_device *pwm = pc->chip.pwms;
296 if (pwm_is_enabled(pwm))