Lines Matching defs:fwnode
894 * @fwnode: firmware node to get the "pwm" property from
896 * Returns the PWM device parsed from the fwnode and index specified in the
909 static struct pwm_device *acpi_pwm_get(struct fwnode_handle *fwnode)
920 ret = __acpi_node_get_property_reference(fwnode, "pwms", 0, 3, &args);
924 acpi = to_acpi_device_node(args.fwnode);
1014 if (dev && is_acpi_node(dev->fwnode)) {
1015 pwm = acpi_pwm_get(dev->fwnode);
1208 * @fwnode: firmware node to get the PWM from
1218 struct fwnode_handle *fwnode,
1227 if (is_of_node(fwnode))
1228 pwm = of_pwm_get(dev, to_of_node(fwnode), con_id);
1229 else if (is_acpi_node(fwnode))
1230 pwm = acpi_pwm_get(fwnode);