Lines Matching refs:con_id
738 const char *con_id) in of_pwm_get() argument
747 if (con_id) { in of_pwm_get()
748 index = of_property_match_string(np, "pwm-names", con_id); in of_pwm_get()
786 if (!con_id) { in of_pwm_get()
788 &con_id); in of_pwm_get()
790 con_id = np->name; in of_pwm_get()
793 pwm->label = con_id; in of_pwm_get()
900 struct pwm_device *pwm_get(struct device *dev, const char *con_id) in pwm_get() argument
914 return of_pwm_get(dev, to_of_node(fwnode), con_id); in pwm_get()
955 if (p->con_id) { in pwm_get()
956 if (!con_id || strcmp(p->con_id, con_id)) in pwm_get()
994 pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); in pwm_get()
1055 struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id) in devm_pwm_get() argument
1060 pwm = pwm_get(dev, con_id); in devm_pwm_get()
1086 const char *con_id) in devm_fwnode_pwm_get() argument
1092 pwm = of_pwm_get(dev, to_of_node(fwnode), con_id); in devm_fwnode_pwm_get()