Lines Matching refs:pwm_device

85 static int pwm_device_request(struct pwm_device *pwm, const char *label)  in pwm_device_request()
129 struct pwm_device *
132 struct pwm_device *pwm; in of_pwm_xlate_with_flags()
160 struct pwm_device *
163 struct pwm_device *pwm; in of_pwm_single_xlate()
218 int pwm_set_chip_data(struct pwm_device *pwm, void *data) in pwm_set_chip_data()
235 void *pwm_get_chip_data(struct pwm_device *pwm) in pwm_get_chip_data()
265 struct pwm_device *pwm; in pwmchip_add()
363 struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, in pwm_request_from_chip()
367 struct pwm_device *pwm; in pwm_request_from_chip()
385 static void pwm_apply_state_debug(struct pwm_device *pwm, in pwm_apply_state_debug()
496 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state()
548 int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, in pwm_capture()
575 int pwm_adjust_config(struct pwm_device *pwm) in pwm_adjust_config()
641 struct pwm_device *pwm) in pwm_device_link_add()
686 static struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np, in of_pwm_get()
689 struct pwm_device *pwm = NULL; in of_pwm_get()
767 static struct pwm_device *acpi_pwm_get(const struct fwnode_handle *fwnode) in acpi_pwm_get()
769 struct pwm_device *pwm; in acpi_pwm_get()
849 struct pwm_device *pwm_get(struct device *dev, const char *con_id) in pwm_get()
853 struct pwm_device *pwm; in pwm_get()
964 void pwm_put(struct pwm_device *pwm) in pwm_put()
1004 struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id) in devm_pwm_get()
1006 struct pwm_device *pwm; in devm_pwm_get()
1033 struct pwm_device *devm_fwnode_pwm_get(struct device *dev, in devm_fwnode_pwm_get()
1037 struct pwm_device *pwm = ERR_PTR(-ENODEV); in devm_fwnode_pwm_get()
1061 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show()