forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/acpi/acpica/acstruct.h
....@@ -3,7 +3,7 @@
33 *
44 * Name: acstruct.h - Internal structs
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -60,6 +60,8 @@
6060 struct acpi_parse_state parser_state; /* Current state of parser */
6161 u32 prev_arg_types;
6262 u32 arg_count; /* push for fixed or var args */
63
+ u16 method_nesting_depth;
64
+ u8 method_is_nested;
6365
6466 struct acpi_namespace_node arguments[ACPI_METHOD_NUM_ARGS]; /* Control method arguments */
6567 struct acpi_namespace_node local_variables[ACPI_METHOD_NUM_LOCALS]; /* Control method locals */
....@@ -74,7 +76,8 @@
7476 struct acpi_namespace_node *method_call_node; /* Called method Node */
7577 union acpi_parse_object *method_call_op; /* method_call Op if running a method */
7678 union acpi_operand_object *method_desc; /* Method descriptor if running a method */
77
- struct acpi_namespace_node *method_node; /* Method node if running a method. */
79
+ struct acpi_namespace_node *method_node; /* Method node if running a method */
80
+ char *method_pathname; /* Full pathname of running method */
7881 union acpi_parse_object *op; /* Current parser op */
7982 const struct acpi_opcode_info *op_info; /* Info on current opcode */
8083 union acpi_parse_object *origin; /* Start of walk [Obsolete] */
....@@ -164,9 +167,9 @@
164167 u32 return_flags; /* Used for return value analysis */
165168 u32 return_btype; /* Bitmapped type of the returned object */
166169 u16 param_count; /* Count of the input argument list */
170
+ u16 node_flags; /* Same as Node->Flags */
167171 u8 pass_number; /* Parser pass number */
168172 u8 return_object_type; /* Object type of the returned object */
169
- u8 node_flags; /* Same as Node->Flags */
170173 u8 flags; /* General flags */
171174 };
172175
....@@ -189,6 +192,16 @@
189192 u32 num_INI;
190193 };
191194
195
+/* Info used by Acpi acpi_db_display_fields */
196
+
197
+struct acpi_region_walk_info {
198
+ u32 debug_level;
199
+ u32 count;
200
+ acpi_owner_id owner_id;
201
+ u8 display_type;
202
+ u32 address_space_id;
203
+};
204
+
192205 /* TBD: [Restructure] Merge with struct above */
193206
194207 struct acpi_walk_info {