Lines Matching refs:pwm_device
19 struct pwm_device *pwm;
29 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device()
40 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show()
53 struct pwm_device *pwm = export->pwm; in period_store()
75 const struct pwm_device *pwm = child_to_pwm_device(child); in duty_cycle_show()
88 struct pwm_device *pwm = export->pwm; in duty_cycle_store()
110 const struct pwm_device *pwm = child_to_pwm_device(child); in enable_show()
123 struct pwm_device *pwm = export->pwm; in enable_store()
158 const struct pwm_device *pwm = child_to_pwm_device(child); in polarity_show()
182 struct pwm_device *pwm = export->pwm; in polarity_store()
207 struct pwm_device *pwm = child_to_pwm_device(child); in capture_show()
241 static int pwm_export_child(struct device *parent, struct pwm_device *pwm) in pwm_export_child()
285 static int pwm_unexport_child(struct device *parent, struct pwm_device *pwm) in pwm_unexport_child()
315 struct pwm_device *pwm; in export_store()
378 struct pwm_device *pwm, in pwm_class_get_state()
401 struct pwm_device *pwm, in pwm_class_apply_state()
419 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_resume_npwm()
443 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend()
515 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport()