Lines Matching refs:node
27 acpi_dm_test_resource_conversion(struct acpi_namespace_node *node, char *name);
55 struct acpi_namespace_node *node; in acpi_db_convert_to_node() local
63 node = ACPI_TO_POINTER(address); in acpi_db_convert_to_node()
64 if (!acpi_os_readable(node, sizeof(struct acpi_namespace_node))) { in acpi_db_convert_to_node()
65 acpi_os_printf("Address %p is invalid", node); in acpi_db_convert_to_node()
71 if (ACPI_GET_DESCRIPTOR_TYPE(node) != ACPI_DESC_TYPE_NAMED) { in acpi_db_convert_to_node()
74 node, acpi_ut_get_descriptor_name(node)); in acpi_db_convert_to_node()
82 node = acpi_db_local_ns_lookup(in_string); in acpi_db_convert_to_node()
83 if (!node) { in acpi_db_convert_to_node()
87 node = acpi_gbl_root_node; in acpi_db_convert_to_node()
91 return (node); in acpi_db_convert_to_node()
337 struct acpi_namespace_node *node; in acpi_db_unload_acpi_table() local
342 node = acpi_db_convert_to_node(object_name); in acpi_db_unload_acpi_table()
343 if (!node) { in acpi_db_unload_acpi_table()
347 status = acpi_unload_parent_table(ACPI_CAST_PTR(acpi_handle, node)); in acpi_db_unload_acpi_table()
350 object_name, node); in acpi_db_unload_acpi_table()
373 struct acpi_namespace_node *node; in acpi_db_send_notify() local
378 node = acpi_db_convert_to_node(name); in acpi_db_send_notify()
379 if (!node) { in acpi_db_send_notify()
385 if (acpi_ev_is_notify_object(node)) { in acpi_db_send_notify()
386 status = acpi_ev_queue_notify_request(node, value); in acpi_db_send_notify()
393 acpi_ut_get_node_name(node), in acpi_db_send_notify()
394 acpi_ut_get_type_name(node->type)); in acpi_db_send_notify()
493 struct acpi_namespace_node *node; in acpi_db_display_template() local
499 node = acpi_db_convert_to_node(buffer_arg); in acpi_db_display_template()
500 if (!node || (node == acpi_gbl_root_node)) { in acpi_db_display_template()
507 if (node->type != ACPI_TYPE_BUFFER) { in acpi_db_display_template()
519 status = acpi_rs_create_resource_list(node->object, &return_buffer); in acpi_db_display_template()
538 acpi_ut_debug_dump_buffer((u8 *)node->object->buffer.pointer, in acpi_db_display_template()
539 node->object->buffer.length, in acpi_db_display_template()
659 acpi_dm_test_resource_conversion(struct acpi_namespace_node *node, char *name) in acpi_dm_test_resource_conversion() argument
675 status = acpi_evaluate_object(node, name, NULL, &return_buffer); in acpi_dm_test_resource_conversion()
684 status = acpi_get_current_resources(node, &resource_buffer); in acpi_dm_test_resource_conversion()
755 struct acpi_namespace_node *node; in acpi_db_device_resources() local
764 node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle); in acpi_db_device_resources()
765 parent_path = acpi_ns_get_normalized_pathname(node, TRUE); in acpi_db_device_resources()
772 (void)acpi_get_handle(node, METHOD_NAME__PRT, in acpi_db_device_resources()
774 (void)acpi_get_handle(node, METHOD_NAME__CRS, in acpi_db_device_resources()
776 (void)acpi_get_handle(node, METHOD_NAME__PRS, in acpi_db_device_resources()
778 (void)acpi_get_handle(node, METHOD_NAME__AEI, in acpi_db_device_resources()
808 status = acpi_get_irq_routing_table(node, &return_buffer); in acpi_db_device_resources()
837 status = acpi_walk_resources(node, METHOD_NAME__CRS, in acpi_db_device_resources()
850 status = acpi_get_current_resources(node, &return_buffer); in acpi_db_device_resources()
879 (void)acpi_dm_test_resource_conversion(node, METHOD_NAME__CRS); in acpi_db_device_resources()
885 status = acpi_set_current_resources(node, &return_buffer); in acpi_db_device_resources()
916 status = acpi_get_possible_resources(node, &return_buffer); in acpi_db_device_resources()
948 status = acpi_get_event_resources(node, &return_buffer); in acpi_db_device_resources()
981 struct acpi_namespace_node *node; in acpi_db_display_resources() local
996 node = acpi_db_convert_to_node(object_arg); in acpi_db_display_resources()
997 if (node) { in acpi_db_display_resources()
998 if (node->type != ACPI_TYPE_DEVICE) { in acpi_db_display_resources()
1001 node->name.ascii, in acpi_db_display_resources()
1002 acpi_ut_get_type_name(node->type)); in acpi_db_display_resources()
1004 (void)acpi_db_device_resources(node, 0, NULL, in acpi_db_display_resources()