Lines Matching refs:pwm_device

34 static void pwm_apply_debug(struct pwm_device *pwm,  in pwm_apply_debug()
164 static int __pwm_apply(struct pwm_device *pwm, const struct pwm_state *state) in __pwm_apply()
220 int pwm_apply_might_sleep(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_might_sleep()
255 int pwm_apply_atomic(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_atomic()
272 int pwm_adjust_config(struct pwm_device *pwm) in pwm_adjust_config()
328 static int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, in pwm_capture()
362 static int pwm_device_request(struct pwm_device *pwm, const char *label) in pwm_device_request()
425 static struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, in pwm_request_from_chip()
429 struct pwm_device *pwm; in pwm_request_from_chip()
446 struct pwm_device *
449 struct pwm_device *pwm; in of_pwm_xlate_with_flags()
470 struct pwm_device *
473 struct pwm_device *pwm; in of_pwm_single_xlate()
492 struct pwm_device *pwm;
507 static inline struct pwm_device *pwm_from_dev(struct device *pwm_dev) in pwm_from_dev()
518 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in period_show()
531 struct pwm_device *pwm = export->pwm; in period_store()
553 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in duty_cycle_show()
566 struct pwm_device *pwm = export->pwm; in duty_cycle_store()
588 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in enable_show()
601 struct pwm_device *pwm = export->pwm; in enable_store()
633 const struct pwm_device *pwm = pwm_from_dev(pwm_dev); in polarity_show()
657 struct pwm_device *pwm = export->pwm; in polarity_store()
682 struct pwm_device *pwm = pwm_from_dev(pwm_dev); in capture_show()
716 static int pwm_export_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_export_child()
760 static int pwm_unexport_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_unexport_child()
790 struct pwm_device *pwm; in export_store()
853 struct pwm_device *pwm, in pwm_class_get_state()
876 struct pwm_device *pwm, in pwm_class_apply_state()
894 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_resume_npwm()
925 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend()
979 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport()
1033 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_alloc()
1197 struct pwm_device *pwm) in pwm_device_link_add()
1256 static struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np, in of_pwm_get()
1259 struct pwm_device *pwm = NULL; in of_pwm_get()
1337 static struct pwm_device *acpi_pwm_get(const struct fwnode_handle *fwnode) in acpi_pwm_get()
1339 struct pwm_device *pwm; in acpi_pwm_get()
1418 struct pwm_device *pwm_get(struct device *dev, const char *con_id) in pwm_get()
1422 struct pwm_device *pwm; in pwm_get()
1530 void pwm_put(struct pwm_device *pwm) in pwm_put()
1573 struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id) in devm_pwm_get()
1575 struct pwm_device *pwm; in devm_pwm_get()
1602 struct pwm_device *devm_fwnode_pwm_get(struct device *dev, in devm_fwnode_pwm_get()
1606 struct pwm_device *pwm = ERR_PTR(-ENODEV); in devm_fwnode_pwm_get()
1629 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show()