Lines Matching defs:parent
16 struct device *parent, struct device **child)
58 struct device *parent, struct device **child)
64 if (!parent)
69 *child = device_find_child(parent, &devfn, match_pci_dev);
79 * Each parser takes a pointer to the @node and to the @parent (will be NULL
81 * found below @parent, its reference count should be incremented and the
94 struct device *parent, struct device **child)
101 if (!parent)
104 *child = get_device(parent);
147 struct device *parent = NULL, *child;
158 ret = parse_acpi_path(*node, parent, &child);
161 ret = parse_pci_path(*node, parent, &child);
164 ret = parse_end_path(*node, parent, &child);
168 put_device(parent);
172 parent = child;