Lines Matching defs:pwm_device
29 struct pwm_device {
81 static inline int pwm_is_tdiv(struct pwm_device *pwm)
89 struct pwm_device *pwm_request(int pwm_id, const char *label)
91 struct pwm_device *pwm;
119 void pwm_free(struct pwm_device *pwm)
139 int pwm_enable(struct pwm_device *pwm)
158 void pwm_disable(struct pwm_device *pwm)
176 static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq)
194 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
283 static int pwm_register(struct pwm_device *pwm)
298 struct pwm_device *pwm;
309 pwm = kzalloc(sizeof(struct pwm_device), GFP_KERNEL);
311 dev_err(dev, "failed to allocate pwm_device\n");
374 struct pwm_device *pwm = platform_get_drvdata(pdev);
386 struct pwm_device *pwm = platform_get_drvdata(pdev);
400 struct pwm_device *pwm = platform_get_drvdata(pdev);