Lines Matching refs:node

75 	struct acpi_namespace_node      *node,  in acpi_ns_attach_object()  argument
90 if (!node) { in acpi_ns_attach_object()
104 if (ACPI_GET_DESCRIPTOR_TYPE (node) != ACPI_DESC_TYPE_NAMED) { in acpi_ns_attach_object()
108 node, acpi_ut_get_descriptor_name (node))); in acpi_ns_attach_object()
114 if (node->object == object) { in acpi_ns_attach_object()
116 object, node)); in acpi_ns_attach_object()
155 obj_desc, node, acpi_ut_get_node_name (node))); in acpi_ns_attach_object()
159 if (node->object) { in acpi_ns_attach_object()
160 acpi_ns_detach_object (node); in acpi_ns_attach_object()
181 last_obj_desc->common.next_object = node->object; in acpi_ns_attach_object()
184 node->type = (u8) object_type; in acpi_ns_attach_object()
185 node->object = obj_desc; in acpi_ns_attach_object()
207 struct acpi_namespace_node *node) in acpi_ns_detach_object() argument
215 obj_desc = node->object; in acpi_ns_detach_object()
224 node->object = NULL; in acpi_ns_detach_object()
226 node->object = obj_desc->common.next_object; in acpi_ns_detach_object()
227 if (node->object && in acpi_ns_detach_object()
228 (ACPI_GET_OBJECT_TYPE (node->object) != ACPI_TYPE_LOCAL_DATA)) { in acpi_ns_detach_object()
229 node->object = node->object->common.next_object; in acpi_ns_detach_object()
235 node->type = ACPI_TYPE_ANY; in acpi_ns_detach_object()
238 node, acpi_ut_get_node_name (node), obj_desc)); in acpi_ns_detach_object()
262 struct acpi_namespace_node *node) in acpi_ns_get_attached_object() argument
264 ACPI_FUNCTION_TRACE_PTR ("ns_get_attached_object", node); in acpi_ns_get_attached_object()
267 if (!node) { in acpi_ns_get_attached_object()
272 if (!node->object || in acpi_ns_get_attached_object()
273 ((ACPI_GET_DESCRIPTOR_TYPE (node->object) != ACPI_DESC_TYPE_OPERAND) && in acpi_ns_get_attached_object()
274 (ACPI_GET_DESCRIPTOR_TYPE (node->object) != ACPI_DESC_TYPE_NAMED)) || in acpi_ns_get_attached_object()
275 (ACPI_GET_OBJECT_TYPE (node->object) == ACPI_TYPE_LOCAL_DATA)) { in acpi_ns_get_attached_object()
279 return_PTR (node->object); in acpi_ns_get_attached_object()
330 struct acpi_namespace_node *node, in acpi_ns_attach_data() argument
342 obj_desc = node->object; in acpi_ns_attach_data()
369 node->object = data_desc; in acpi_ns_attach_data()
392 struct acpi_namespace_node *node, in acpi_ns_detach_data() argument
400 obj_desc = node->object; in acpi_ns_detach_data()
408 node->object = obj_desc->common.next_object; in acpi_ns_detach_data()
440 struct acpi_namespace_node *node, in acpi_ns_get_attached_data() argument
447 obj_desc = node->object; in acpi_ns_get_attached_data()