Lines Matching defs:pwm
8 #include <linux/pwm.h>
15 #define DRIVER_NAME "pwm-ir-tx"
19 struct pwm_device *pwm;
25 { .compatible = "pwm-ir-tx", },
55 struct pwm_device *pwm = pwm_ir->pwm;
63 pwm_config(pwm, duty, period);
69 pwm_disable(pwm);
71 pwm_enable(pwm);
79 pwm_disable(pwm);
94 pwm_ir->pwm = devm_pwm_get(&pdev->dev, NULL);
95 if (IS_ERR(pwm_ir->pwm))
96 return PTR_ERR(pwm_ir->pwm);