Lines Matching refs:handle
69 static int acpi_find_bridge_device(struct device *dev, acpi_handle * handle) in acpi_find_bridge_device() argument
76 if (tmp->find_bridge && !tmp->find_bridge(dev, handle)) { in acpi_find_bridge_device()
87 acpi_handle handle; member
92 do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv) in do_acpi_find_child() argument
99 status = acpi_get_object_info(handle, &buffer); in do_acpi_find_child()
103 find->handle = handle; in do_acpi_find_child()
117 return find.handle; in acpi_get_child()
123 static void acpi_glue_data_handler(acpi_handle handle, in acpi_glue_data_handler() argument
130 struct device *acpi_get_physical_device(acpi_handle handle) in acpi_get_physical_device() argument
135 status = acpi_get_data(handle, acpi_glue_data_handler, (void **)&dev); in acpi_get_physical_device()
150 struct device *acpi_get_physical_pci_device(acpi_handle handle) in acpi_get_physical_pci_device() argument
157 acpi_evaluate_integer(handle, "_ADR", NULL, &device_id); in acpi_get_physical_pci_device()
168 dev = acpi_get_physical_device(handle); in acpi_get_physical_pci_device()
173 if (acpi_get_parent(handle, &phandle)) in acpi_get_physical_pci_device()
183 static int acpi_bind_one(struct device *dev, acpi_handle handle) in acpi_bind_one() argument
193 status = acpi_attach_data(handle, acpi_glue_data_handler, dev); in acpi_bind_one()
198 dev->archdata.acpi_handle = handle; in acpi_bind_one()
200 status = acpi_bus_get_device(handle, &acpi_dev); in acpi_bind_one()
248 acpi_handle handle; in acpi_platform_notify() local
253 ret = acpi_find_bridge_device(dev, &handle); in acpi_platform_notify()
262 if ((ret = type->find_device(dev, &handle)) != 0) in acpi_platform_notify()
266 acpi_bind_one(dev, handle); in acpi_platform_notify()