Lines Matching defs:handle

66 static bool acpi_extract_properties(acpi_handle handle,
71 acpi_handle handle,
89 result = acpi_extract_properties(handle, desc, &dn->data);
91 if (handle) {
101 status = acpi_get_parent(handle, &scope);
112 dn->handle = handle;
119 acpi_handle_debug(handle, "Invalid properties/subnodes data, skipping\n");
123 static bool acpi_nondev_subnode_data_ok(acpi_handle handle,
131 status = acpi_evaluate_object_typed(handle, NULL, NULL, &buf,
136 if (acpi_nondev_subnode_extract(buf.pointer, handle, link, list,
149 acpi_handle handle;
156 &handle);
160 return acpi_nondev_subnode_data_ok(handle, link, list, parent);
173 acpi_handle handle;
192 handle = link->package.elements[1].reference.handle;
193 result = acpi_nondev_subnode_data_ok(handle, link, list,
351 static void acpi_nondev_subnode_tag(acpi_handle handle, void *context)
360 acpi_detach_data(dn->handle, acpi_nondev_subnode_tag);
374 status = acpi_attach_data(dn->handle, acpi_nondev_subnode_tag, dn);
376 acpi_handle_err(dn->handle, "Can't tag data node\n");
388 static void acpi_data_add_buffer_props(acpi_handle handle,
403 acpi_handle_warn(handle,
435 acpi_handle_warn(handle,
446 acpi_handle_warn(handle,
452 status = acpi_evaluate_object_typed(handle, obj->string.pointer,
456 acpi_handle_warn(handle,
543 if (!adev->handle)
557 status = acpi_evaluate_object_typed(adev->handle, "_DSD", NULL, &buf,
562 if (acpi_extract_properties(adev->handle, buf.pointer, &adev->data)) {
567 if (acpi_enumerate_nondev_subnodes(adev->handle, buf.pointer,
572 acpi_handle_debug(adev->handle, "Invalid _DSD data, skipping\n");
581 acpi_handle_info(adev->handle,
848 * __acpi_node_get_property_reference - returns handle to the referenced object
907 device = acpi_fetch_acpi_dev(obj->reference.handle);
941 device = acpi_fetch_acpi_dev(element->reference.handle);
1192 * acpi_get_next_subnode - Return the next child node handle for a fwnode
1194 * @child: Handle to one of the device's child nodes or a null handle.