Lines Matching defs:child
168 struct device_node *np = pdev->dev.of_node, *child;
177 for_each_available_child_of_node(np, child)
178 if (of_get_gpio(child, 0) == -EPROBE_DEFER)
186 for_each_available_child_of_node(np, child) {
191 led.gpio = of_get_gpio_flags(child, 0, &flags);
193 led.name = of_get_property(child, "label", NULL) ? : child->name;
195 of_get_property(child, "linux,default-trigger", NULL);
196 state = of_get_property(child, "default-state", NULL);
206 if (of_get_property(child, "retain-state-suspended", NULL))
212 of_node_put(child);