Lines Matching defs:child
133 struct device_node *child;
135 for_each_child_of_node(dn, child) {
136 pnv_php_rmv_pdns(child);
138 pci_remove_device_node_info(child);
143 * Detach all child nodes of the indicated device nodes. The
181 php_slot->dn->child = NULL;
193 struct device_node *child, *next;
196 for_each_child_of_node(parent, child)
197 pnv_php_reverse_nodes(child);
199 /* Reverse the nodes in the child list */
200 child = parent->child;
201 parent->child = NULL;
202 while (child) {
203 next = child->sibling;
205 child->sibling = parent->child;
206 parent->child = child;
207 child = next;
214 struct device_node *child;
217 for_each_child_of_node(dn, child) {
218 ret = of_changeset_attach_node(ocs, child);
220 of_node_put(child);
224 ret = pnv_php_populate_changeset(ocs, child);
226 of_node_put(child);
299 php_slot->dn->child = NULL;
317 php_slot->dn->child = NULL;
517 /* Rescan for child hotpluggable slots */
585 /* Detach the child hotpluggable slots */
609 /* Remove from global or child list */
648 if (dn->child && PCI_DN(dn->child))
649 php_slot->slot_no = PCI_SLOT(PCI_DN(dn->child)->devfn);
690 /* Attach to the parent's child list or global list */
974 struct device_node *child;
978 * child slots.
980 for_each_child_of_node(dn, child) {
981 pnv_php_register_one(child);
982 pnv_php_register(child);
1002 struct device_node *child;
1004 /* The child slots should go before their parent slots */
1005 for_each_child_of_node(dn, child) {
1006 pnv_php_unregister(child);
1007 pnv_php_unregister_one(child);