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