Lines Matching refs:child
35 struct device *parent, struct device **child)
50 *child = bus_find_device(&acpi_bus_type, NULL, &hid_uid,
52 if (!*child)
55 phys_dev = acpi_get_first_physical_node(to_acpi_device(*child));
58 put_device(*child);
59 *child = phys_dev;
73 struct device *parent, struct device **child)
84 *child = device_find_child(parent, &devfn, match_pci_dev);
85 if (!*child)
97 * device returned in @child.
109 struct device *parent, struct device **child)
119 *child = get_device(parent);
162 struct device *parent = NULL, *child;
173 ret = parse_acpi_path(*node, parent, &child);
176 ret = parse_pci_path(*node, parent, &child);
179 ret = parse_end_path(*node, parent, &child);
187 parent = child;
195 return child;