Lines Matching defs:child
82 struct device_node *child;
87 for_each_child_of_node(np, child)
88 if (of_property_present(child, "reg"))
101 * @hub has a child device has with a 'reg' property equal to @port1 the
102 * connect_type is "hard-wired". If there isn't an OF graph or child node at
110 struct device_node *np, *child, *ep, *remote_np;
117 /* Assume port is unused if there's a graph or a child node. */
137 * Hard-wired ports are child nodes with a reg property corresponding
140 child = usb_of_get_device_node(hub, port1);
141 if (of_device_is_available(child))
143 of_node_put(child);