Lines Matching refs:parent
65 dev = dev->parent; in next_dev()
232 dev = dev->parent; in find_pa_parent_type()
245 dev = dev->parent; in get_node_path()
274 get_node_path(dev->parent, &path); in print_pa_hwpath()
299 for (bus = dev->bus; bus->parent; bus = bus->parent) { in get_pci_node_path()
307 padev = padev->parent; in get_pci_node_path()
330 struct parisc_device * create_tree_node(char id, struct parisc_device *parent, in create_tree_node() argument
339 dev->parent = parent; in create_tree_node()
354 alloc_tree_node(struct parisc_device *parent, char id) in alloc_tree_node() argument
357 if ((!parent->child) || (parent->child->hw_path > id)) { in alloc_tree_node()
358 return create_tree_node(id, parent, &parent->child); in alloc_tree_node()
361 prev = parent->child; in alloc_tree_node()
372 return create_tree_node(id, parent, &prev->sibling); in alloc_tree_node()
378 struct parisc_device *parent = &root; in find_parisc_device() local
382 parent = alloc_tree_node(parent, modpath->bc[i]); in find_parisc_device()
384 return alloc_tree_node(parent, modpath->mod); in find_parisc_device()
484 struct parisc_device *parent);
517 struct parisc_device *parent) in walk_native_bus() argument
523 get_node_path(parent, &path); in walk_native_bus()
559 void fixup_child_irqs(struct parisc_device *parent, int base, in fixup_child_irqs() argument
564 if (!parent->child) in fixup_child_irqs()
567 for (dev = check_dev(parent->child); dev; dev = dev->sibling) { in fixup_child_irqs()
597 void print_subdevices(struct parisc_device *parent) in print_subdevices() argument
600 for (dev = parent->child; dev != parent->sibling; dev = next_dev(dev)) { in print_subdevices()