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()
405 int pwm_set_waveform_might_sleep(struct pwm_device *pwm, in pwm_set_waveform_might_sleep()
434 static void pwm_apply_debug(struct pwm_device *pwm, in pwm_apply_debug()
568 static int __pwm_apply(struct pwm_device *pwm, const struct pwm_state *state) in __pwm_apply()
677 int pwm_apply_might_sleep(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_might_sleep()
718 int pwm_apply_atomic(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_atomic()
745 int pwm_get_state_hw(struct pwm_device *pwm, struct pwm_state *state) in pwm_get_state_hw()
791 int pwm_adjust_config(struct pwm_device *pwm) in pwm_adjust_config()
847 static int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, in pwm_capture()
889 static int pwm_device_request(struct pwm_device *pwm, const char *label) in pwm_device_request()
962 struct pwm_device *pwm; in pwm_request_from_chip() local
982 struct pwm_device *pwm; in of_pwm_xlate_with_flags() local
1006 struct pwm_device *pwm; in of_pwm_single_xlate() local
1025 struct pwm_device *pwm; member
1051 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in period_show() local
1064 struct pwm_device *pwm = export->pwm; in period_store() local
1086 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in duty_cycle_show() local
1099 struct pwm_device *pwm = export->pwm; in duty_cycle_store() local
1121 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in enable_show() local
1134 struct pwm_device *pwm = export->pwm; in enable_store() local
1166 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in polarity_show() local
1190 struct pwm_device *pwm = export->pwm; in polarity_store() local
1215 struct pwm_device *pwm = pwm_from_dev(pwm_dev); in capture_show() local
1249 static int pwm_export_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_export_child()
1293 static int pwm_unexport_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_unexport_child()
1323 struct pwm_device *pwm; in export_store() local
1386 struct pwm_device *pwm, in pwm_class_get_state()
1409 struct pwm_device *pwm, in pwm_class_apply_state()
1427 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_resume_npwm() local
1458 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend() local
1512 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport() local
1567 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_alloc() local
1644 struct pwm_device *pwm) in pwm_device_link_add()
1706 struct pwm_device *pwm = NULL; in of_pwm_get() local
1786 struct pwm_device *pwm; in acpi_pwm_get() local
1839 struct pwm_device *pwm; in pwm_get() local
1947 void pwm_put(struct pwm_device *pwm) in pwm_put()
1979 static void devm_pwm_release(void *pwm) in devm_pwm_release()
1997 struct pwm_device *pwm; in devm_pwm_get() local
2028 struct pwm_device *pwm = ERR_PTR(-ENODEV); in devm_fwnode_pwm_get() local
2134 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_remove() local
2207 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show() local