Lines Matching refs:child
16 struct device *parent, struct device **child) in parse_acpi_path() argument
42 *child = get_device(phys_dev); in parse_acpi_path()
45 *child = &adev->dev; in parse_acpi_path()
58 struct device *parent, struct device **child) in parse_pci_path() argument
69 *child = device_find_child(parent, &devfn, match_pci_dev); in parse_pci_path()
70 if (!*child) in parse_pci_path()
94 struct device *parent, struct device **child) in parse_end_path() argument
104 *child = get_device(parent); in parse_end_path()
147 struct device *parent = NULL, *child; in efi_get_device_by_path() local
158 ret = parse_acpi_path(*node, parent, &child); in efi_get_device_by_path()
161 ret = parse_pci_path(*node, parent, &child); in efi_get_device_by_path()
164 ret = parse_end_path(*node, parent, &child); in efi_get_device_by_path()
172 parent = child; in efi_get_device_by_path()
180 return child; in efi_get_device_by_path()