/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ /****************************************************************************** * * Name: acstruct.h - Internal structs * * Copyright (C) 2000 - 2023, Intel Corp. * *****************************************************************************/ #ifndef __ACSTRUCT_H__ #define __ACSTRUCT_H__ /* acpisrc:struct_defs -- for acpisrc conversion */ /***************************************************************************** * * Tree walking typedefs and structs * ****************************************************************************/ /* * Walk state - current state of a parse tree walk. Used for both a leisurely * stroll through the tree (for whatever reason), and for control method * execution. */ #define ACPI_NEXT_OP_DOWNWARD … #define ACPI_NEXT_OP_UPWARD … /* * Groups of definitions for walk_type used for different implementations of * walkers (never simultaneously) - flags for interpreter: */ #define ACPI_WALK_NON_METHOD … #define ACPI_WALK_METHOD … #define ACPI_WALK_METHOD_RESTART … struct acpi_walk_state { … }; /* Info used by acpi_ns_initialize_objects and acpi_ds_initialize_objects */ struct acpi_init_walk_info { … }; struct acpi_get_devices_info { … }; acpi_aml_operands; /* * Structure used to pass object evaluation information and parameters. * Purpose is to reduce CPU stack use. */ struct acpi_evaluate_info { … }; /* Values for Flags above */ #define ACPI_IGNORE_RETURN_VALUE … /* Defines for return_flags field above */ #define ACPI_OBJECT_REPAIRED … #define ACPI_OBJECT_WRAPPED … /* Info used by acpi_ns_initialize_devices */ struct acpi_device_walk_info { … }; /* Info used by Acpi acpi_db_display_fields */ struct acpi_region_walk_info { … }; /* TBD: [Restructure] Merge with struct above */ struct acpi_walk_info { … }; /* Display Types */ #define ACPI_DISPLAY_SUMMARY … #define ACPI_DISPLAY_OBJECTS … #define ACPI_DISPLAY_MASK … #define ACPI_DISPLAY_SHORT … #endif