Lines Matching defs:pwm

35 static struct pwm_device *pwm_to_device(unsigned int pwm)  in pwm_to_device()
40 static int alloc_pwms(int pwm, unsigned int count) in alloc_pwms()
68 struct pwm_device *pwm = &chip->pwms[i]; in free_pwms() local
102 static int pwm_device_request(struct pwm_device *pwm, const char *label) in pwm_device_request()
137 struct pwm_device *pwm; in of_pwm_xlate_with_flags() local
167 struct pwm_device *pwm; in of_pwm_simple_xlate() local
215 int pwm_set_chip_data(struct pwm_device *pwm, void *data) in pwm_set_chip_data()
232 void *pwm_get_chip_data(struct pwm_device *pwm) in pwm_get_chip_data()
276 struct pwm_device *pwm; in pwmchip_add_with_polarity() local
366 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_remove() local
397 struct pwm_device *pwm_request(int pwm, const char *label) in pwm_request()
438 struct pwm_device *pwm; in pwm_request_from_chip() local
462 void pwm_free(struct pwm_device *pwm) in pwm_free()
468 static void pwm_apply_state_debug(struct pwm_device *pwm, in pwm_apply_state_debug()
574 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state()
671 int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, in pwm_capture()
698 int pwm_adjust_config(struct pwm_device *pwm) in pwm_adjust_config()
764 struct pwm_device *pwm) in pwm_device_link_add()
812 struct pwm_device *pwm = NULL; in of_pwm_get() local
915 struct pwm_device *pwm = ERR_PTR(-ENODEV); in acpi_pwm_get() local
1005 struct pwm_device *pwm; in pwm_get() local
1116 void pwm_put(struct pwm_device *pwm) in pwm_put()
1158 struct pwm_device **ptr, *pwm; in devm_pwm_get() local
1191 struct pwm_device **ptr, *pwm; in devm_of_pwm_get() local
1225 struct pwm_device **ptr, *pwm = ERR_PTR(-ENODEV); in devm_fwnode_pwm_get() local
1266 void devm_pwm_put(struct device *dev, struct pwm_device *pwm) in devm_pwm_put()
1278 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show() local