Lines Matching defs:pwm

163 static int __pwm_round_waveform_tohw(struct pwm_chip *chip, struct pwm_device *pwm,  in __pwm_round_waveform_tohw()
175 static int __pwm_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm, in __pwm_round_waveform_fromhw()
187 static int __pwm_read_waveform(struct pwm_chip *chip, struct pwm_device *pwm, void *wfhw) in __pwm_read_waveform()
198 static int __pwm_write_waveform(struct pwm_chip *chip, struct pwm_device *pwm, const void *wfhw) in __pwm_write_waveform()
235 int pwm_round_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf) in pwm_round_waveform_might_sleep()
291 int pwm_get_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf) in pwm_get_waveform_might_sleep()
317 static int __pwm_set_waveform(struct pwm_device *pwm, in __pwm_set_waveform()
406 int pwm_set_waveform_might_sleep(struct pwm_device *pwm, in pwm_set_waveform_might_sleep()
435 static void pwm_apply_debug(struct pwm_device *pwm, in pwm_apply_debug()
569 static int __pwm_apply(struct pwm_device *pwm, const struct pwm_state *state) in __pwm_apply()
678 int pwm_apply_might_sleep(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_might_sleep()
719 int pwm_apply_atomic(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_atomic()
746 int pwm_get_state_hw(struct pwm_device *pwm, struct pwm_state *state) in pwm_get_state_hw()
792 int pwm_adjust_config(struct pwm_device *pwm) in pwm_adjust_config()
848 static int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, in pwm_capture()
890 static int pwm_device_request(struct pwm_device *pwm, const char *label) in pwm_device_request()
963 struct pwm_device *pwm; in pwm_request_from_chip() local
983 struct pwm_device *pwm; in of_pwm_xlate_with_flags() local
1020 struct pwm_device *pwm; in of_pwm_single_xlate() local
1042 struct pwm_device *pwm; member
1068 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in period_show() local
1081 struct pwm_device *pwm = export->pwm; in period_store() local
1103 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in duty_cycle_show() local
1116 struct pwm_device *pwm = export->pwm; in duty_cycle_store() local
1138 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in enable_show() local
1151 struct pwm_device *pwm = export->pwm; in enable_store() local
1183 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in polarity_show() local
1207 struct pwm_device *pwm = export->pwm; in polarity_store() local
1232 struct pwm_device *pwm = pwm_from_dev(pwm_dev); in capture_show() local
1266 static int pwm_export_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_export_child()
1310 static int pwm_unexport_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_unexport_child()
1340 struct pwm_device *pwm; in export_store() local
1403 struct pwm_device *pwm, in pwm_class_get_state()
1426 struct pwm_device *pwm, in pwm_class_apply_state()
1444 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_resume_npwm() local
1475 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend() local
1529 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport() local
1584 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_alloc() local
1661 struct pwm_device *pwm) in pwm_device_link_add()
1723 struct pwm_device *pwm = NULL; in of_pwm_get() local
1802 struct pwm_device *pwm; in acpi_pwm_get() local
1855 struct pwm_device *pwm; in pwm_get() local
1963 void pwm_put(struct pwm_device *pwm) in pwm_put()
1995 static void devm_pwm_release(void *pwm) in devm_pwm_release()
2013 struct pwm_device *pwm; in devm_pwm_get() local
2044 struct pwm_device *pwm = ERR_PTR(-ENODEV); in devm_fwnode_pwm_get() local
2150 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_remove() local
2223 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show() local