Lines Matching refs:pwm_device
28 struct pwm_device *pwm;
37 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device()
48 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show()
61 struct pwm_device *pwm = export->pwm; in period_store()
83 const struct pwm_device *pwm = child_to_pwm_device(child); in duty_cycle_show()
96 struct pwm_device *pwm = export->pwm; in duty_cycle_store()
118 const struct pwm_device *pwm = child_to_pwm_device(child); in enable_show()
131 struct pwm_device *pwm = export->pwm; in enable_store()
166 const struct pwm_device *pwm = child_to_pwm_device(child); in polarity_show()
190 struct pwm_device *pwm = export->pwm; in polarity_store()
215 struct pwm_device *pwm = child_to_pwm_device(child); in capture_show()
249 static int pwm_export_child(struct device *parent, struct pwm_device *pwm) in pwm_export_child()
289 static int pwm_unexport_child(struct device *parent, struct pwm_device *pwm) in pwm_unexport_child()
313 struct pwm_device *pwm; in export_store()
425 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport_children()