Lines Matching defs:pwm
19 struct pwm_device *pwm; member
40 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() local
53 struct pwm_device *pwm = export->pwm; in period_store() local
75 const struct pwm_device *pwm = child_to_pwm_device(child); in duty_cycle_show() local
88 struct pwm_device *pwm = export->pwm; in duty_cycle_store() local
110 const struct pwm_device *pwm = child_to_pwm_device(child); in enable_show() local
123 struct pwm_device *pwm = export->pwm; in enable_store() local
158 const struct pwm_device *pwm = child_to_pwm_device(child); in polarity_show() local
182 struct pwm_device *pwm = export->pwm; in polarity_store() local
207 struct pwm_device *pwm = child_to_pwm_device(child); in capture_show() local
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() local
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() local
443 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend() local
515 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport() local