Searched defs:walk_state (Results 1 - 25 of 41) sorted by relevance

12

/drivers/acpi/acpica/
H A Ddscontrol.c68 acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, argument
77 op, op->common.aml_opcode, walk_state));
85 if (walk_state->control_state) {
86 if (walk_state->control_state->control.
88 (walk_state->parser_state.aml - 1)) {
92 walk_state->control_state->common.state =
116 walk_state->parser_state.aml - 1;
118 walk_state->parser_state.pkg_end;
123 acpi_ut_push_generic_state(&walk_state->control_state,
132 if (walk_state
165 acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state, union acpi_parse_object * op) argument
[all...]
H A Ddswscope.c55 * PARAMETERS: walk_state - Current state
63 void acpi_ds_scope_stack_clear(struct acpi_walk_state *walk_state) argument
69 while (walk_state->scope_info) {
73 scope_info = walk_state->scope_info;
74 walk_state->scope_info = scope_info->scope.next;
90 * walk_state - Current state
102 struct acpi_walk_state *walk_state)
136 walk_state->scope_depth++;
140 (u32) walk_state->scope_depth));
142 old_scope_info = walk_state
100 acpi_ds_scope_stack_push(struct acpi_namespace_node *node, acpi_object_type type, struct acpi_walk_state *walk_state) argument
177 acpi_ds_scope_stack_pop(struct acpi_walk_state *walk_state) argument
[all...]
H A Dexresnte.c60 * walk_state - Current state. Valid only if executing AML
80 struct acpi_walk_state *walk_state)
211 acpi_ex_read_data_from_field(walk_state, source_desc,
79 acpi_ex_resolve_node_to_value(struct acpi_namespace_node **object_ptr, struct acpi_walk_state *walk_state) argument
H A Ddsargs.c83 struct acpi_walk_state *walk_state; local
100 walk_state = acpi_ds_create_walk_state(0, NULL, NULL, NULL);
101 if (!walk_state) {
106 status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start,
109 acpi_ds_delete_walk_state(walk_state);
115 walk_state->parse_flags = ACPI_PARSE_DEFERRED_OP;
116 walk_state->deferred_node = node;
120 status = acpi_ps_parse_aml(walk_state);
141 walk_state = acpi_ds_create_walk_state(0, NULL, NULL, NULL);
142 if (!walk_state) {
[all...]
H A Ddswload.c63 * PARAMETERS: walk_state - Current state of the parse tree walk
72 acpi_ds_init_callbacks(struct acpi_walk_state *walk_state, u32 pass_number) argument
80 walk_state->parse_flags = ACPI_PARSE_LOAD_PASS1 |
82 walk_state->descending_callback = NULL;
83 walk_state->ascending_callback = NULL;
90 walk_state->parse_flags = ACPI_PARSE_LOAD_PASS1 |
92 walk_state->descending_callback = acpi_ds_load1_begin_op;
93 walk_state->ascending_callback = acpi_ds_load1_end_op;
100 walk_state->parse_flags = ACPI_PARSE_LOAD_PASS1 |
102 walk_state
140 acpi_ds_load1_begin_op(struct acpi_walk_state * walk_state, union acpi_parse_object ** out_op) argument
422 acpi_ds_load1_end_op(struct acpi_walk_state *walk_state) argument
[all...]
H A Ddswload2.c60 * PARAMETERS: walk_state - Current state of the parse tree walk
69 acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state, argument
81 op = walk_state->op;
83 walk_state));
86 if ((walk_state->control_state) &&
87 (walk_state->control_state->common.state ==
92 status = acpi_ds_exec_begin_op(walk_state, out_op);
98 if ((!(walk_state->op_info->flags & AML_NSOPCODE) &&
99 (walk_state->opcode != AML_INT_NAMEPATH_OP)) ||
100 (!(walk_state
372 acpi_ds_load2_end_op(struct acpi_walk_state *walk_state) argument
[all...]
H A Dexfield.c117 * PARAMETERS: walk_state - Current execution state
129 acpi_ex_read_data_from_field(struct acpi_walk_state * walk_state, argument
H A Dexoparg2.c79 * PARAMETERS: walk_state - Current walk state
89 acpi_status acpi_ex_opcode_2A_0T_0R(struct acpi_walk_state *walk_state) argument
91 union acpi_operand_object **operand = &walk_state->operands[0];
97 acpi_ps_get_opcode_name(walk_state->opcode));
101 switch (walk_state->opcode) {
136 walk_state->opcode));
147 * PARAMETERS: walk_state - Current walk state
156 acpi_status acpi_ex_opcode_2A_2T_1R(struct acpi_walk_state *walk_state) argument
158 union acpi_operand_object **operand = &walk_state->operands[0];
164 acpi_ps_get_opcode_name(walk_state
254 acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) argument
489 acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state) argument
[all...]
H A Dexoparg3.c78 * PARAMETERS: walk_state - Current walk state
85 acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state) argument
87 union acpi_operand_object **operand = &walk_state->operands[0];
92 acpi_ps_get_opcode_name(walk_state->opcode));
94 switch (walk_state->opcode) {
122 walk_state->opcode));
136 * PARAMETERS: walk_state - Current walk state
144 acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state) argument
146 union acpi_operand_object **operand = &walk_state->operands[0];
154 acpi_ps_get_opcode_name(walk_state
[all...]
H A Dexoparg6.c202 * PARAMETERS: walk_state - Current walk state
210 acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state * walk_state) argument
212 union acpi_operand_object **operand = &walk_state->operands[0];
219 acpi_ps_get_opcode_name(walk_state->opcode));
221 switch (walk_state->opcode) {
306 status = acpi_ex_load_table_op(walk_state, &return_desc);
312 walk_state->opcode));
328 walk_state->result_obj = return_desc;
H A Dexresolv.c57 struct acpi_walk_state *walk_state);
66 * walk_state - Current method state
76 struct acpi_walk_state *walk_state)
93 status = acpi_ex_resolve_object_to_value(stack_ptr, walk_state);
112 stack_ptr), walk_state);
127 * walk_state - Current method state
138 struct acpi_walk_state *walk_state)
166 walk_state,
197 if ((walk_state->opcode ==
199 || (walk_state
75 acpi_ex_resolve_to_value(union acpi_operand_object **stack_ptr, struct acpi_walk_state *walk_state) argument
137 acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr, struct acpi_walk_state *walk_state) argument
335 acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state, union acpi_operand_object *operand, acpi_object_type * return_type, union acpi_operand_object **return_desc) argument
[all...]
H A Dexresop.c118 * walk_state - Current state
135 struct acpi_walk_state * walk_state)
353 status = acpi_ex_resolve_to_value(stack_ptr, walk_state);
696 ACPI_DUMP_OPERANDS(walk_state->operands,
698 walk_state->num_operands);
133 acpi_ex_resolve_operands(u16 opcode, union acpi_operand_object ** stack_ptr, struct acpi_walk_state * walk_state) argument
H A Dexstoren.c59 * walk_state - Current walk state
70 struct acpi_walk_state *walk_state)
102 walk_state);
110 if (walk_state->opcode == AML_COPY_OP) {
161 * walk_state - Current walk state
193 struct acpi_walk_state *walk_state)
209 walk_state);
226 walk_state);
271 walk_state);
68 acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr, acpi_object_type target_type, struct acpi_walk_state *walk_state) argument
190 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc, union acpi_operand_object *dest_desc, union acpi_operand_object **new_desc, struct acpi_walk_state *walk_state) argument
H A Dnsparse.c75 struct acpi_walk_state *walk_state; local
95 walk_state = acpi_ds_create_walk_state(owner_id, NULL, NULL, NULL);
96 if (!walk_state) {
103 acpi_ds_delete_walk_state(walk_state);
115 status = acpi_ds_init_aml_walk(walk_state, parse_root, NULL,
121 acpi_ds_delete_walk_state(walk_state);
130 walk_state);
132 acpi_ds_delete_walk_state(walk_state);
141 status = acpi_ps_parse_aml(walk_state);
H A Dnssearch.c266 * walk_state - Current state of the walk
288 struct acpi_walk_state *walk_state,
385 (walk_state && walk_state->opcode == AML_SCOPE_OP)) {
396 acpi_ns_install_node(walk_state, node, new_node, type);
287 acpi_ns_search_and_enter(u32 target_name, struct acpi_walk_state *walk_state, struct acpi_namespace_node *node, acpi_interpreter_mode interpreter_mode, acpi_object_type type, u32 flags, struct acpi_namespace_node **return_node) argument
H A Dpsxface.c219 struct acpi_walk_state *walk_state; local
268 walk_state =
271 if (!walk_state) {
276 status = acpi_ds_init_aml_walk(walk_state, op, info->node,
281 acpi_ds_delete_walk_state(walk_state);
286 walk_state->parse_flags |= ACPI_PARSE_MODULE_LEVEL;
293 info->obj_desc->method.dispatch.implementation(walk_state);
294 info->return_object = walk_state->return_desc;
298 acpi_ds_scope_stack_clear(walk_state);
299 acpi_ps_cleanup_scope(&walk_state
[all...]
H A Ddswexec.c79 * PARAMETERS: walk_state - Current state of the parse tree walk
89 acpi_ds_get_predicate_value(struct acpi_walk_state *walk_state, argument
96 ACPI_FUNCTION_TRACE_PTR(ds_get_predicate_value, walk_state);
98 walk_state->control_state->common.state = 0;
101 status = acpi_ds_result_pop(&obj_desc, walk_state);
109 status = acpi_ds_create_operand(walk_state, walk_state->op, 0);
115 acpi_ex_resolve_to_value(&walk_state->operands[0],
116 walk_state);
121 obj_desc = walk_state
213 acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state, union acpi_parse_object **out_op) argument
357 acpi_ds_exec_end_op(struct acpi_walk_state *walk_state) argument
[all...]
H A Dexcreate.c57 * PARAMETERS: walk_state - Current state, contains operands
64 acpi_status acpi_ex_create_alias(struct acpi_walk_state *walk_state) argument
74 alias_node = (struct acpi_namespace_node *)walk_state->operands[0];
75 target_node = (struct acpi_namespace_node *)walk_state->operands[1];
159 * PARAMETERS: walk_state - Current state
167 acpi_status acpi_ex_create_event(struct acpi_walk_state *walk_state) argument
193 acpi_ns_attach_object((struct acpi_namespace_node *)walk_state->
209 * PARAMETERS: walk_state - Current state
219 acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state) argument
243 obj_desc->mutex.sync_level = (u8)walk_state
276 acpi_ex_create_region(u8 * aml_start, u32 aml_length, u8 space_id, struct acpi_walk_state *walk_state) argument
372 acpi_ex_create_processor(struct acpi_walk_state *walk_state) argument
419 acpi_ex_create_power_resource(struct acpi_walk_state *walk_state) argument
467 acpi_ex_create_method(u8 * aml_start, u32 aml_length, struct acpi_walk_state *walk_state) argument
[all...]
H A Dexmutex.c215 * walk_state - Current method execution state
226 struct acpi_walk_state *walk_state)
238 if (!walk_state->thread) {
249 if (walk_state->thread->current_sync_level > obj_desc->mutex.sync_level) {
253 walk_state->thread->current_sync_level));
259 walk_state->thread->thread_id);
264 obj_desc->mutex.owner_thread = walk_state->thread;
266 walk_state->thread->current_sync_level;
267 walk_state->thread->current_sync_level =
272 acpi_ex_link_mutex(obj_desc, walk_state
224 acpi_ex_acquire_mutex(union acpi_operand_object *time_desc, union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) argument
356 acpi_ex_release_mutex(union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) argument
[all...]
H A Dexoparg1.c80 * PARAMETERS: walk_state - Current state (contains AML opcode)
87 acpi_status acpi_ex_opcode_0A_0T_1R(struct acpi_walk_state *walk_state) argument
93 acpi_ps_get_opcode_name(walk_state->opcode));
97 switch (walk_state->opcode) {
113 walk_state->opcode));
122 if ((ACPI_FAILURE(status)) || walk_state->result_obj) {
124 walk_state->result_obj = NULL;
128 walk_state->result_obj = return_desc;
138 * PARAMETERS: walk_state - Current state (contains AML opcode)
147 acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state) argument
213 acpi_ex_opcode_1A_1T_0R(struct acpi_walk_state *walk_state) argument
255 acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) argument
583 acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) argument
[all...]
H A Dexstore.c58 struct acpi_walk_state *walk_state);
63 struct acpi_walk_state *walk_state);
73 * walk_state - Current walk state
88 struct acpi_walk_state *walk_state)
112 dest_desc, walk_state,
162 object, walk_state,
172 walk_state);
183 source_desc, walk_state);
218 * walk_state - Current walk state
229 struct acpi_walk_state *walk_state)
86 acpi_ex_store(union acpi_operand_object *source_desc, union acpi_operand_object *dest_desc, struct acpi_walk_state *walk_state) argument
227 acpi_ex_store_object_to_index(union acpi_operand_object *source_desc, union acpi_operand_object *index_desc, struct acpi_walk_state *walk_state) argument
394 acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state, u8 implicit_conversion) argument
528 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state) argument
[all...]
H A Dpsloop.c63 acpi_ps_get_arguments(struct acpi_walk_state *walk_state,
74 * PARAMETERS: walk_state - Current state
85 acpi_ps_get_arguments(struct acpi_walk_state *walk_state, argument
92 ACPI_FUNCTION_TRACE_PTR(ps_get_arguments, walk_state);
103 acpi_ps_get_next_simple_arg(&(walk_state->parser_state),
104 GET_CURRENT_ARG_TYPE(walk_state->
112 acpi_ps_get_next_namepath(walk_state,
113 &(walk_state->parser_state), op,
119 walk_state->arg_types = 0;
126 while (GET_CURRENT_ARG_TYPE(walk_state
390 acpi_ps_parse_loop(struct acpi_walk_state *walk_state) argument
[all...]
H A Dpsobject.c53 static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state);
59 * PARAMETERS: walk_state - Current state
67 static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state) argument
70 ACPI_FUNCTION_TRACE_PTR(ps_get_aml_opcode, walk_state);
72 walk_state->aml_offset =
73 (u32)ACPI_PTR_DIFF(walk_state->parser_state.aml,
74 walk_state->parser_state.aml_start);
75 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state));
83 walk_state
170 acpi_ps_build_named_op(struct acpi_walk_state *walk_state, u8 *aml_op_start, union acpi_parse_object *unnamed_op, union acpi_parse_object **op) argument
277 acpi_ps_create_op(struct acpi_walk_state *walk_state, u8 *aml_op_start, union acpi_parse_object **new_op) argument
385 acpi_ps_complete_op(struct acpi_walk_state *walk_state, union acpi_parse_object **op, acpi_status status) argument
559 acpi_ps_complete_final_op(struct acpi_walk_state *walk_state, union acpi_parse_object *op, acpi_status status) argument
[all...]
H A Dpsparse.c123 * PARAMETERS: walk_state - Current State
133 acpi_ps_complete_this_op(struct acpi_walk_state * walk_state, argument
152 if (((walk_state->parse_flags & ACPI_PARSE_TREE_MASK) !=
154 || (walk_state->op_info->class == AML_CLASS_ARGUMENT)) {
219 && (walk_state->pass_number <=
312 * PARAMETERS: walk_state - Current state
324 acpi_ps_next_parse_state(struct acpi_walk_state *walk_state, argument
328 struct acpi_parse_state *parser_state = &walk_state->parser_state;
345 parser_state->aml = walk_state->aml_last_while;
346 walk_state
435 acpi_ps_parse_aml(struct acpi_walk_state *walk_state) argument
[all...]
H A Ddsfield.c62 struct acpi_walk_state *walk_state,
68 struct acpi_walk_state *walk_state,
79 * ` walk_state - Current method state
93 struct acpi_walk_state *walk_state,
109 status = acpi_ns_lookup(walk_state->scope_info, path, ACPI_TYPE_REGION,
111 walk_state, node);
134 * walk_state - Current state
150 struct acpi_walk_state *walk_state)
179 if (walk_state->deferred_node) {
180 node = walk_state
90 acpi_ds_create_external_region(acpi_status lookup_status, union acpi_parse_object *op, char *path, struct acpi_walk_state *walk_state, struct acpi_namespace_node **node) argument
149 acpi_ds_create_buffer_field(union acpi_parse_object *op, struct acpi_walk_state *walk_state) argument
286 acpi_ds_get_field_names(struct acpi_create_field_info *info, struct acpi_walk_state *walk_state, union acpi_parse_object *arg) argument
473 acpi_ds_create_field(union acpi_parse_object *op, struct acpi_namespace_node *region_node, struct acpi_walk_state *walk_state) argument
538 acpi_ds_init_field_objects(union acpi_parse_object *op, struct acpi_walk_state *walk_state) argument
656 acpi_ds_create_bank_field(union acpi_parse_object *op, struct acpi_namespace_node *region_node, struct acpi_walk_state *walk_state) argument
746 acpi_ds_create_index_field(union acpi_parse_object *op, struct acpi_namespace_node *region_node, struct acpi_walk_state *walk_state) argument
[all...]

Completed in 3063 milliseconds

12