Lines Matching defs:parent
16 struct device *parent, struct device **child)
61 struct device *parent, struct device **child)
67 if (!parent)
72 *child = device_find_child(parent, &devfn, match_pci_dev);
82 * Each parser takes a pointer to the @node and to the @parent (will be NULL
84 * found below @parent, its reference count should be incremented and the
97 struct device *parent, struct device **child)
104 if (!parent)
107 *child = get_device(parent);
150 struct device *parent = NULL, *child;
161 ret = parse_acpi_path(*node, parent, &child);
164 ret = parse_pci_path(*node, parent, &child);
167 ret = parse_end_path(*node, parent, &child);
171 put_device(parent);
175 parent = child;