walk_state 86 drivers/acpi/acpica/acconvert.h void cv_capture_comments(struct acpi_walk_state *walk_state); walk_state 52 drivers/acpi/acpica/acdebug.h *walk_state, walk_state 58 drivers/acpi/acpica/acdebug.h *walk_state)) walk_state 114 drivers/acpi/acpica/acdebug.h struct acpi_walk_state *walk_state, walk_state 164 drivers/acpi/acpica/acdebug.h *walk_state)) walk_state 184 drivers/acpi/acpica/acdebug.h *walk_state)) walk_state 237 drivers/acpi/acpica/acdebug.h struct acpi_walk_state *walk_state, walk_state 254 drivers/acpi/acpica/acdebug.h struct acpi_walk_state *walk_state); walk_state 256 drivers/acpi/acpica/acdebug.h void acpi_db_decode_arguments(struct acpi_walk_state *walk_state); walk_state 258 drivers/acpi/acpica/acdebug.h void acpi_db_decode_locals(struct acpi_walk_state *walk_state); walk_state 262 drivers/acpi/acpica/acdebug.h struct acpi_walk_state *walk_state); walk_state 35 drivers/acpi/acpica/acdispat.h acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, walk_state 39 drivers/acpi/acpica/acdispat.h acpi_ds_exec_end_control_op(struct acpi_walk_state *walk_state, walk_state 46 drivers/acpi/acpica/acdispat.h acpi_ds_eval_buffer_field_operands(struct acpi_walk_state *walk_state, walk_state 50 drivers/acpi/acpica/acdispat.h acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state, walk_state 54 drivers/acpi/acpica/acdispat.h acpi_ds_eval_table_region_operands(struct acpi_walk_state *walk_state, walk_state 58 drivers/acpi/acpica/acdispat.h acpi_ds_eval_data_object_operands(struct acpi_walk_state *walk_state, walk_state 63 drivers/acpi/acpica/acdispat.h acpi_ds_eval_bank_field_operands(struct acpi_walk_state *walk_state, walk_state 72 drivers/acpi/acpica/acdispat.h acpi_ds_get_predicate_value(struct acpi_walk_state *walk_state, walk_state 76 drivers/acpi/acpica/acdispat.h acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state, walk_state 87 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 92 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 97 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 101 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 105 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 111 drivers/acpi/acpica/acdispat.h acpi_ds_init_callbacks(struct acpi_walk_state *walk_state, u32 pass_number); walk_state 116 drivers/acpi/acpica/acdispat.h acpi_ds_load1_begin_op(struct acpi_walk_state *walk_state, walk_state 119 drivers/acpi/acpica/acdispat.h acpi_status acpi_ds_load1_end_op(struct acpi_walk_state *walk_state); walk_state 124 drivers/acpi/acpica/acdispat.h acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state, walk_state 127 drivers/acpi/acpica/acdispat.h acpi_status acpi_ds_load2_end_op(struct acpi_walk_state *walk_state); walk_state 136 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 141 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state, walk_state 144 drivers/acpi/acpica/acdispat.h void acpi_ds_method_data_delete_all(struct acpi_walk_state *walk_state); walk_state 151 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state, walk_state 157 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 162 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state, walk_state 165 drivers/acpi/acpica/acdispat.h void acpi_ds_method_data_init(struct acpi_walk_state *walk_state); walk_state 176 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state, walk_state 180 drivers/acpi/acpica/acdispat.h acpi_ds_restart_control_method(struct acpi_walk_state *walk_state, walk_state 185 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 190 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 193 drivers/acpi/acpica/acdispat.h acpi_ds_method_error(acpi_status status, struct acpi_walk_state *walk_state); walk_state 206 drivers/acpi/acpica/acdispat.h acpi_ds_build_internal_object(struct acpi_walk_state *walk_state, walk_state 211 drivers/acpi/acpica/acdispat.h acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state, walk_state 217 drivers/acpi/acpica/acdispat.h acpi_ds_build_internal_package_obj(struct acpi_walk_state *walk_state, walk_state 223 drivers/acpi/acpica/acdispat.h acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, walk_state 228 drivers/acpi/acpica/acdispat.h acpi_ds_create_node(struct acpi_walk_state *walk_state, walk_state 243 drivers/acpi/acpica/acdispat.h void acpi_ds_clear_implicit_return(struct acpi_walk_state *walk_state); walk_state 247 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state, walk_state 252 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 257 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 260 drivers/acpi/acpica/acdispat.h acpi_ds_create_operand(struct acpi_walk_state *walk_state, walk_state 264 drivers/acpi/acpica/acdispat.h acpi_ds_create_operands(struct acpi_walk_state *walk_state, walk_state 267 drivers/acpi/acpica/acdispat.h acpi_status acpi_ds_resolve_operands(struct acpi_walk_state *walk_state); walk_state 269 drivers/acpi/acpica/acdispat.h void acpi_ds_clear_operands(struct acpi_walk_state *walk_state); walk_state 271 drivers/acpi/acpica/acdispat.h acpi_status acpi_ds_evaluate_name_path(struct acpi_walk_state *walk_state); walk_state 279 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 281 drivers/acpi/acpica/acdispat.h acpi_status acpi_ds_scope_stack_pop(struct acpi_walk_state *walk_state); walk_state 283 drivers/acpi/acpica/acdispat.h void acpi_ds_scope_stack_clear(struct acpi_walk_state *walk_state); walk_state 289 drivers/acpi/acpica/acdispat.h acpi_ds_obj_stack_push(void *object, struct acpi_walk_state *walk_state); walk_state 292 drivers/acpi/acpica/acdispat.h acpi_ds_obj_stack_pop(u32 pop_count, struct acpi_walk_state *walk_state); walk_state 303 drivers/acpi/acpica/acdispat.h acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state, walk_state 312 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 314 drivers/acpi/acpica/acdispat.h void acpi_ds_delete_walk_state(struct acpi_walk_state *walk_state); walk_state 320 drivers/acpi/acpica/acdispat.h acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, walk_state 323 drivers/acpi/acpica/acdispat.h acpi_status acpi_ds_result_stack_clear(struct acpi_walk_state *walk_state); walk_state 330 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 334 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state); walk_state 341 drivers/acpi/acpica/acdispat.h struct acpi_walk_state *walk_state, walk_state 13 drivers/acpi/acpica/acinterp.h #define ACPI_WALK_OPERANDS (&(walk_state->operands [walk_state->num_operands -1])) walk_state 92 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 104 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 109 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 113 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 117 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 151 drivers/acpi/acpica/acinterp.h acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state, walk_state 181 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 187 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 193 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 206 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state); walk_state 208 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_create_processor(struct acpi_walk_state *walk_state); walk_state 210 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_create_power_resource(struct acpi_walk_state *walk_state); walk_state 215 drivers/acpi/acpica/acinterp.h u8 region_space, struct acpi_walk_state *walk_state); walk_state 217 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_create_event(struct acpi_walk_state *walk_state); walk_state 219 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_create_alias(struct acpi_walk_state *walk_state); walk_state 223 drivers/acpi/acpica/acinterp.h u32 aml_length, struct acpi_walk_state *walk_state); walk_state 231 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 234 drivers/acpi/acpica/acinterp.h acpi_ex_load_table_op(struct acpi_walk_state *walk_state, walk_state 245 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 254 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 320 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_0A_0T_1R(struct acpi_walk_state *walk_state); walk_state 322 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state); walk_state 324 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state); walk_state 326 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state); walk_state 328 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_1A_1T_0R(struct acpi_walk_state *walk_state); walk_state 333 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_2A_0T_0R(struct acpi_walk_state *walk_state); walk_state 335 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state); walk_state 337 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state); walk_state 339 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_2A_2T_1R(struct acpi_walk_state *walk_state); walk_state 344 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state); walk_state 346 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state); walk_state 351 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state *walk_state); walk_state 358 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 361 drivers/acpi/acpica/acinterp.h acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state, walk_state 371 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 379 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 409 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 414 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state, walk_state 423 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 429 drivers/acpi/acpica/acinterp.h struct acpi_walk_state *walk_state); walk_state 248 drivers/acpi/acpica/aclocal.h acpi_status (*acpi_internal_method) (struct acpi_walk_state * walk_state); walk_state 577 drivers/acpi/acpica/aclocal.h struct acpi_walk_state *walk_state; walk_state 630 drivers/acpi/acpica/aclocal.h acpi_status (*acpi_parse_downwards) (struct acpi_walk_state * walk_state, walk_state 634 drivers/acpi/acpica/aclocal.h acpi_status (*acpi_parse_upwards) (struct acpi_walk_state * walk_state); walk_state 675 drivers/acpi/acpica/aclocal.h acpi_status (*acpi_execute_op) (struct acpi_walk_state * walk_state); walk_state 123 drivers/acpi/acpica/acnamesp.h struct acpi_walk_state *walk_state, walk_state 267 drivers/acpi/acpica/acnamesp.h char *acpi_ns_name_of_current_scope(struct acpi_walk_state *walk_state); walk_state 359 drivers/acpi/acpica/acnamesp.h struct acpi_walk_state *walk_state, walk_state 372 drivers/acpi/acpica/acnamesp.h acpi_ns_install_node(struct acpi_walk_state *walk_state, walk_state 61 drivers/acpi/acpica/acparser.h acpi_ps_get_next_namepath(struct acpi_walk_state *walk_state, walk_state 72 drivers/acpi/acpica/acparser.h acpi_ps_get_next_arg(struct acpi_walk_state *walk_state, walk_state 88 drivers/acpi/acpica/acparser.h acpi_ps_build_named_op(struct acpi_walk_state *walk_state, walk_state 94 drivers/acpi/acpica/acparser.h acpi_ps_create_op(struct acpi_walk_state *walk_state, walk_state 98 drivers/acpi/acpica/acparser.h acpi_ps_complete_op(struct acpi_walk_state *walk_state, walk_state 102 drivers/acpi/acpica/acparser.h acpi_ps_complete_final_op(struct acpi_walk_state *walk_state, walk_state 117 drivers/acpi/acpica/acparser.h acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state); walk_state 124 drivers/acpi/acpica/acparser.h acpi_ps_complete_this_op(struct acpi_walk_state *walk_state, walk_state 128 drivers/acpi/acpica/acparser.h acpi_ps_next_parse_state(struct acpi_walk_state *walk_state, walk_state 135 drivers/acpi/acpica/acparser.h acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state); walk_state 189 drivers/acpi/acpica/acparser.h acpi_ps_get_next_walk_op(struct acpi_walk_state *walk_state, walk_state 193 drivers/acpi/acpica/acparser.h acpi_status acpi_ps_delete_completed_op(struct acpi_walk_state *walk_state); walk_state 266 drivers/acpi/acpica/acutils.h struct acpi_walk_state *walk_state); walk_state 462 drivers/acpi/acpica/acutils.h acpi_status acpi_ut_osi_implementation(struct acpi_walk_state *walk_state); walk_state 577 drivers/acpi/acpica/acutils.h acpi_ut_walk_aml_resources(struct acpi_walk_state *walk_state, walk_state 584 drivers/acpi/acpica/acutils.h acpi_ut_validate_resource(struct acpi_walk_state *walk_state, walk_state 350 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state; walk_state 364 drivers/acpi/acpica/dbdisply.c walk_state = acpi_ds_get_current_walk_state(acpi_gbl_current_walk_list); walk_state 365 drivers/acpi/acpica/dbdisply.c if (!walk_state) { walk_state 370 drivers/acpi/acpica/dbdisply.c obj_desc = walk_state->method_desc; walk_state 371 drivers/acpi/acpica/dbdisply.c node = walk_state->method_node; walk_state 452 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state; walk_state 454 drivers/acpi/acpica/dbdisply.c walk_state = acpi_ds_get_current_walk_state(acpi_gbl_current_walk_list); walk_state 455 drivers/acpi/acpica/dbdisply.c if (!walk_state) { walk_state 460 drivers/acpi/acpica/dbdisply.c acpi_db_decode_locals(walk_state); walk_state 477 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state; walk_state 479 drivers/acpi/acpica/dbdisply.c walk_state = acpi_ds_get_current_walk_state(acpi_gbl_current_walk_list); walk_state 480 drivers/acpi/acpica/dbdisply.c if (!walk_state) { walk_state 485 drivers/acpi/acpica/dbdisply.c acpi_db_decode_arguments(walk_state); walk_state 503 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state; walk_state 510 drivers/acpi/acpica/dbdisply.c walk_state = acpi_ds_get_current_walk_state(acpi_gbl_current_walk_list); walk_state 511 drivers/acpi/acpica/dbdisply.c if (!walk_state) { walk_state 516 drivers/acpi/acpica/dbdisply.c obj_desc = walk_state->method_desc; walk_state 517 drivers/acpi/acpica/dbdisply.c node = walk_state->method_node; walk_state 519 drivers/acpi/acpica/dbdisply.c if (walk_state->results) { walk_state 520 drivers/acpi/acpica/dbdisply.c result_count = walk_state->result_count; walk_state 528 drivers/acpi/acpica/dbdisply.c frame = walk_state->results; walk_state 534 drivers/acpi/acpica/dbdisply.c acpi_db_display_internal_object(obj_desc, walk_state); walk_state 559 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state; walk_state 562 drivers/acpi/acpica/dbdisply.c walk_state = acpi_ds_get_current_walk_state(acpi_gbl_current_walk_list); walk_state 563 drivers/acpi/acpica/dbdisply.c if (!walk_state) { walk_state 568 drivers/acpi/acpica/dbdisply.c node = walk_state->method_node; walk_state 571 drivers/acpi/acpica/dbdisply.c while (walk_state) { walk_state 572 drivers/acpi/acpica/dbdisply.c node = walk_state->method_node; walk_state 575 drivers/acpi/acpica/dbdisply.c walk_state = walk_state->next; walk_state 658 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state) walk_state 674 drivers/acpi/acpica/dbdisply.c acpi_db_display_internal_object(obj_desc, walk_state); walk_state 693 drivers/acpi/acpica/dbdisply.c struct acpi_walk_state *walk_state) walk_state 707 drivers/acpi/acpica/dbdisply.c acpi_db_display_internal_object(obj_desc, walk_state); walk_state 671 drivers/acpi/acpica/dbinput.c struct acpi_walk_state *walk_state, walk_state 739 drivers/acpi/acpica/dbinput.c acpi_db_set_method_breakpoint(acpi_gbl_db_args[1], walk_state, walk_state 819 drivers/acpi/acpica/dbinput.c status = acpi_db_command_dispatch(command_line, walk_state, op); walk_state 829 drivers/acpi/acpica/dbinput.c status = acpi_db_command_dispatch(command_line, walk_state, op); walk_state 41 drivers/acpi/acpica/dbmethod.c struct acpi_walk_state *walk_state, walk_state 56 drivers/acpi/acpica/dbmethod.c walk_state->parser_state.aml_start); walk_state 64 drivers/acpi/acpica/dbmethod.c walk_state->user_breakpoint = address; walk_state 112 drivers/acpi/acpica/dbmethod.c struct acpi_walk_state *walk_state; walk_state 147 drivers/acpi/acpica/dbmethod.c walk_state = acpi_ds_get_current_walk_state(acpi_gbl_current_walk_list); walk_state 148 drivers/acpi/acpica/dbmethod.c if (!walk_state) { walk_state 176 drivers/acpi/acpica/dbmethod.c walk_state); walk_state 181 drivers/acpi/acpica/dbmethod.c obj_desc = walk_state->arguments[index].object; walk_state 184 drivers/acpi/acpica/dbmethod.c acpi_db_display_internal_object(obj_desc, walk_state); walk_state 199 drivers/acpi/acpica/dbmethod.c walk_state); walk_state 204 drivers/acpi/acpica/dbmethod.c obj_desc = walk_state->local_variables[index].object; walk_state 207 drivers/acpi/acpica/dbmethod.c acpi_db_display_internal_object(obj_desc, walk_state); walk_state 267 drivers/acpi/acpica/dbmethod.c struct acpi_walk_state *walk_state; walk_state 291 drivers/acpi/acpica/dbmethod.c walk_state = acpi_ds_create_walk_state(0, op, NULL, NULL); walk_state 292 drivers/acpi/acpica/dbmethod.c if (!walk_state) { walk_state 296 drivers/acpi/acpica/dbmethod.c status = acpi_ds_init_aml_walk(walk_state, op, NULL, walk_state 309 drivers/acpi/acpica/dbmethod.c walk_state->owner_id = obj_desc->method.owner_id; walk_state 313 drivers/acpi/acpica/dbmethod.c status = acpi_ds_scope_stack_push(method, method->type, walk_state); walk_state 320 drivers/acpi/acpica/dbmethod.c walk_state->parse_flags &= ~ACPI_PARSE_DELETE_TREE; walk_state 321 drivers/acpi/acpica/dbmethod.c walk_state->parse_flags |= ACPI_PARSE_DISASSEMBLE; walk_state 323 drivers/acpi/acpica/dbmethod.c status = acpi_ps_parse_aml(walk_state); walk_state 35 drivers/acpi/acpica/dbobject.c acpi_db_dump_method_info(acpi_status status, struct acpi_walk_state *walk_state) walk_state 40 drivers/acpi/acpica/dbobject.c node = walk_state->method_node; walk_state 56 drivers/acpi/acpica/dbobject.c if (walk_state->deferred_node) { walk_state 66 drivers/acpi/acpica/dbobject.c thread = walk_state->thread; walk_state 74 drivers/acpi/acpica/dbobject.c acpi_db_decode_locals(walk_state); walk_state 76 drivers/acpi/acpica/dbobject.c acpi_db_decode_arguments(walk_state); walk_state 206 drivers/acpi/acpica/dbobject.c struct acpi_walk_state *walk_state) walk_state 253 drivers/acpi/acpica/dbobject.c if (walk_state) { walk_state 254 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->local_variables walk_state 266 drivers/acpi/acpica/dbobject.c if (walk_state) { walk_state 267 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->arguments walk_state 389 drivers/acpi/acpica/dbobject.c void acpi_db_decode_locals(struct acpi_walk_state *walk_state) walk_state 396 drivers/acpi/acpica/dbobject.c node = walk_state->method_node; walk_state 418 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->local_variables[i].object; walk_state 433 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->local_variables[i].object; walk_state 437 drivers/acpi/acpica/dbobject.c walk_state); walk_state 459 drivers/acpi/acpica/dbobject.c void acpi_db_decode_arguments(struct acpi_walk_state *walk_state) walk_state 466 drivers/acpi/acpica/dbobject.c node = walk_state->method_node; walk_state 467 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->method_desc; walk_state 489 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->arguments[i].object; walk_state 505 drivers/acpi/acpica/dbobject.c obj_desc = walk_state->arguments[i].object; walk_state 509 drivers/acpi/acpica/dbobject.c walk_state); walk_state 332 drivers/acpi/acpica/dbutils.c struct acpi_walk_state *walk_state; walk_state 344 drivers/acpi/acpica/dbutils.c walk_state = walk_state 346 drivers/acpi/acpica/dbutils.c if (!walk_state) { walk_state 352 drivers/acpi/acpica/dbutils.c walk_state->parser_state.aml = walk_state 353 drivers/acpi/acpica/dbutils.c walk_state->parser_state.aml_start = walk_state 355 drivers/acpi/acpica/dbutils.c walk_state->parser_state.aml_end = walk_state 356 drivers/acpi/acpica/dbutils.c walk_state->parser_state.pkg_end = walk_state 358 drivers/acpi/acpica/dbutils.c walk_state->parser_state.start_scope = op; walk_state 360 drivers/acpi/acpica/dbutils.c walk_state->descending_callback = walk_state 362 drivers/acpi/acpica/dbutils.c walk_state->ascending_callback = acpi_ds_load1_end_op; walk_state 366 drivers/acpi/acpica/dbutils.c status = acpi_ps_parse_aml(walk_state); walk_state 20 drivers/acpi/acpica/dbxface.c acpi_db_start_command(struct acpi_walk_state *walk_state, walk_state 24 drivers/acpi/acpica/dbxface.c void acpi_db_method_end(struct acpi_walk_state *walk_state); walk_state 29 drivers/acpi/acpica/dbxface.c *walk_state, walk_state 48 drivers/acpi/acpica/dbxface.c acpi_db_start_command(struct acpi_walk_state *walk_state, walk_state 79 drivers/acpi/acpica/dbxface.c acpi_db_command_dispatch(acpi_gbl_db_line_buf, walk_state, walk_state 105 drivers/acpi/acpica/dbxface.c void acpi_db_signal_break_point(struct acpi_walk_state *walk_state) walk_state 138 drivers/acpi/acpica/dbxface.c *walk_state, walk_state 148 drivers/acpi/acpica/dbxface.c if ((walk_state->control_state) && walk_state 149 drivers/acpi/acpica/dbxface.c (walk_state->control_state->common.state == walk_state 202 drivers/acpi/acpica/dbxface.c acpi_db_single_step(struct acpi_walk_state *walk_state, walk_state 226 drivers/acpi/acpica/dbxface.c walk_state->parser_state.aml_start); walk_state 230 drivers/acpi/acpica/dbxface.c if (walk_state->method_breakpoint && walk_state 231 drivers/acpi/acpica/dbxface.c (walk_state->method_breakpoint <= aml_offset)) { walk_state 239 drivers/acpi/acpica/dbxface.c walk_state->method_breakpoint = 0; walk_state 244 drivers/acpi/acpica/dbxface.c else if (walk_state->user_breakpoint && walk_state 245 drivers/acpi/acpica/dbxface.c (walk_state->user_breakpoint == aml_offset)) { walk_state 250 drivers/acpi/acpica/dbxface.c walk_state->method_breakpoint = 0; walk_state 297 drivers/acpi/acpica/dbxface.c acpi_dm_disassemble(walk_state, walk_state 298 drivers/acpi/acpica/dbxface.c acpi_db_get_display_op(walk_state, op), walk_state 311 drivers/acpi/acpica/dbxface.c if (walk_state->control_state->common.value) { walk_state 371 drivers/acpi/acpica/dbxface.c walk_state->method_breakpoint = 1; /* Must be non-zero! */ walk_state 375 drivers/acpi/acpica/dbxface.c status = acpi_db_start_command(walk_state, op); walk_state 49 drivers/acpi/acpica/dsargs.c struct acpi_walk_state *walk_state; walk_state 66 drivers/acpi/acpica/dsargs.c walk_state = acpi_ds_create_walk_state(0, NULL, NULL, NULL); walk_state 67 drivers/acpi/acpica/dsargs.c if (!walk_state) { walk_state 72 drivers/acpi/acpica/dsargs.c status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start, walk_state 75 drivers/acpi/acpica/dsargs.c acpi_ds_delete_walk_state(walk_state); walk_state 81 drivers/acpi/acpica/dsargs.c walk_state->parse_flags = ACPI_PARSE_DEFERRED_OP; walk_state 82 drivers/acpi/acpica/dsargs.c walk_state->deferred_node = node; walk_state 86 drivers/acpi/acpica/dsargs.c status = acpi_ps_parse_aml(walk_state); walk_state 107 drivers/acpi/acpica/dsargs.c walk_state = acpi_ds_create_walk_state(0, NULL, NULL, NULL); walk_state 108 drivers/acpi/acpica/dsargs.c if (!walk_state) { walk_state 115 drivers/acpi/acpica/dsargs.c status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start, walk_state 118 drivers/acpi/acpica/dsargs.c acpi_ds_delete_walk_state(walk_state); walk_state 124 drivers/acpi/acpica/dsargs.c walk_state->deferred_node = node; walk_state 125 drivers/acpi/acpica/dsargs.c status = acpi_ps_parse_aml(walk_state); walk_state 35 drivers/acpi/acpica/dscontrol.c acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, walk_state 44 drivers/acpi/acpica/dscontrol.c op, op->common.aml_opcode, walk_state)); walk_state 52 drivers/acpi/acpica/dscontrol.c if (walk_state->control_state) { walk_state 53 drivers/acpi/acpica/dscontrol.c if (walk_state->control_state->control. walk_state 55 drivers/acpi/acpica/dscontrol.c (walk_state->parser_state.aml - 1)) { walk_state 59 drivers/acpi/acpica/dscontrol.c walk_state->control_state->common.state = walk_state 83 drivers/acpi/acpica/dscontrol.c walk_state->parser_state.aml - 1; walk_state 85 drivers/acpi/acpica/dscontrol.c walk_state->parser_state.pkg_end; walk_state 92 drivers/acpi/acpica/dscontrol.c acpi_ut_push_generic_state(&walk_state->control_state, walk_state 101 drivers/acpi/acpica/dscontrol.c if (walk_state->last_predicate) { walk_state 134 drivers/acpi/acpica/dscontrol.c acpi_ds_exec_end_control_op(struct acpi_walk_state *walk_state, walk_state 151 drivers/acpi/acpica/dscontrol.c walk_state->last_predicate = walk_state 152 drivers/acpi/acpica/dscontrol.c (u8)walk_state->control_state->common.value; walk_state 159 drivers/acpi/acpica/dscontrol.c acpi_ut_pop_generic_state(&walk_state->control_state); walk_state 171 drivers/acpi/acpica/dscontrol.c control_state = walk_state->control_state; walk_state 194 drivers/acpi/acpica/dscontrol.c walk_state->aml_last_while = walk_state 207 drivers/acpi/acpica/dscontrol.c acpi_ut_pop_generic_state(&walk_state->control_state); walk_state 226 drivers/acpi/acpica/dscontrol.c acpi_ds_clear_implicit_return(walk_state); walk_state 231 drivers/acpi/acpica/dscontrol.c acpi_ds_create_operands(walk_state, walk_state 243 drivers/acpi/acpica/dscontrol.c acpi_ex_resolve_to_value(&walk_state->operands[0], walk_state 244 drivers/acpi/acpica/dscontrol.c walk_state); walk_state 254 drivers/acpi/acpica/dscontrol.c walk_state->return_desc = walk_state->operands[0]; walk_state 255 drivers/acpi/acpica/dscontrol.c } else if (walk_state->result_count) { walk_state 259 drivers/acpi/acpica/dscontrol.c acpi_ds_clear_implicit_return(walk_state); walk_state 272 drivers/acpi/acpica/dscontrol.c (walk_state->results->results.obj_desc[0]) == walk_state 274 drivers/acpi/acpica/dscontrol.c && ((walk_state->results->results.obj_desc[0])-> walk_state 276 drivers/acpi/acpica/dscontrol.c && ((walk_state->results->results.obj_desc[0])-> walk_state 279 drivers/acpi/acpica/dscontrol.c acpi_ex_resolve_to_value(&walk_state-> walk_state 282 drivers/acpi/acpica/dscontrol.c walk_state); walk_state 288 drivers/acpi/acpica/dscontrol.c walk_state->return_desc = walk_state 289 drivers/acpi/acpica/dscontrol.c walk_state->results->results.obj_desc[0]; walk_state 293 drivers/acpi/acpica/dscontrol.c if (walk_state->num_operands) { walk_state 294 drivers/acpi/acpica/dscontrol.c acpi_ut_remove_reference(walk_state-> walk_state 298 drivers/acpi/acpica/dscontrol.c walk_state->operands[0] = NULL; walk_state 299 drivers/acpi/acpica/dscontrol.c walk_state->num_operands = 0; walk_state 300 drivers/acpi/acpica/dscontrol.c walk_state->return_desc = NULL; walk_state 305 drivers/acpi/acpica/dscontrol.c walk_state, walk_state->return_desc)); walk_state 320 drivers/acpi/acpica/dscontrol.c acpi_db_signal_break_point(walk_state); walk_state 333 drivers/acpi/acpica/dscontrol.c while (walk_state->control_state && walk_state 334 drivers/acpi/acpica/dscontrol.c (walk_state->control_state->control.opcode != walk_state 337 drivers/acpi/acpica/dscontrol.c acpi_ut_pop_generic_state(&walk_state-> walk_state 344 drivers/acpi/acpica/dscontrol.c if (!walk_state->control_state) { walk_state 350 drivers/acpi/acpica/dscontrol.c walk_state->aml_last_while = walk_state 351 drivers/acpi/acpica/dscontrol.c walk_state->control_state->control.package_end; walk_state 90 drivers/acpi/acpica/dsdebug.c struct acpi_walk_state *walk_state, walk_state 109 drivers/acpi/acpica/dsdebug.c if (walk_state->deferred_node) { walk_state 120 drivers/acpi/acpica/dsdebug.c thread = walk_state->thread; walk_state 131 drivers/acpi/acpica/dsdebug.c acpi_ds_print_node_pathname(walk_state->method_node, NULL); walk_state 146 drivers/acpi/acpica/dsdebug.c method_desc, walk_state); walk_state 156 drivers/acpi/acpica/dsdebug.c if (next_walk_state == walk_state) { walk_state 165 drivers/acpi/acpica/dsdebug.c if (walk_state->method_node != walk_state 199 drivers/acpi/acpica/dsdebug.c struct acpi_walk_state *walk_state, walk_state 32 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state, walk_state 38 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state, walk_state 63 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state, walk_state 80 drivers/acpi/acpica/dsfield.c status = acpi_ns_lookup(walk_state->scope_info, path, ACPI_TYPE_REGION, walk_state 82 drivers/acpi/acpica/dsfield.c walk_state, node); walk_state 121 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state) walk_state 150 drivers/acpi/acpica/dsfield.c if (walk_state->deferred_node) { walk_state 151 drivers/acpi/acpica/dsfield.c node = walk_state->deferred_node; walk_state 156 drivers/acpi/acpica/dsfield.c if (!(walk_state->parse_flags & ACPI_PARSE_EXECUTE)) { walk_state 170 drivers/acpi/acpica/dsfield.c if (walk_state->method_node && walk_state 171 drivers/acpi/acpica/dsfield.c !(walk_state->parse_flags & ACPI_PARSE_MODULE_LEVEL)) { walk_state 177 drivers/acpi/acpica/dsfield.c status = acpi_ns_lookup(walk_state->scope_info, walk_state 180 drivers/acpi/acpica/dsfield.c walk_state, &node); walk_state 182 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 259 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state, walk_state 356 drivers/acpi/acpica/dsfield.c status = acpi_ns_lookup(walk_state->scope_info, walk_state 361 drivers/acpi/acpica/dsfield.c walk_state, walk_state 364 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state-> walk_state 378 drivers/acpi/acpica/dsfield.c status = acpi_ns_lookup(walk_state->scope_info, walk_state 383 drivers/acpi/acpica/dsfield.c walk_state, &info->field_node); walk_state 385 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 476 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state) walk_state 490 drivers/acpi/acpica/dsfield.c acpi_ns_lookup(walk_state->scope_info, walk_state 493 drivers/acpi/acpica/dsfield.c walk_state, ®ion_node); walk_state 497 drivers/acpi/acpica/dsfield.c walk_state, walk_state 501 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 520 drivers/acpi/acpica/dsfield.c status = acpi_ds_get_field_names(&info, walk_state, arg->common.next); walk_state 548 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state) walk_state 560 drivers/acpi/acpica/dsfield.c if (!(walk_state->parse_flags & ACPI_PARSE_EXECUTE)) { walk_state 561 drivers/acpi/acpica/dsfield.c if (walk_state->parse_flags & ACPI_PARSE_DEFERRED_OP) { walk_state 576 drivers/acpi/acpica/dsfield.c switch (walk_state->opcode) { walk_state 609 drivers/acpi/acpica/dsfield.c if (walk_state->method_node && walk_state 610 drivers/acpi/acpica/dsfield.c !(walk_state->parse_flags & ACPI_PARSE_MODULE_LEVEL)) { walk_state 626 drivers/acpi/acpica/dsfield.c status = acpi_ns_lookup(walk_state->scope_info, walk_state 629 drivers/acpi/acpica/dsfield.c walk_state, &node); walk_state 631 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 671 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state) walk_state 684 drivers/acpi/acpica/dsfield.c acpi_ns_lookup(walk_state->scope_info, walk_state 687 drivers/acpi/acpica/dsfield.c walk_state, ®ion_node); walk_state 691 drivers/acpi/acpica/dsfield.c walk_state, walk_state 695 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 705 drivers/acpi/acpica/dsfield.c acpi_ns_lookup(walk_state->scope_info, arg->common.value.string, walk_state 707 drivers/acpi/acpica/dsfield.c ACPI_NS_SEARCH_PARENT, walk_state, walk_state 710 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 743 drivers/acpi/acpica/dsfield.c status = acpi_ds_get_field_names(&info, walk_state, arg->common.next); walk_state 764 drivers/acpi/acpica/dsfield.c struct acpi_walk_state *walk_state) walk_state 776 drivers/acpi/acpica/dsfield.c acpi_ns_lookup(walk_state->scope_info, arg->common.value.string, walk_state 778 drivers/acpi/acpica/dsfield.c ACPI_NS_SEARCH_PARENT, walk_state, walk_state 781 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 790 drivers/acpi/acpica/dsfield.c acpi_ns_lookup(walk_state->scope_info, arg->common.value.string, walk_state 792 drivers/acpi/acpica/dsfield.c ACPI_NS_SEARCH_PARENT, walk_state, walk_state 795 drivers/acpi/acpica/dsfield.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 810 drivers/acpi/acpica/dsfield.c status = acpi_ds_get_field_names(&info, walk_state, arg->common.next); walk_state 24 drivers/acpi/acpica/dsmethod.c acpi_ds_detect_named_opcodes(struct acpi_walk_state *walk_state, walk_state 60 drivers/acpi/acpica/dsmethod.c struct acpi_walk_state *walk_state; walk_state 80 drivers/acpi/acpica/dsmethod.c walk_state = walk_state 82 drivers/acpi/acpica/dsmethod.c if (!walk_state) { walk_state 87 drivers/acpi/acpica/dsmethod.c status = acpi_ds_init_aml_walk(walk_state, op, node, walk_state 91 drivers/acpi/acpica/dsmethod.c acpi_ds_delete_walk_state(walk_state); walk_state 96 drivers/acpi/acpica/dsmethod.c walk_state->descending_callback = acpi_ds_detect_named_opcodes; walk_state 100 drivers/acpi/acpica/dsmethod.c status = acpi_ps_parse_aml(walk_state); walk_state 122 drivers/acpi/acpica/dsmethod.c acpi_ds_detect_named_opcodes(struct acpi_walk_state *walk_state, walk_state 131 drivers/acpi/acpica/dsmethod.c (walk_state->op_info-> walk_state 146 drivers/acpi/acpica/dsmethod.c walk_state->method_desc->method.sync_level = 0; walk_state 147 drivers/acpi/acpica/dsmethod.c walk_state->method_desc->method.info_flags |= walk_state 152 drivers/acpi/acpica/dsmethod.c walk_state->method_node->name.ascii, walk_state 153 drivers/acpi/acpica/dsmethod.c walk_state->method_node, walk_state->op_info->name, walk_state 154 drivers/acpi/acpica/dsmethod.c walk_state->opcode)); walk_state 178 drivers/acpi/acpica/dsmethod.c acpi_ds_method_error(acpi_status status, struct acpi_walk_state *walk_state) walk_state 203 drivers/acpi/acpica/dsmethod.c aml_offset = (u32)ACPI_PTR_DIFF(walk_state->aml, walk_state 204 drivers/acpi/acpica/dsmethod.c walk_state->parser_state. walk_state 207 drivers/acpi/acpica/dsmethod.c if (walk_state->method_node) { walk_state 208 drivers/acpi/acpica/dsmethod.c name = walk_state->method_node->name.integer; walk_state 209 drivers/acpi/acpica/dsmethod.c } else if (walk_state->deferred_node) { walk_state 210 drivers/acpi/acpica/dsmethod.c name = walk_state->deferred_node->name.integer; walk_state 214 drivers/acpi/acpica/dsmethod.c walk_state->opcode, walk_state 219 drivers/acpi/acpica/dsmethod.c acpi_ds_clear_implicit_return(walk_state); walk_state 222 drivers/acpi/acpica/dsmethod.c acpi_ds_dump_method_stack(status, walk_state, walk_state->op); walk_state 227 drivers/acpi/acpica/dsmethod.c acpi_db_dump_method_info(status, walk_state); walk_state 294 drivers/acpi/acpica/dsmethod.c struct acpi_walk_state *walk_state) walk_state 304 drivers/acpi/acpica/dsmethod.c acpi_ex_start_trace_method(method_node, obj_desc, walk_state); walk_state 341 drivers/acpi/acpica/dsmethod.c if (walk_state && walk_state 344 drivers/acpi/acpica/dsmethod.c && (walk_state->thread->current_sync_level > walk_state 350 drivers/acpi/acpica/dsmethod.c walk_state->thread->current_sync_level)); walk_state 359 drivers/acpi/acpica/dsmethod.c if (!walk_state || walk_state 361 drivers/acpi/acpica/dsmethod.c (walk_state->thread->thread_id != walk_state 377 drivers/acpi/acpica/dsmethod.c if (walk_state) { walk_state 380 drivers/acpi/acpica/dsmethod.c walk_state->thread->current_sync_level; walk_state 383 drivers/acpi/acpica/dsmethod.c walk_state->thread->thread_id; walk_state 394 drivers/acpi/acpica/dsmethod.c walk_state->thread->current_sync_level = walk_state 603 drivers/acpi/acpica/dsmethod.c acpi_ds_restart_control_method(struct acpi_walk_state *walk_state, walk_state 609 drivers/acpi/acpica/dsmethod.c ACPI_FUNCTION_TRACE_PTR(ds_restart_control_method, walk_state); walk_state 613 drivers/acpi/acpica/dsmethod.c acpi_ut_get_node_name(walk_state->method_node), walk_state 614 drivers/acpi/acpica/dsmethod.c walk_state->method_call_op, return_desc)); walk_state 618 drivers/acpi/acpica/dsmethod.c walk_state->return_used, walk_state 619 drivers/acpi/acpica/dsmethod.c walk_state->results, walk_state)); walk_state 628 drivers/acpi/acpica/dsmethod.c (walk_state->implicit_return_obj == return_desc); walk_state 632 drivers/acpi/acpica/dsmethod.c if (walk_state->return_used) { walk_state 636 drivers/acpi/acpica/dsmethod.c status = acpi_ds_result_push(return_desc, walk_state); walk_state 646 drivers/acpi/acpica/dsmethod.c walk_state->return_desc = return_desc; walk_state 661 drivers/acpi/acpica/dsmethod.c (return_desc, walk_state, FALSE) walk_state 694 drivers/acpi/acpica/dsmethod.c struct acpi_walk_state *walk_state) walk_state 697 drivers/acpi/acpica/dsmethod.c ACPI_FUNCTION_TRACE_PTR(ds_terminate_control_method, walk_state); walk_state 705 drivers/acpi/acpica/dsmethod.c if (walk_state) { walk_state 709 drivers/acpi/acpica/dsmethod.c acpi_ds_method_data_delete_all(walk_state); walk_state 725 drivers/acpi/acpica/dsmethod.c acpi_ns_delete_namespace_subtree(walk_state-> walk_state 758 drivers/acpi/acpica/dsmethod.c walk_state->thread->current_sync_level = walk_state 802 drivers/acpi/acpica/dsmethod.c if (walk_state) { walk_state 805 drivers/acpi/acpica/dsmethod.c walk_state->method_node->name. walk_state 839 drivers/acpi/acpica/dsmethod.c method.node, method_desc, walk_state); walk_state 20 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state); walk_state 26 drivers/acpi/acpica/dsmthdat.c struct acpi_walk_state *walk_state); walk_state 31 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state); walk_state 55 drivers/acpi/acpica/dsmthdat.c void acpi_ds_method_data_init(struct acpi_walk_state *walk_state) walk_state 64 drivers/acpi/acpica/dsmthdat.c ACPI_MOVE_32_TO_32(&walk_state->arguments[i].name, walk_state 67 drivers/acpi/acpica/dsmthdat.c walk_state->arguments[i].name.integer |= (i << 24); walk_state 68 drivers/acpi/acpica/dsmthdat.c walk_state->arguments[i].descriptor_type = ACPI_DESC_TYPE_NAMED; walk_state 69 drivers/acpi/acpica/dsmthdat.c walk_state->arguments[i].type = ACPI_TYPE_ANY; walk_state 70 drivers/acpi/acpica/dsmthdat.c walk_state->arguments[i].flags = ANOBJ_METHOD_ARG; walk_state 76 drivers/acpi/acpica/dsmthdat.c ACPI_MOVE_32_TO_32(&walk_state->local_variables[i].name, walk_state 79 drivers/acpi/acpica/dsmthdat.c walk_state->local_variables[i].name.integer |= (i << 24); walk_state 80 drivers/acpi/acpica/dsmthdat.c walk_state->local_variables[i].descriptor_type = walk_state 82 drivers/acpi/acpica/dsmthdat.c walk_state->local_variables[i].type = ACPI_TYPE_ANY; walk_state 83 drivers/acpi/acpica/dsmthdat.c walk_state->local_variables[i].flags = ANOBJ_METHOD_LOCAL; walk_state 102 drivers/acpi/acpica/dsmthdat.c void acpi_ds_method_data_delete_all(struct acpi_walk_state *walk_state) walk_state 111 drivers/acpi/acpica/dsmthdat.c if (walk_state->local_variables[index].object) { walk_state 114 drivers/acpi/acpica/dsmthdat.c walk_state->local_variables[index]. walk_state 119 drivers/acpi/acpica/dsmthdat.c acpi_ns_detach_object(&walk_state-> walk_state 127 drivers/acpi/acpica/dsmthdat.c if (walk_state->arguments[index].object) { walk_state 130 drivers/acpi/acpica/dsmthdat.c walk_state->arguments[index].object)); walk_state 134 drivers/acpi/acpica/dsmthdat.c acpi_ns_detach_object(&walk_state->arguments[index]); walk_state 160 drivers/acpi/acpica/dsmthdat.c struct acpi_walk_state *walk_state) walk_state 184 drivers/acpi/acpica/dsmthdat.c params[index], walk_state); walk_state 215 drivers/acpi/acpica/dsmthdat.c struct acpi_walk_state *walk_state, walk_state 235 drivers/acpi/acpica/dsmthdat.c *node = &walk_state->local_variables[index]; walk_state 249 drivers/acpi/acpica/dsmthdat.c *node = &walk_state->arguments[index]; walk_state 282 drivers/acpi/acpica/dsmthdat.c struct acpi_walk_state *walk_state) walk_state 296 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); walk_state 335 drivers/acpi/acpica/dsmthdat.c struct acpi_walk_state *walk_state, walk_state 353 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); walk_state 440 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state) walk_state 450 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); walk_state 501 drivers/acpi/acpica/dsmthdat.c struct acpi_walk_state *walk_state) walk_state 520 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); walk_state 543 drivers/acpi/acpica/dsmthdat.c walk_state); walk_state 598 drivers/acpi/acpica/dsmthdat.c walk_state, walk_state 613 drivers/acpi/acpica/dsmthdat.c acpi_ds_method_data_delete_value(type, index, walk_state); walk_state 623 drivers/acpi/acpica/dsmthdat.c walk_state); walk_state 652 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state) walk_state 662 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(opcode, index, walk_state, &node); walk_state 36 drivers/acpi/acpica/dsobject.c acpi_ds_build_internal_object(struct acpi_walk_state *walk_state, walk_state 68 drivers/acpi/acpica/dsobject.c status = acpi_ns_lookup(walk_state->scope_info, walk_state 80 drivers/acpi/acpica/dsobject.c ACPI_ERROR_NAMESPACE(walk_state-> walk_state 102 drivers/acpi/acpica/dsobject.c acpi_ds_init_object_from_op(walk_state, op, op->common.aml_opcode, walk_state 124 drivers/acpi/acpica/dsobject.c walk_state->scope_info->scope.node; walk_state 151 drivers/acpi/acpica/dsobject.c acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state, walk_state 253 drivers/acpi/acpica/dsobject.c acpi_ds_create_node(struct acpi_walk_state *walk_state, walk_state 281 drivers/acpi/acpica/dsobject.c acpi_ds_build_internal_object(walk_state, op->common.value.arg, walk_state 319 drivers/acpi/acpica/dsobject.c acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, walk_state 348 drivers/acpi/acpica/dsobject.c walk_state->operands[0]); walk_state 363 drivers/acpi/acpica/dsobject.c walk_state->operands[0]); walk_state 476 drivers/acpi/acpica/dsobject.c value, walk_state, walk_state 495 drivers/acpi/acpica/dsobject.c walk_state, walk_state 266 drivers/acpi/acpica/dsopcode.c acpi_ds_eval_buffer_field_operands(struct acpi_walk_state *walk_state, walk_state 288 drivers/acpi/acpica/dsopcode.c status = acpi_ds_create_operands(walk_state, next_op); walk_state 302 drivers/acpi/acpica/dsopcode.c walk_state); walk_state 319 drivers/acpi/acpica/dsopcode.c walk_state->operands[0], walk_state 320 drivers/acpi/acpica/dsopcode.c walk_state->operands[1], walk_state 321 drivers/acpi/acpica/dsopcode.c walk_state->operands[2], walk_state 322 drivers/acpi/acpica/dsopcode.c walk_state->operands[3]); walk_state 328 drivers/acpi/acpica/dsopcode.c walk_state->operands[0], walk_state 329 drivers/acpi/acpica/dsopcode.c walk_state->operands[1], NULL, walk_state 330 drivers/acpi/acpica/dsopcode.c walk_state->operands[2]); walk_state 351 drivers/acpi/acpica/dsopcode.c acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state, walk_state 380 drivers/acpi/acpica/dsopcode.c status = acpi_ds_create_operands(walk_state, next_op); walk_state 389 drivers/acpi/acpica/dsopcode.c walk_state); walk_state 403 drivers/acpi/acpica/dsopcode.c operand_desc = walk_state->operands[walk_state->num_operands - 1]; walk_state 421 drivers/acpi/acpica/dsopcode.c operand_desc = walk_state->operands[walk_state->num_operands - 2]; walk_state 458 drivers/acpi/acpica/dsopcode.c acpi_ds_eval_table_region_operands(struct acpi_walk_state *walk_state, walk_state 485 drivers/acpi/acpica/dsopcode.c status = acpi_ds_create_operands(walk_state, next_op); walk_state 490 drivers/acpi/acpica/dsopcode.c operand = &walk_state->operands[0]; walk_state 498 drivers/acpi/acpica/dsopcode.c walk_state); walk_state 566 drivers/acpi/acpica/dsopcode.c acpi_ds_eval_data_object_operands(struct acpi_walk_state *walk_state, walk_state 582 drivers/acpi/acpica/dsopcode.c walk_state->operand_index = walk_state->num_operands; walk_state 593 drivers/acpi/acpica/dsopcode.c status = acpi_ds_create_operand(walk_state, op->common.value.arg, 1); walk_state 598 drivers/acpi/acpica/dsopcode.c status = acpi_ex_resolve_operands(walk_state->opcode, walk_state 599 drivers/acpi/acpica/dsopcode.c &(walk_state-> walk_state 600 drivers/acpi/acpica/dsopcode.c operands[walk_state->num_operands - walk_state 601 drivers/acpi/acpica/dsopcode.c 1]), walk_state); walk_state 608 drivers/acpi/acpica/dsopcode.c arg_desc = walk_state->operands[walk_state->num_operands - 1]; walk_state 613 drivers/acpi/acpica/dsopcode.c status = acpi_ds_obj_stack_pop(1, walk_state); walk_state 627 drivers/acpi/acpica/dsopcode.c acpi_ds_build_internal_buffer_obj(walk_state, op, length, walk_state 635 drivers/acpi/acpica/dsopcode.c acpi_ds_build_internal_package_obj(walk_state, op, length, walk_state 656 drivers/acpi/acpica/dsopcode.c walk_state->result_obj = obj_desc; walk_state 678 drivers/acpi/acpica/dsopcode.c acpi_ds_eval_bank_field_operands(struct acpi_walk_state *walk_state, walk_state 713 drivers/acpi/acpica/dsopcode.c walk_state->operand_index = 0; walk_state 715 drivers/acpi/acpica/dsopcode.c status = acpi_ds_create_operand(walk_state, next_op, 0); walk_state 720 drivers/acpi/acpica/dsopcode.c status = acpi_ex_resolve_to_value(&walk_state->operands[0], walk_state); walk_state 731 drivers/acpi/acpica/dsopcode.c operand_desc = walk_state->operands[0]; walk_state 55 drivers/acpi/acpica/dspkginit.c acpi_ds_build_internal_package_obj(struct acpi_walk_state *walk_state, walk_state 73 drivers/acpi/acpica/dspkginit.c if (walk_state->parse_flags & ACPI_PARSE_MODULE_LEVEL) { walk_state 139 drivers/acpi/acpica/dspkginit.c obj_desc->package.aml_start = walk_state->aml; walk_state 176 drivers/acpi/acpica/dspkginit.c acpi_ut_remove_reference(walk_state->results-> walk_state 188 drivers/acpi/acpica/dspkginit.c acpi_ds_build_internal_object(walk_state, walk_state 202 drivers/acpi/acpica/dspkginit.c acpi_ds_build_internal_object(walk_state, arg, walk_state 34 drivers/acpi/acpica/dsutils.c void acpi_ds_clear_implicit_return(struct acpi_walk_state *walk_state) walk_state 45 drivers/acpi/acpica/dsutils.c if (walk_state->implicit_return_obj) { walk_state 53 drivers/acpi/acpica/dsutils.c walk_state->implicit_return_obj)); walk_state 55 drivers/acpi/acpica/dsutils.c acpi_ut_remove_reference(walk_state->implicit_return_obj); walk_state 56 drivers/acpi/acpica/dsutils.c walk_state->implicit_return_obj = NULL; walk_state 80 drivers/acpi/acpica/dsutils.c struct acpi_walk_state *walk_state, u8 add_reference) walk_state 94 drivers/acpi/acpica/dsutils.c return_desc, walk_state->implicit_return_obj)); walk_state 102 drivers/acpi/acpica/dsutils.c if (walk_state->implicit_return_obj) { walk_state 103 drivers/acpi/acpica/dsutils.c if (walk_state->implicit_return_obj == return_desc) { walk_state 106 drivers/acpi/acpica/dsutils.c acpi_ds_clear_implicit_return(walk_state); walk_state 111 drivers/acpi/acpica/dsutils.c walk_state->implicit_return_obj = return_desc; walk_state 134 drivers/acpi/acpica/dsutils.c struct acpi_walk_state * walk_state) walk_state 156 drivers/acpi/acpica/dsutils.c (void)acpi_ds_do_implicit_return(walk_state->result_obj, walk_state, walk_state 210 drivers/acpi/acpica/dsutils.c if ((walk_state->control_state->common.state == walk_state 212 drivers/acpi/acpica/dsutils.c (walk_state->control_state->control.predicate_op == walk_state 304 drivers/acpi/acpica/dsutils.c struct acpi_walk_state *walk_state) walk_state 320 drivers/acpi/acpica/dsutils.c if (!acpi_ds_is_result_used(op, walk_state)) { walk_state 324 drivers/acpi/acpica/dsutils.c status = acpi_ds_result_pop(&obj_desc, walk_state); walk_state 347 drivers/acpi/acpica/dsutils.c acpi_status acpi_ds_resolve_operands(struct acpi_walk_state *walk_state) walk_state 352 drivers/acpi/acpica/dsutils.c ACPI_FUNCTION_TRACE_PTR(ds_resolve_operands, walk_state); walk_state 359 drivers/acpi/acpica/dsutils.c for (i = 0; i < walk_state->num_operands; i++) { walk_state 361 drivers/acpi/acpica/dsutils.c acpi_ex_resolve_to_value(&walk_state->operands[i], walk_state 362 drivers/acpi/acpica/dsutils.c walk_state); walk_state 383 drivers/acpi/acpica/dsutils.c void acpi_ds_clear_operands(struct acpi_walk_state *walk_state) walk_state 387 drivers/acpi/acpica/dsutils.c ACPI_FUNCTION_TRACE_PTR(ds_clear_operands, walk_state); walk_state 391 drivers/acpi/acpica/dsutils.c for (i = 0; i < walk_state->num_operands; i++) { walk_state 396 drivers/acpi/acpica/dsutils.c acpi_ut_remove_reference(walk_state->operands[i]); walk_state 397 drivers/acpi/acpica/dsutils.c walk_state->operands[i] = NULL; walk_state 400 drivers/acpi/acpica/dsutils.c walk_state->num_operands = 0; walk_state 422 drivers/acpi/acpica/dsutils.c acpi_ds_create_operand(struct acpi_walk_state *walk_state, walk_state 465 drivers/acpi/acpica/dsutils.c if ((walk_state->deferred_node) && walk_state 466 drivers/acpi/acpica/dsutils.c (walk_state->deferred_node->type == ACPI_TYPE_BUFFER_FIELD) walk_state 468 drivers/acpi/acpica/dsutils.c ((walk_state->opcode == AML_CREATE_FIELD_OP) ? 3 : 2))) { walk_state 471 drivers/acpi/acpica/dsutils.c walk_state->deferred_node); walk_state 503 drivers/acpi/acpica/dsutils.c acpi_ns_lookup(walk_state->scope_info, name_string, walk_state 506 drivers/acpi/acpica/dsutils.c ACPI_NS_DONT_OPEN_SCOPE, walk_state, walk_state 548 drivers/acpi/acpica/dsutils.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 565 drivers/acpi/acpica/dsutils.c status = acpi_ds_obj_stack_push(obj_desc, walk_state); walk_state 570 drivers/acpi/acpica/dsutils.c acpi_db_display_argument_object(obj_desc, walk_state); walk_state 603 drivers/acpi/acpica/dsutils.c status = acpi_ds_result_pop(&obj_desc, walk_state); walk_state 626 drivers/acpi/acpica/dsutils.c acpi_ds_init_object_from_op(walk_state, arg, opcode, walk_state 636 drivers/acpi/acpica/dsutils.c status = acpi_ds_obj_stack_push(obj_desc, walk_state); walk_state 641 drivers/acpi/acpica/dsutils.c acpi_db_display_argument_object(obj_desc, walk_state); walk_state 663 drivers/acpi/acpica/dsutils.c acpi_ds_create_operands(struct acpi_walk_state *walk_state, walk_state 670 drivers/acpi/acpica/dsutils.c u32 index = walk_state->num_operands; walk_state 684 drivers/acpi/acpica/dsutils.c walk_state->operands[index] = NULL; walk_state 695 drivers/acpi/acpica/dsutils.c walk_state->num_operands, arg_count, index)); walk_state 702 drivers/acpi/acpica/dsutils.c walk_state->operand_index = (u8)index; walk_state 704 drivers/acpi/acpica/dsutils.c status = acpi_ds_create_operand(walk_state, arg, index); walk_state 723 drivers/acpi/acpica/dsutils.c acpi_ds_obj_stack_pop_and_delete(arg_count, walk_state); walk_state 745 drivers/acpi/acpica/dsutils.c acpi_status acpi_ds_evaluate_name_path(struct acpi_walk_state *walk_state) walk_state 748 drivers/acpi/acpica/dsutils.c union acpi_parse_object *op = walk_state->op; walk_state 749 drivers/acpi/acpica/dsutils.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 753 drivers/acpi/acpica/dsutils.c ACPI_FUNCTION_TRACE_PTR(ds_evaluate_name_path, walk_state); walk_state 771 drivers/acpi/acpica/dsutils.c status = acpi_ds_create_operand(walk_state, op, 0); walk_state 783 drivers/acpi/acpica/dsutils.c status = acpi_ex_resolve_to_value(operand, walk_state); walk_state 796 drivers/acpi/acpica/dsutils.c walk_state); walk_state 810 drivers/acpi/acpica/dsutils.c status = acpi_ds_obj_stack_pop(1, walk_state); walk_state 812 drivers/acpi/acpica/dsutils.c walk_state->result_obj = new_obj_desc; walk_state 818 drivers/acpi/acpica/dsutils.c walk_state->result_obj = new_obj_desc; walk_state 820 drivers/acpi/acpica/dsutils.c status = acpi_ds_result_push(walk_state->result_obj, walk_state); walk_state 58 drivers/acpi/acpica/dswexec.c acpi_ds_get_predicate_value(struct acpi_walk_state *walk_state, walk_state 65 drivers/acpi/acpica/dswexec.c ACPI_FUNCTION_TRACE_PTR(ds_get_predicate_value, walk_state); walk_state 67 drivers/acpi/acpica/dswexec.c walk_state->control_state->common.state = 0; walk_state 70 drivers/acpi/acpica/dswexec.c status = acpi_ds_result_pop(&obj_desc, walk_state); walk_state 78 drivers/acpi/acpica/dswexec.c status = acpi_ds_create_operand(walk_state, walk_state->op, 0); walk_state 84 drivers/acpi/acpica/dswexec.c acpi_ex_resolve_to_value(&walk_state->operands[0], walk_state 85 drivers/acpi/acpica/dswexec.c walk_state); walk_state 90 drivers/acpi/acpica/dswexec.c obj_desc = walk_state->operands[0]; walk_state 96 drivers/acpi/acpica/dswexec.c obj_desc, walk_state)); walk_state 114 drivers/acpi/acpica/dswexec.c obj_desc, walk_state, obj_desc->common.type)); walk_state 129 drivers/acpi/acpica/dswexec.c walk_state->control_state->common.value = TRUE; walk_state 135 drivers/acpi/acpica/dswexec.c walk_state->control_state->common.value = FALSE; walk_state 141 drivers/acpi/acpica/dswexec.c (void)acpi_ds_do_implicit_return(local_obj_desc, walk_state, TRUE); walk_state 147 drivers/acpi/acpica/dswexec.c walk_state->control_state->common.value, walk_state 148 drivers/acpi/acpica/dswexec.c walk_state->op)); walk_state 152 drivers/acpi/acpica/dswexec.c acpi_db_display_result_object(local_obj_desc, walk_state); walk_state 163 drivers/acpi/acpica/dswexec.c walk_state->control_state->common.state = ACPI_CONTROL_NORMAL; walk_state 183 drivers/acpi/acpica/dswexec.c acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state, walk_state 190 drivers/acpi/acpica/dswexec.c ACPI_FUNCTION_TRACE_PTR(ds_exec_begin_op, walk_state); walk_state 192 drivers/acpi/acpica/dswexec.c op = walk_state->op; walk_state 194 drivers/acpi/acpica/dswexec.c status = acpi_ds_load2_begin_op(walk_state, out_op); walk_state 200 drivers/acpi/acpica/dswexec.c walk_state->op = op; walk_state 201 drivers/acpi/acpica/dswexec.c walk_state->opcode = op->common.aml_opcode; walk_state 202 drivers/acpi/acpica/dswexec.c walk_state->op_info = walk_state 205 drivers/acpi/acpica/dswexec.c if (acpi_ns_opens_scope(walk_state->op_info->object_type)) { walk_state 208 drivers/acpi/acpica/dswexec.c acpi_ut_get_type_name(walk_state-> walk_state 213 drivers/acpi/acpica/dswexec.c status = acpi_ds_scope_stack_pop(walk_state); walk_state 220 drivers/acpi/acpica/dswexec.c if (op == walk_state->origin) { walk_state 233 drivers/acpi/acpica/dswexec.c if ((walk_state->control_state) && walk_state 234 drivers/acpi/acpica/dswexec.c (walk_state->control_state->common.state == walk_state 238 drivers/acpi/acpica/dswexec.c op, walk_state)); walk_state 240 drivers/acpi/acpica/dswexec.c walk_state->control_state->common.state = walk_state 245 drivers/acpi/acpica/dswexec.c walk_state->control_state->control.predicate_op = op; walk_state 248 drivers/acpi/acpica/dswexec.c opcode_class = walk_state->op_info->class; walk_state 262 drivers/acpi/acpica/dswexec.c status = acpi_ds_exec_begin_control_op(walk_state, op); walk_state 267 drivers/acpi/acpica/dswexec.c if (walk_state->walk_type & ACPI_WALK_METHOD) { walk_state 281 drivers/acpi/acpica/dswexec.c acpi_ds_load2_begin_op(walk_state, NULL); walk_state 286 drivers/acpi/acpica/dswexec.c type, walk_state); walk_state 309 drivers/acpi/acpica/dswexec.c status = acpi_ds_method_error(status, walk_state); walk_state 327 drivers/acpi/acpica/dswexec.c acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state) walk_state 340 drivers/acpi/acpica/dswexec.c ACPI_FUNCTION_TRACE_PTR(ds_exec_end_op, walk_state); walk_state 342 drivers/acpi/acpica/dswexec.c op = walk_state->op; walk_state 343 drivers/acpi/acpica/dswexec.c op_type = walk_state->op_info->type; walk_state 344 drivers/acpi/acpica/dswexec.c op_class = walk_state->op_info->class; walk_state 356 drivers/acpi/acpica/dswexec.c walk_state->num_operands = 0; walk_state 357 drivers/acpi/acpica/dswexec.c walk_state->operand_index = 0; walk_state 358 drivers/acpi/acpica/dswexec.c walk_state->return_desc = NULL; walk_state 359 drivers/acpi/acpica/dswexec.c walk_state->result_obj = NULL; walk_state 363 drivers/acpi/acpica/dswexec.c status = acpi_db_single_step(walk_state, op, op_class); walk_state 373 drivers/acpi/acpica/dswexec.c if (walk_state->opcode == AML_INT_NAMEPATH_OP) { walk_state 374 drivers/acpi/acpica/dswexec.c status = acpi_ds_evaluate_name_path(walk_state); walk_state 385 drivers/acpi/acpica/dswexec.c status = acpi_ds_create_operands(walk_state, first_arg); walk_state 394 drivers/acpi/acpica/dswexec.c if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE)) { walk_state 398 drivers/acpi/acpica/dswexec.c status = acpi_ex_resolve_operands(walk_state->opcode, walk_state 399 drivers/acpi/acpica/dswexec.c &(walk_state-> walk_state 401 drivers/acpi/acpica/dswexec.c [walk_state-> walk_state 403 drivers/acpi/acpica/dswexec.c walk_state); walk_state 413 drivers/acpi/acpica/dswexec.c acpi_gbl_op_type_dispatch[op_type] (walk_state); walk_state 420 drivers/acpi/acpica/dswexec.c (walk_state->opcode == AML_STORE_OP) && walk_state 421 drivers/acpi/acpica/dswexec.c (walk_state->operands[0]->common.type == walk_state 423 drivers/acpi/acpica/dswexec.c && (walk_state->operands[1]->common.type == walk_state 425 drivers/acpi/acpica/dswexec.c && (walk_state->operands[0]->reference.class == walk_state 426 drivers/acpi/acpica/dswexec.c walk_state->operands[1]->reference.class) walk_state 427 drivers/acpi/acpica/dswexec.c && (walk_state->operands[0]->reference.value == walk_state 428 drivers/acpi/acpica/dswexec.c walk_state->operands[1]->reference.value)) { walk_state 434 drivers/acpi/acpica/dswexec.c (walk_state->opcode))); walk_state 440 drivers/acpi/acpica/dswexec.c acpi_ds_clear_operands(walk_state); walk_state 446 drivers/acpi/acpica/dswexec.c if (ACPI_SUCCESS(status) && walk_state->result_obj) { walk_state 448 drivers/acpi/acpica/dswexec.c acpi_ds_result_push(walk_state->result_obj, walk_state 449 drivers/acpi/acpica/dswexec.c walk_state); walk_state 460 drivers/acpi/acpica/dswexec.c status = acpi_ds_exec_end_control_op(walk_state, op); walk_state 503 drivers/acpi/acpica/dswexec.c status = acpi_ds_create_operands(walk_state, next_op); walk_state 513 drivers/acpi/acpica/dswexec.c status = acpi_ds_resolve_operands(walk_state); walk_state 518 drivers/acpi/acpica/dswexec.c acpi_ds_clear_operands(walk_state); walk_state 540 drivers/acpi/acpica/dswexec.c status = acpi_ds_load2_end_op(walk_state); walk_state 546 drivers/acpi/acpica/dswexec.c acpi_ds_eval_buffer_field_operands(walk_state, op); walk_state 589 drivers/acpi/acpica/dswexec.c walk_state->operands[0] = (void *) walk_state 591 drivers/acpi/acpica/dswexec.c walk_state->num_operands = 1; walk_state 593 drivers/acpi/acpica/dswexec.c status = acpi_ds_create_node(walk_state, walk_state 608 drivers/acpi/acpica/dswexec.c (walk_state, op, walk_state 618 drivers/acpi/acpica/dswexec.c (walk_state, op, NULL); walk_state 626 drivers/acpi/acpica/dswexec.c if (walk_state->result_obj) { walk_state 628 drivers/acpi/acpica/dswexec.c acpi_ds_result_push(walk_state->result_obj, walk_state 629 drivers/acpi/acpica/dswexec.c walk_state); walk_state 638 drivers/acpi/acpica/dswexec.c status = acpi_ds_load2_end_op(walk_state); walk_state 649 drivers/acpi/acpica/dswexec.c acpi_ds_eval_region_operands(walk_state, walk_state 661 drivers/acpi/acpica/dswexec.c (walk_state, op); walk_state 671 drivers/acpi/acpica/dswexec.c acpi_ds_eval_bank_field_operands(walk_state, walk_state 689 drivers/acpi/acpica/dswexec.c walk_state->opcode, op)); walk_state 709 drivers/acpi/acpica/dswexec.c (void)acpi_ex_truncate_for32bit_table(walk_state->result_obj); walk_state 716 drivers/acpi/acpica/dswexec.c (walk_state->control_state) && walk_state 717 drivers/acpi/acpica/dswexec.c (walk_state->control_state->common.state == walk_state 719 drivers/acpi/acpica/dswexec.c (walk_state->control_state->control.predicate_op == op)) { walk_state 721 drivers/acpi/acpica/dswexec.c acpi_ds_get_predicate_value(walk_state, walk_state 722 drivers/acpi/acpica/dswexec.c walk_state->result_obj); walk_state 723 drivers/acpi/acpica/dswexec.c walk_state->result_obj = NULL; walk_state 728 drivers/acpi/acpica/dswexec.c if (walk_state->result_obj) { walk_state 732 drivers/acpi/acpica/dswexec.c acpi_db_display_result_object(walk_state->result_obj, walk_state 733 drivers/acpi/acpica/dswexec.c walk_state); walk_state 740 drivers/acpi/acpica/dswexec.c acpi_ds_delete_result_if_not_used(op, walk_state->result_obj, walk_state 741 drivers/acpi/acpica/dswexec.c walk_state); walk_state 745 drivers/acpi/acpica/dswexec.c if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { walk_state 746 drivers/acpi/acpica/dswexec.c acpi_db_method_end(walk_state); walk_state 753 drivers/acpi/acpica/dswexec.c status = acpi_ds_method_error(status, walk_state); walk_state 758 drivers/acpi/acpica/dswexec.c walk_state->num_operands = 0; walk_state 37 drivers/acpi/acpica/dswload.c acpi_ds_init_callbacks(struct acpi_walk_state *walk_state, u32 pass_number) walk_state 45 drivers/acpi/acpica/dswload.c walk_state->parse_flags = ACPI_PARSE_LOAD_PASS1 | walk_state 47 drivers/acpi/acpica/dswload.c walk_state->descending_callback = NULL; walk_state 48 drivers/acpi/acpica/dswload.c walk_state->ascending_callback = NULL; walk_state 55 drivers/acpi/acpica/dswload.c walk_state->parse_flags = ACPI_PARSE_LOAD_PASS1 | walk_state 57 drivers/acpi/acpica/dswload.c walk_state->descending_callback = acpi_ds_load1_begin_op; walk_state 58 drivers/acpi/acpica/dswload.c walk_state->ascending_callback = acpi_ds_load1_end_op; walk_state 65 drivers/acpi/acpica/dswload.c walk_state->parse_flags = ACPI_PARSE_LOAD_PASS1 | walk_state 67 drivers/acpi/acpica/dswload.c walk_state->descending_callback = acpi_ds_load2_begin_op; walk_state 68 drivers/acpi/acpica/dswload.c walk_state->ascending_callback = acpi_ds_load2_end_op; walk_state 75 drivers/acpi/acpica/dswload.c walk_state->parse_flags |= ACPI_PARSE_EXECUTE | walk_state 77 drivers/acpi/acpica/dswload.c walk_state->descending_callback = acpi_ds_exec_begin_op; walk_state 78 drivers/acpi/acpica/dswload.c walk_state->ascending_callback = acpi_ds_exec_end_op; walk_state 103 drivers/acpi/acpica/dswload.c acpi_ds_load1_begin_op(struct acpi_walk_state *walk_state, walk_state 113 drivers/acpi/acpica/dswload.c ACPI_FUNCTION_TRACE_PTR(ds_load1_begin_op, walk_state->op); walk_state 115 drivers/acpi/acpica/dswload.c op = walk_state->op; walk_state 117 drivers/acpi/acpica/dswload.c walk_state)); walk_state 122 drivers/acpi/acpica/dswload.c if (!(walk_state->op_info->flags & AML_NAMED)) { walk_state 135 drivers/acpi/acpica/dswload.c path = acpi_ps_get_next_namestring(&walk_state->parser_state); walk_state 139 drivers/acpi/acpica/dswload.c object_type = walk_state->op_info->object_type; walk_state 142 drivers/acpi/acpica/dswload.c "State=%p Op=%p [%s]\n", walk_state, op, walk_state 145 drivers/acpi/acpica/dswload.c switch (walk_state->opcode) { walk_state 153 drivers/acpi/acpica/dswload.c acpi_ns_lookup(walk_state->scope_info, path, object_type, walk_state 155 drivers/acpi/acpica/dswload.c walk_state, &(node)); walk_state 166 drivers/acpi/acpica/dswload.c acpi_ns_lookup(walk_state->scope_info, path, walk_state 168 drivers/acpi/acpica/dswload.c ACPI_NS_SEARCH_PARENT, walk_state, walk_state 173 drivers/acpi/acpica/dswload.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, path, walk_state 213 drivers/acpi/acpica/dswload.c walk_state->scope_info->common.value = ACPI_TYPE_ANY; walk_state 222 drivers/acpi/acpica/dswload.c (walk_state-> walk_state 260 drivers/acpi/acpica/dswload.c if (walk_state->deferred_node) { walk_state 264 drivers/acpi/acpica/dswload.c node = walk_state->deferred_node; walk_state 273 drivers/acpi/acpica/dswload.c if (walk_state->method_node) { walk_state 280 drivers/acpi/acpica/dswload.c if ((walk_state->opcode != AML_SCOPE_OP) && walk_state 281 drivers/acpi/acpica/dswload.c (!(walk_state->parse_flags & ACPI_PARSE_DEFERRED_OP))) { walk_state 282 drivers/acpi/acpica/dswload.c if (walk_state->namespace_override) { walk_state 308 drivers/acpi/acpica/dswload.c acpi_ns_lookup(walk_state->scope_info, path, object_type, walk_state 309 drivers/acpi/acpica/dswload.c ACPI_IMODE_LOAD_PASS1, flags, walk_state, walk_state 330 drivers/acpi/acpica/dswload.c walk_state); walk_state 342 drivers/acpi/acpica/dswload.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 356 drivers/acpi/acpica/dswload.c op = acpi_ps_alloc_op(walk_state->opcode, walk_state->aml); walk_state 377 drivers/acpi/acpica/dswload.c acpi_ps_append_arg(acpi_ps_get_parent_scope(&walk_state->parser_state), walk_state 396 drivers/acpi/acpica/dswload.c acpi_status acpi_ds_load1_end_op(struct acpi_walk_state *walk_state) walk_state 407 drivers/acpi/acpica/dswload.c op = walk_state->op; walk_state 409 drivers/acpi/acpica/dswload.c walk_state)); walk_state 426 drivers/acpi/acpica/dswload.c if ((walk_state->parse_flags & ACPI_PARSE_DISASSEMBLE) && walk_state 427 drivers/acpi/acpica/dswload.c (walk_state->op_info->flags & AML_CREATE)) { walk_state 428 drivers/acpi/acpica/dswload.c status = acpi_ds_create_buffer_field(op, walk_state); walk_state 434 drivers/acpi/acpica/dswload.c if (!(walk_state->op_info->flags & (AML_NAMED | AML_FIELD))) { walk_state 440 drivers/acpi/acpica/dswload.c object_type = walk_state->op_info->object_type; walk_state 442 drivers/acpi/acpica/dswload.c if (walk_state->op_info->flags & AML_FIELD) { walk_state 447 drivers/acpi/acpica/dswload.c if (!walk_state->method_node) { walk_state 448 drivers/acpi/acpica/dswload.c if (walk_state->opcode == AML_FIELD_OP || walk_state 449 drivers/acpi/acpica/dswload.c walk_state->opcode == AML_BANK_FIELD_OP || walk_state 450 drivers/acpi/acpica/dswload.c walk_state->opcode == AML_INDEX_FIELD_OP) { walk_state 452 drivers/acpi/acpica/dswload.c acpi_ds_init_field_objects(op, walk_state); walk_state 462 drivers/acpi/acpica/dswload.c if (!walk_state->method_node) { walk_state 470 drivers/acpi/acpica/dswload.c walk_state); walk_state 479 drivers/acpi/acpica/dswload.c walk_state); walk_state 541 drivers/acpi/acpica/dswload.c if (!walk_state->method_node) { walk_state 553 drivers/acpi/acpica/dswload.c walk_state, op, op->named.node)); walk_state 556 drivers/acpi/acpica/dswload.c walk_state->operands[0] = walk_state 558 drivers/acpi/acpica/dswload.c walk_state->num_operands = 1; walk_state 561 drivers/acpi/acpica/dswload.c acpi_ds_create_operands(walk_state, walk_state 570 drivers/acpi/acpica/dswload.c walk_state); walk_state 573 drivers/acpi/acpica/dswload.c walk_state->operands[0] = NULL; walk_state 574 drivers/acpi/acpica/dswload.c walk_state->num_operands = 0; walk_state 585 drivers/acpi/acpica/dswload.c if (!walk_state->method_node && walk_state 592 drivers/acpi/acpica/dswload.c status = acpi_ds_scope_stack_pop(walk_state); walk_state 38 drivers/acpi/acpica/dswload2.c acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state, walk_state 50 drivers/acpi/acpica/dswload2.c op = walk_state->op; walk_state 52 drivers/acpi/acpica/dswload2.c walk_state)); walk_state 55 drivers/acpi/acpica/dswload2.c if ((walk_state->control_state) && walk_state 56 drivers/acpi/acpica/dswload2.c (walk_state->control_state->common.state == walk_state 61 drivers/acpi/acpica/dswload2.c status = acpi_ds_exec_begin_op(walk_state, out_op); walk_state 67 drivers/acpi/acpica/dswload2.c if ((!(walk_state->op_info->flags & AML_NSOPCODE) && walk_state 68 drivers/acpi/acpica/dswload2.c (walk_state->opcode != AML_INT_NAMEPATH_OP)) || walk_state 69 drivers/acpi/acpica/dswload2.c (!(walk_state->op_info->flags & AML_NAMED))) { walk_state 75 drivers/acpi/acpica/dswload2.c if (walk_state->opcode == AML_INT_NAMEPATH_OP) { walk_state 95 drivers/acpi/acpica/dswload2.c acpi_ps_get_next_namestring(&walk_state->parser_state); walk_state 100 drivers/acpi/acpica/dswload2.c object_type = walk_state->op_info->object_type; walk_state 103 drivers/acpi/acpica/dswload2.c "State=%p Op=%p Type=%X\n", walk_state, op, walk_state 106 drivers/acpi/acpica/dswload2.c switch (walk_state->opcode) { walk_state 122 drivers/acpi/acpica/dswload2.c acpi_ns_lookup(walk_state->scope_info, buffer_ptr, walk_state 124 drivers/acpi/acpica/dswload2.c ACPI_NS_SEARCH_PARENT, walk_state, &(node)); walk_state 136 drivers/acpi/acpica/dswload2.c walk_state); walk_state 147 drivers/acpi/acpica/dswload2.c acpi_ns_lookup(walk_state->scope_info, buffer_ptr, walk_state 149 drivers/acpi/acpica/dswload2.c ACPI_NS_SEARCH_PARENT, walk_state, walk_state 156 drivers/acpi/acpica/dswload2.c ACPI_ERROR_NAMESPACE(walk_state-> walk_state 162 drivers/acpi/acpica/dswload2.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 202 drivers/acpi/acpica/dswload2.c walk_state->scope_info->common.value = ACPI_TYPE_ANY; walk_state 212 drivers/acpi/acpica/dswload2.c (walk_state-> walk_state 246 drivers/acpi/acpica/dswload2.c walk_state); walk_state 263 drivers/acpi/acpica/dswload2.c if (walk_state->deferred_node) { walk_state 267 drivers/acpi/acpica/dswload2.c node = walk_state->deferred_node; walk_state 273 drivers/acpi/acpica/dswload2.c if (walk_state->pass_number == ACPI_IMODE_EXECUTE) { walk_state 280 drivers/acpi/acpica/dswload2.c (walk_state-> walk_state 297 drivers/acpi/acpica/dswload2.c if (walk_state->opcode == AML_EXTERNAL_OP) { walk_state 306 drivers/acpi/acpica/dswload2.c if (walk_state->op_info->flags & AML_NAMED) { walk_state 313 drivers/acpi/acpica/dswload2.c acpi_ns_lookup(walk_state->scope_info, buffer_ptr, walk_state 315 drivers/acpi/acpica/dswload2.c walk_state, &node); walk_state 326 drivers/acpi/acpica/dswload2.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 335 drivers/acpi/acpica/dswload2.c op = acpi_ps_alloc_op(walk_state->opcode, walk_state->aml); walk_state 369 drivers/acpi/acpica/dswload2.c acpi_status acpi_ds_load2_end_op(struct acpi_walk_state *walk_state) walk_state 386 drivers/acpi/acpica/dswload2.c op = walk_state->op; walk_state 388 drivers/acpi/acpica/dswload2.c walk_state->op_info->name, op, walk_state)); walk_state 392 drivers/acpi/acpica/dswload2.c if (!(walk_state->op_info->flags & AML_NSOBJECT)) { walk_state 399 drivers/acpi/acpica/dswload2.c walk_state)); walk_state 402 drivers/acpi/acpica/dswload2.c object_type = walk_state->op_info->object_type; walk_state 414 drivers/acpi/acpica/dswload2.c walk_state->operands[0] = (void *)node; walk_state 415 drivers/acpi/acpica/dswload2.c walk_state->num_operands = 1; walk_state 425 drivers/acpi/acpica/dswload2.c status = acpi_ds_scope_stack_pop(walk_state); walk_state 462 drivers/acpi/acpica/dswload2.c walk_state, op, node)); walk_state 468 drivers/acpi/acpica/dswload2.c switch (walk_state->op_info->type) { walk_state 475 drivers/acpi/acpica/dswload2.c status = acpi_ds_create_buffer_field(op, walk_state); walk_state 487 drivers/acpi/acpica/dswload2.c if (walk_state->method_node) { walk_state 488 drivers/acpi/acpica/dswload2.c status = acpi_ds_init_field_objects(op, walk_state); walk_state 497 drivers/acpi/acpica/dswload2.c node, walk_state); walk_state 504 drivers/acpi/acpica/dswload2.c walk_state); walk_state 511 drivers/acpi/acpica/dswload2.c walk_state); walk_state 523 drivers/acpi/acpica/dswload2.c status = acpi_ds_create_operands(walk_state, arg); walk_state 531 drivers/acpi/acpica/dswload2.c status = acpi_ex_create_processor(walk_state); walk_state 536 drivers/acpi/acpica/dswload2.c status = acpi_ex_create_power_resource(walk_state); walk_state 541 drivers/acpi/acpica/dswload2.c status = acpi_ex_create_mutex(walk_state); walk_state 546 drivers/acpi/acpica/dswload2.c status = acpi_ex_create_event(walk_state); walk_state 551 drivers/acpi/acpica/dswload2.c status = acpi_ex_create_alias(walk_state); walk_state 564 drivers/acpi/acpica/dswload2.c for (i = 1; i < walk_state->num_operands; i++) { walk_state 565 drivers/acpi/acpica/dswload2.c acpi_ut_remove_reference(walk_state->operands[i]); walk_state 566 drivers/acpi/acpica/dswload2.c walk_state->operands[i] = NULL; walk_state 597 drivers/acpi/acpica/dswload2.c if (walk_state->method_node) { walk_state 605 drivers/acpi/acpica/dswload2.c walk_state); walk_state 618 drivers/acpi/acpica/dswload2.c status = acpi_ds_create_node(walk_state, node, op); walk_state 655 drivers/acpi/acpica/dswload2.c walk_state, op, op->named.node)); walk_state 658 drivers/acpi/acpica/dswload2.c walk_state->operands[0] = walk_state 660 drivers/acpi/acpica/dswload2.c walk_state->num_operands = 1; walk_state 663 drivers/acpi/acpica/dswload2.c acpi_ds_create_operands(walk_state, walk_state 672 drivers/acpi/acpica/dswload2.c walk_state); walk_state 675 drivers/acpi/acpica/dswload2.c walk_state->operands[0] = NULL; walk_state 676 drivers/acpi/acpica/dswload2.c walk_state->num_operands = 0; walk_state 700 drivers/acpi/acpica/dswload2.c walk_state, op, node)); walk_state 706 drivers/acpi/acpica/dswload2.c acpi_ns_lookup(walk_state->scope_info, walk_state 710 drivers/acpi/acpica/dswload2.c ACPI_NS_DONT_OPEN_SCOPE, walk_state, walk_state 728 drivers/acpi/acpica/dswload2.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, walk_state 742 drivers/acpi/acpica/dswload2.c walk_state->operands[0] = NULL; walk_state 743 drivers/acpi/acpica/dswload2.c walk_state->num_operands = 0; walk_state 29 drivers/acpi/acpica/dswscope.c void acpi_ds_scope_stack_clear(struct acpi_walk_state *walk_state) walk_state 35 drivers/acpi/acpica/dswscope.c while (walk_state->scope_info) { walk_state 39 drivers/acpi/acpica/dswscope.c scope_info = walk_state->scope_info; walk_state 40 drivers/acpi/acpica/dswscope.c walk_state->scope_info = scope_info->scope.next; walk_state 69 drivers/acpi/acpica/dswscope.c struct acpi_walk_state *walk_state) walk_state 103 drivers/acpi/acpica/dswscope.c walk_state->scope_depth++; walk_state 107 drivers/acpi/acpica/dswscope.c (u32) walk_state->scope_depth)); walk_state 109 drivers/acpi/acpica/dswscope.c old_scope_info = walk_state->scope_info; walk_state 128 drivers/acpi/acpica/dswscope.c acpi_ut_push_generic_state(&walk_state->scope_info, scope_info); walk_state 144 drivers/acpi/acpica/dswscope.c acpi_status acpi_ds_scope_stack_pop(struct acpi_walk_state *walk_state) walk_state 154 drivers/acpi/acpica/dswscope.c scope_info = acpi_ut_pop_generic_state(&walk_state->scope_info); walk_state 159 drivers/acpi/acpica/dswscope.c walk_state->scope_depth--; walk_state 163 drivers/acpi/acpica/dswscope.c (u32) walk_state->scope_depth, walk_state 167 drivers/acpi/acpica/dswscope.c new_scope_info = walk_state->scope_info; walk_state 21 drivers/acpi/acpica/dswstate.c acpi_ds_result_stack_push(struct acpi_walk_state *walk_state); walk_state 22 drivers/acpi/acpica/dswstate.c static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *walk_state); walk_state 39 drivers/acpi/acpica/dswstate.c struct acpi_walk_state *walk_state) walk_state 47 drivers/acpi/acpica/dswstate.c state = walk_state->results; walk_state 51 drivers/acpi/acpica/dswstate.c if (state && !walk_state->result_count) { walk_state 56 drivers/acpi/acpica/dswstate.c if (!state && walk_state->result_count) { walk_state 65 drivers/acpi/acpica/dswstate.c walk_state)); walk_state 71 drivers/acpi/acpica/dswstate.c walk_state->result_count--; walk_state 72 drivers/acpi/acpica/dswstate.c index = (u32)walk_state->result_count % ACPI_RESULTS_FRAME_OBJ_NUM; walk_state 78 drivers/acpi/acpica/dswstate.c walk_state)); walk_state 84 drivers/acpi/acpica/dswstate.c status = acpi_ds_result_stack_pop(walk_state); walk_state 93 drivers/acpi/acpica/dswstate.c index, walk_state, walk_state->result_count)); walk_state 113 drivers/acpi/acpica/dswstate.c struct acpi_walk_state *walk_state) walk_state 121 drivers/acpi/acpica/dswstate.c if (walk_state->result_count > walk_state->result_size) { walk_state 124 drivers/acpi/acpica/dswstate.c } else if (walk_state->result_count == walk_state->result_size) { walk_state 128 drivers/acpi/acpica/dswstate.c status = acpi_ds_result_stack_push(walk_state); walk_state 136 drivers/acpi/acpica/dswstate.c if (!(walk_state->result_count < walk_state->result_size)) { walk_state 141 drivers/acpi/acpica/dswstate.c state = walk_state->results; walk_state 150 drivers/acpi/acpica/dswstate.c object, walk_state, walk_state->result_count)); walk_state 156 drivers/acpi/acpica/dswstate.c index = (u32)walk_state->result_count % ACPI_RESULTS_FRAME_OBJ_NUM; walk_state 158 drivers/acpi/acpica/dswstate.c walk_state->result_count++; walk_state 164 drivers/acpi/acpica/dswstate.c object), walk_state, walk_state 165 drivers/acpi/acpica/dswstate.c walk_state->result_count, walk_state 166 drivers/acpi/acpica/dswstate.c walk_state->current_result)); walk_state 183 drivers/acpi/acpica/dswstate.c static acpi_status acpi_ds_result_stack_push(struct acpi_walk_state *walk_state) walk_state 191 drivers/acpi/acpica/dswstate.c if (((u32) walk_state->result_size + ACPI_RESULTS_FRAME_OBJ_NUM) > walk_state 194 drivers/acpi/acpica/dswstate.c walk_state, walk_state->result_size)); walk_state 204 drivers/acpi/acpica/dswstate.c acpi_ut_push_generic_state(&walk_state->results, state); walk_state 208 drivers/acpi/acpica/dswstate.c walk_state->result_size += ACPI_RESULTS_FRAME_OBJ_NUM; walk_state 211 drivers/acpi/acpica/dswstate.c state, walk_state)); walk_state 228 drivers/acpi/acpica/dswstate.c static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *walk_state) walk_state 236 drivers/acpi/acpica/dswstate.c if (walk_state->results == NULL) { walk_state 239 drivers/acpi/acpica/dswstate.c walk_state)); walk_state 243 drivers/acpi/acpica/dswstate.c if (walk_state->result_size < ACPI_RESULTS_FRAME_OBJ_NUM) { walk_state 248 drivers/acpi/acpica/dswstate.c state = acpi_ut_pop_generic_state(&walk_state->results); walk_state 253 drivers/acpi/acpica/dswstate.c walk_state->result_size -= ACPI_RESULTS_FRAME_OBJ_NUM; walk_state 257 drivers/acpi/acpica/dswstate.c state, walk_state->result_count, walk_state)); walk_state 276 drivers/acpi/acpica/dswstate.c acpi_ds_obj_stack_push(void *object, struct acpi_walk_state *walk_state) walk_state 282 drivers/acpi/acpica/dswstate.c if (walk_state->num_operands >= ACPI_OBJ_NUM_OPERANDS) { walk_state 285 drivers/acpi/acpica/dswstate.c object, walk_state, walk_state->num_operands)); walk_state 291 drivers/acpi/acpica/dswstate.c walk_state->operands[walk_state->operand_index] = object; walk_state 292 drivers/acpi/acpica/dswstate.c walk_state->num_operands++; walk_state 296 drivers/acpi/acpica/dswstate.c walk_state->operand_index++; walk_state 302 drivers/acpi/acpica/dswstate.c object), walk_state, walk_state 303 drivers/acpi/acpica/dswstate.c walk_state->num_operands)); walk_state 323 drivers/acpi/acpica/dswstate.c acpi_ds_obj_stack_pop(u32 pop_count, struct acpi_walk_state *walk_state) walk_state 333 drivers/acpi/acpica/dswstate.c if (walk_state->num_operands == 0) { walk_state 336 drivers/acpi/acpica/dswstate.c pop_count, walk_state, walk_state 337 drivers/acpi/acpica/dswstate.c walk_state->num_operands)); walk_state 343 drivers/acpi/acpica/dswstate.c walk_state->num_operands--; walk_state 344 drivers/acpi/acpica/dswstate.c walk_state->operands[walk_state->num_operands] = NULL; walk_state 348 drivers/acpi/acpica/dswstate.c pop_count, walk_state, walk_state->num_operands)); walk_state 369 drivers/acpi/acpica/dswstate.c struct acpi_walk_state *walk_state) walk_state 381 drivers/acpi/acpica/dswstate.c if (walk_state->num_operands == 0) { walk_state 387 drivers/acpi/acpica/dswstate.c walk_state->num_operands--; walk_state 388 drivers/acpi/acpica/dswstate.c obj_desc = walk_state->operands[i]; walk_state 390 drivers/acpi/acpica/dswstate.c acpi_ut_remove_reference(walk_state->operands[i]); walk_state 391 drivers/acpi/acpica/dswstate.c walk_state->operands[i] = NULL; walk_state 396 drivers/acpi/acpica/dswstate.c pop_count, walk_state, walk_state->num_operands)); walk_state 441 drivers/acpi/acpica/dswstate.c acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, walk_state 446 drivers/acpi/acpica/dswstate.c walk_state->next = thread->walk_state_list; walk_state 447 drivers/acpi/acpica/dswstate.c thread->walk_state_list = walk_state; walk_state 468 drivers/acpi/acpica/dswstate.c struct acpi_walk_state *walk_state; walk_state 472 drivers/acpi/acpica/dswstate.c walk_state = thread->walk_state_list; walk_state 474 drivers/acpi/acpica/dswstate.c if (walk_state) { walk_state 478 drivers/acpi/acpica/dswstate.c thread->walk_state_list = walk_state->next; walk_state 487 drivers/acpi/acpica/dswstate.c return_PTR(walk_state); walk_state 514 drivers/acpi/acpica/dswstate.c struct acpi_walk_state *walk_state; walk_state 518 drivers/acpi/acpica/dswstate.c walk_state = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_walk_state)); walk_state 519 drivers/acpi/acpica/dswstate.c if (!walk_state) { walk_state 523 drivers/acpi/acpica/dswstate.c walk_state->descriptor_type = ACPI_DESC_TYPE_WALK; walk_state 524 drivers/acpi/acpica/dswstate.c walk_state->method_desc = method_desc; walk_state 525 drivers/acpi/acpica/dswstate.c walk_state->owner_id = owner_id; walk_state 526 drivers/acpi/acpica/dswstate.c walk_state->origin = origin; walk_state 527 drivers/acpi/acpica/dswstate.c walk_state->thread = thread; walk_state 529 drivers/acpi/acpica/dswstate.c walk_state->parser_state.start_op = origin; walk_state 534 drivers/acpi/acpica/dswstate.c acpi_ds_method_data_init(walk_state); walk_state 540 drivers/acpi/acpica/dswstate.c acpi_ds_push_walk_state(walk_state, thread); walk_state 543 drivers/acpi/acpica/dswstate.c return_PTR(walk_state); walk_state 565 drivers/acpi/acpica/dswstate.c acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state, walk_state 573 drivers/acpi/acpica/dswstate.c struct acpi_parse_state *parser_state = &walk_state->parser_state; walk_state 578 drivers/acpi/acpica/dswstate.c walk_state->parser_state.aml = walk_state 579 drivers/acpi/acpica/dswstate.c walk_state->parser_state.aml_start = aml_start; walk_state 580 drivers/acpi/acpica/dswstate.c walk_state->parser_state.aml_end = walk_state 581 drivers/acpi/acpica/dswstate.c walk_state->parser_state.pkg_end = aml_start + aml_length; walk_state 585 drivers/acpi/acpica/dswstate.c walk_state->next_op = NULL; walk_state 586 drivers/acpi/acpica/dswstate.c walk_state->pass_number = pass_number; walk_state 589 drivers/acpi/acpica/dswstate.c walk_state->params = info->parameters; walk_state 590 drivers/acpi/acpica/dswstate.c walk_state->caller_return_desc = &info->return_object; walk_state 593 drivers/acpi/acpica/dswstate.c status = acpi_ps_init_scope(&walk_state->parser_state, op); walk_state 599 drivers/acpi/acpica/dswstate.c walk_state->parser_state.start_node = method_node; walk_state 600 drivers/acpi/acpica/dswstate.c walk_state->walk_type = ACPI_WALK_METHOD; walk_state 601 drivers/acpi/acpica/dswstate.c walk_state->method_node = method_node; walk_state 602 drivers/acpi/acpica/dswstate.c walk_state->method_desc = walk_state 609 drivers/acpi/acpica/dswstate.c walk_state); walk_state 616 drivers/acpi/acpica/dswstate.c status = acpi_ds_method_data_init_args(walk_state->params, walk_state 618 drivers/acpi/acpica/dswstate.c walk_state); walk_state 647 drivers/acpi/acpica/dswstate.c type, walk_state); walk_state 654 drivers/acpi/acpica/dswstate.c status = acpi_ds_init_callbacks(walk_state, pass_number); walk_state 670 drivers/acpi/acpica/dswstate.c void acpi_ds_delete_walk_state(struct acpi_walk_state *walk_state) walk_state 674 drivers/acpi/acpica/dswstate.c ACPI_FUNCTION_TRACE_PTR(ds_delete_walk_state, walk_state); walk_state 676 drivers/acpi/acpica/dswstate.c if (!walk_state) { walk_state 680 drivers/acpi/acpica/dswstate.c if (walk_state->descriptor_type != ACPI_DESC_TYPE_WALK) { walk_state 682 drivers/acpi/acpica/dswstate.c walk_state)); walk_state 688 drivers/acpi/acpica/dswstate.c if (walk_state->parser_state.scope) { walk_state 690 drivers/acpi/acpica/dswstate.c walk_state)); walk_state 691 drivers/acpi/acpica/dswstate.c acpi_ps_cleanup_scope(&walk_state->parser_state); walk_state 696 drivers/acpi/acpica/dswstate.c while (walk_state->control_state) { walk_state 697 drivers/acpi/acpica/dswstate.c state = walk_state->control_state; walk_state 698 drivers/acpi/acpica/dswstate.c walk_state->control_state = state->common.next; walk_state 705 drivers/acpi/acpica/dswstate.c while (walk_state->scope_info) { walk_state 706 drivers/acpi/acpica/dswstate.c state = walk_state->scope_info; walk_state 707 drivers/acpi/acpica/dswstate.c walk_state->scope_info = state->common.next; walk_state 714 drivers/acpi/acpica/dswstate.c while (walk_state->results) { walk_state 715 drivers/acpi/acpica/dswstate.c state = walk_state->results; walk_state 716 drivers/acpi/acpica/dswstate.c walk_state->results = state->common.next; walk_state 721 drivers/acpi/acpica/dswstate.c ACPI_FREE(walk_state); walk_state 50 drivers/acpi/acpica/exconcat.c struct acpi_walk_state *walk_state) walk_state 341 drivers/acpi/acpica/exconcat.c struct acpi_walk_state *walk_state) walk_state 82 drivers/acpi/acpica/exconfig.c acpi_ex_load_table_op(struct acpi_walk_state *walk_state, walk_state 86 drivers/acpi/acpica/exconfig.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 120 drivers/acpi/acpica/exconfig.c start_node = walk_state->scope_info->scope.node; walk_state 192 drivers/acpi/acpica/exconfig.c walk_state); walk_state 270 drivers/acpi/acpica/exconfig.c struct acpi_walk_state *walk_state) walk_state 447 drivers/acpi/acpica/exconfig.c status = acpi_ex_store(ddb_handle, target, walk_state); walk_state 576 drivers/acpi/acpica/exconvrt.c struct acpi_walk_state *walk_state) walk_state 590 drivers/acpi/acpica/exconvrt.c switch (GET_CURRENT_ARG_TYPE(walk_state->op_info->runtime_args)) { walk_state 674 drivers/acpi/acpica/exconvrt.c GET_CURRENT_ARG_TYPE(walk_state->op_info-> walk_state 676 drivers/acpi/acpica/exconvrt.c walk_state->opcode, walk_state 29 drivers/acpi/acpica/excreate.c acpi_status acpi_ex_create_alias(struct acpi_walk_state *walk_state) walk_state 39 drivers/acpi/acpica/excreate.c alias_node = (struct acpi_namespace_node *)walk_state->operands[0]; walk_state 40 drivers/acpi/acpica/excreate.c target_node = (struct acpi_namespace_node *)walk_state->operands[1]; walk_state 104 drivers/acpi/acpica/excreate.c acpi_status acpi_ex_create_event(struct acpi_walk_state *walk_state) walk_state 130 drivers/acpi/acpica/excreate.c walk_state->operands[0], obj_desc, walk_state 156 drivers/acpi/acpica/excreate.c acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state) walk_state 180 drivers/acpi/acpica/excreate.c obj_desc->mutex.sync_level = (u8)walk_state->operands[1]->integer.value; walk_state 182 drivers/acpi/acpica/excreate.c (struct acpi_namespace_node *)walk_state->operands[0]; walk_state 215 drivers/acpi/acpica/excreate.c u8 space_id, struct acpi_walk_state *walk_state) walk_state 226 drivers/acpi/acpica/excreate.c node = walk_state->op->common.node; walk_state 270 drivers/acpi/acpica/excreate.c if (walk_state->scope_info) { walk_state 272 drivers/acpi/acpica/excreate.c walk_state->scope_info->scope.node; walk_state 314 drivers/acpi/acpica/excreate.c acpi_status acpi_ex_create_processor(struct acpi_walk_state *walk_state) walk_state 316 drivers/acpi/acpica/excreate.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 320 drivers/acpi/acpica/excreate.c ACPI_FUNCTION_TRACE_PTR(ex_create_processor, walk_state); walk_state 361 drivers/acpi/acpica/excreate.c acpi_status acpi_ex_create_power_resource(struct acpi_walk_state *walk_state) walk_state 363 drivers/acpi/acpica/excreate.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 367 drivers/acpi/acpica/excreate.c ACPI_FUNCTION_TRACE_PTR(ex_create_power_resource, walk_state); walk_state 409 drivers/acpi/acpica/excreate.c u32 aml_length, struct acpi_walk_state *walk_state) walk_state 411 drivers/acpi/acpica/excreate.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 416 drivers/acpi/acpica/excreate.c ACPI_FUNCTION_TRACE_PTR(ex_create_method, walk_state); walk_state 104 drivers/acpi/acpica/exfield.c acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state, walk_state 35 drivers/acpi/acpica/exmisc.c struct acpi_walk_state *walk_state) walk_state 193 drivers/acpi/acpica/exmutex.c struct acpi_walk_state *walk_state) walk_state 205 drivers/acpi/acpica/exmutex.c if (!walk_state->thread) { walk_state 216 drivers/acpi/acpica/exmutex.c if (walk_state->thread->current_sync_level > obj_desc->mutex.sync_level) { walk_state 221 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level)); walk_state 229 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level, walk_state 231 drivers/acpi/acpica/exmutex.c walk_state->thread)); walk_state 235 drivers/acpi/acpica/exmutex.c walk_state->thread->thread_id); walk_state 241 drivers/acpi/acpica/exmutex.c obj_desc->mutex.owner_thread = walk_state->thread; walk_state 243 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level; walk_state 244 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level = walk_state 249 drivers/acpi/acpica/exmutex.c acpi_ex_link_mutex(obj_desc, walk_state->thread); walk_state 255 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level, walk_state 340 drivers/acpi/acpica/exmutex.c struct acpi_walk_state *walk_state) walk_state 365 drivers/acpi/acpica/exmutex.c if (!walk_state->thread) { walk_state 376 drivers/acpi/acpica/exmutex.c if ((owner_thread->thread_id != walk_state->thread->thread_id) && walk_state 380 drivers/acpi/acpica/exmutex.c (u32)walk_state->thread->thread_id, walk_state 399 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level)); walk_state 415 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level, walk_state 418 drivers/acpi/acpica/exmutex.c walk_state->thread)); walk_state 436 drivers/acpi/acpica/exmutex.c walk_state->thread->current_sync_level, walk_state 53 drivers/acpi/acpica/exoparg1.c acpi_status acpi_ex_opcode_0A_0T_1R(struct acpi_walk_state *walk_state) walk_state 59 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 63 drivers/acpi/acpica/exoparg1.c switch (walk_state->opcode) { walk_state 79 drivers/acpi/acpica/exoparg1.c walk_state->opcode)); walk_state 88 drivers/acpi/acpica/exoparg1.c if ((ACPI_FAILURE(status)) || walk_state->result_obj) { walk_state 90 drivers/acpi/acpica/exoparg1.c walk_state->result_obj = NULL; walk_state 94 drivers/acpi/acpica/exoparg1.c walk_state->result_obj = return_desc; walk_state 113 drivers/acpi/acpica/exoparg1.c acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state) walk_state 115 drivers/acpi/acpica/exoparg1.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 119 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 123 drivers/acpi/acpica/exoparg1.c switch (walk_state->opcode) { walk_state 126 drivers/acpi/acpica/exoparg1.c status = acpi_ex_release_mutex(operand[0], walk_state); walk_state 158 drivers/acpi/acpica/exoparg1.c walk_state->opcode)); walk_state 179 drivers/acpi/acpica/exoparg1.c acpi_status acpi_ex_opcode_1A_1T_0R(struct acpi_walk_state *walk_state) walk_state 182 drivers/acpi/acpica/exoparg1.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 185 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 189 drivers/acpi/acpica/exoparg1.c switch (walk_state->opcode) { walk_state 192 drivers/acpi/acpica/exoparg1.c status = acpi_ex_load_op(operand[0], operand[1], walk_state); walk_state 198 drivers/acpi/acpica/exoparg1.c walk_state->opcode)); walk_state 221 drivers/acpi/acpica/exoparg1.c acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) walk_state 224 drivers/acpi/acpica/exoparg1.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 233 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 237 drivers/acpi/acpica/exoparg1.c switch (walk_state->opcode) { walk_state 253 drivers/acpi/acpica/exoparg1.c switch (walk_state->opcode) { walk_state 394 drivers/acpi/acpica/exoparg1.c walk_state); walk_state 400 drivers/acpi/acpica/exoparg1.c acpi_ex_store(return_desc2, operand[1], walk_state); walk_state 422 drivers/acpi/acpica/exoparg1.c status = acpi_ex_store(operand[0], operand[1], walk_state); walk_state 429 drivers/acpi/acpica/exoparg1.c if (!walk_state->result_obj) { walk_state 436 drivers/acpi/acpica/exoparg1.c walk_state->result_obj = operand[0]; walk_state 437 drivers/acpi/acpica/exoparg1.c walk_state->operands[0] = NULL; /* Prevent deletion */ walk_state 448 drivers/acpi/acpica/exoparg1.c walk_state); walk_state 509 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state->opcode))); walk_state 516 drivers/acpi/acpica/exoparg1.c walk_state->opcode)); walk_state 525 drivers/acpi/acpica/exoparg1.c status = acpi_ex_store(return_desc, operand[1], walk_state); walk_state 538 drivers/acpi/acpica/exoparg1.c else if (!walk_state->result_obj) { walk_state 539 drivers/acpi/acpica/exoparg1.c walk_state->result_obj = return_desc; walk_state 557 drivers/acpi/acpica/exoparg1.c acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) walk_state 559 drivers/acpi/acpica/exoparg1.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 567 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 571 drivers/acpi/acpica/exoparg1.c switch (walk_state->opcode) { walk_state 622 drivers/acpi/acpica/exoparg1.c &temp_desc, walk_state); walk_state 626 drivers/acpi/acpica/exoparg1.c acpi_ps_get_opcode_name(walk_state-> walk_state 636 drivers/acpi/acpica/exoparg1.c if (walk_state->opcode == AML_INCREMENT_OP) { walk_state 652 drivers/acpi/acpica/exoparg1.c status = acpi_ex_store(return_desc, operand[0], walk_state); walk_state 666 drivers/acpi/acpica/exoparg1.c acpi_ex_resolve_multiple(walk_state, operand[0], &type, walk_state 690 drivers/acpi/acpica/exoparg1.c acpi_ex_resolve_multiple(walk_state, operand[0], &type, walk_state 762 drivers/acpi/acpica/exoparg1.c walk_state); walk_state 806 drivers/acpi/acpica/exoparg1.c walk_state, &temp_desc); walk_state 859 drivers/acpi/acpica/exoparg1.c acpi_ns_get_node_unlocked(walk_state-> walk_state 877 drivers/acpi/acpica/exoparg1.c walk_state); walk_state 1007 drivers/acpi/acpica/exoparg1.c (walk_state, return_desc, walk_state 1043 drivers/acpi/acpica/exoparg1.c walk_state->opcode)); walk_state 1060 drivers/acpi/acpica/exoparg1.c walk_state->result_obj = return_desc; walk_state 55 drivers/acpi/acpica/exoparg2.c acpi_status acpi_ex_opcode_2A_0T_0R(struct acpi_walk_state *walk_state) walk_state 57 drivers/acpi/acpica/exoparg2.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 63 drivers/acpi/acpica/exoparg2.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 67 drivers/acpi/acpica/exoparg2.c switch (walk_state->opcode) { walk_state 102 drivers/acpi/acpica/exoparg2.c walk_state->opcode)); walk_state 122 drivers/acpi/acpica/exoparg2.c acpi_status acpi_ex_opcode_2A_2T_1R(struct acpi_walk_state *walk_state) walk_state 124 drivers/acpi/acpica/exoparg2.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 130 drivers/acpi/acpica/exoparg2.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 134 drivers/acpi/acpica/exoparg2.c switch (walk_state->opcode) { walk_state 167 drivers/acpi/acpica/exoparg2.c walk_state->opcode)); walk_state 175 drivers/acpi/acpica/exoparg2.c status = acpi_ex_store(return_desc2, operand[2], walk_state); walk_state 180 drivers/acpi/acpica/exoparg2.c status = acpi_ex_store(return_desc1, operand[3], walk_state); walk_state 202 drivers/acpi/acpica/exoparg2.c walk_state->result_obj = return_desc1; walk_state 221 drivers/acpi/acpica/exoparg2.c acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) walk_state 223 drivers/acpi/acpica/exoparg2.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 230 drivers/acpi/acpica/exoparg2.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 234 drivers/acpi/acpica/exoparg2.c if (walk_state->op_info->flags & AML_MATH) { walk_state 245 drivers/acpi/acpica/exoparg2.c acpi_ex_do_math_op(walk_state->opcode, walk_state 251 drivers/acpi/acpica/exoparg2.c switch (walk_state->opcode) { walk_state 271 drivers/acpi/acpica/exoparg2.c walk_state); walk_state 318 drivers/acpi/acpica/exoparg2.c &return_desc, walk_state); walk_state 409 drivers/acpi/acpica/exoparg2.c status = acpi_ex_store(return_desc, operand[2], walk_state); walk_state 413 drivers/acpi/acpica/exoparg2.c walk_state->result_obj = return_desc; walk_state 419 drivers/acpi/acpica/exoparg2.c walk_state->opcode)); walk_state 431 drivers/acpi/acpica/exoparg2.c status = acpi_ex_store(return_desc, operand[2], walk_state); walk_state 436 drivers/acpi/acpica/exoparg2.c if (!walk_state->result_obj) { walk_state 437 drivers/acpi/acpica/exoparg2.c walk_state->result_obj = return_desc; walk_state 447 drivers/acpi/acpica/exoparg2.c walk_state->result_obj = NULL; walk_state 465 drivers/acpi/acpica/exoparg2.c acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state) walk_state 467 drivers/acpi/acpica/exoparg2.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 473 drivers/acpi/acpica/exoparg2.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 485 drivers/acpi/acpica/exoparg2.c if (walk_state->op_info->flags & AML_LOGICAL_NUMERIC) { walk_state 489 drivers/acpi/acpica/exoparg2.c status = acpi_ex_do_logical_numeric_op(walk_state->opcode, walk_state 495 drivers/acpi/acpica/exoparg2.c } else if (walk_state->op_info->flags & AML_LOGICAL) { walk_state 499 drivers/acpi/acpica/exoparg2.c status = acpi_ex_do_logical_op(walk_state->opcode, operand[0], walk_state 504 drivers/acpi/acpica/exoparg2.c switch (walk_state->opcode) { walk_state 508 drivers/acpi/acpica/exoparg2.c acpi_ex_acquire_mutex(operand[1], operand[0], walk_state); walk_state 527 drivers/acpi/acpica/exoparg2.c walk_state->opcode)); walk_state 553 drivers/acpi/acpica/exoparg2.c walk_state->result_obj = return_desc; walk_state 51 drivers/acpi/acpica/exoparg3.c acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state) walk_state 53 drivers/acpi/acpica/exoparg3.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 58 drivers/acpi/acpica/exoparg3.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 60 drivers/acpi/acpica/exoparg3.c switch (walk_state->opcode) { walk_state 102 drivers/acpi/acpica/exoparg3.c walk_state->opcode)); walk_state 125 drivers/acpi/acpica/exoparg3.c acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state) walk_state 127 drivers/acpi/acpica/exoparg3.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 135 drivers/acpi/acpica/exoparg3.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 137 drivers/acpi/acpica/exoparg3.c switch (walk_state->opcode) { walk_state 228 drivers/acpi/acpica/exoparg3.c walk_state->opcode)); walk_state 236 drivers/acpi/acpica/exoparg3.c status = acpi_ex_store(return_desc, operand[3], walk_state); walk_state 242 drivers/acpi/acpica/exoparg3.c if (ACPI_FAILURE(status) || walk_state->result_obj) { walk_state 244 drivers/acpi/acpica/exoparg3.c walk_state->result_obj = NULL; walk_state 248 drivers/acpi/acpica/exoparg3.c walk_state->result_obj = return_desc; walk_state 176 drivers/acpi/acpica/exoparg6.c acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state *walk_state) walk_state 178 drivers/acpi/acpica/exoparg6.c union acpi_operand_object **operand = &walk_state->operands[0]; walk_state 185 drivers/acpi/acpica/exoparg6.c acpi_ps_get_opcode_name(walk_state->opcode)); walk_state 187 drivers/acpi/acpica/exoparg6.c switch (walk_state->opcode) { walk_state 272 drivers/acpi/acpica/exoparg6.c status = acpi_ex_load_table_op(walk_state, &return_desc); walk_state 278 drivers/acpi/acpica/exoparg6.c walk_state->opcode)); walk_state 295 drivers/acpi/acpica/exoparg6.c walk_state->result_obj = return_desc; walk_state 46 drivers/acpi/acpica/exresnte.c struct acpi_walk_state *walk_state) walk_state 177 drivers/acpi/acpica/exresnte.c acpi_ex_read_data_from_field(walk_state, source_desc, walk_state 23 drivers/acpi/acpica/exresolv.c struct acpi_walk_state *walk_state); walk_state 42 drivers/acpi/acpica/exresolv.c struct acpi_walk_state *walk_state) walk_state 59 drivers/acpi/acpica/exresolv.c status = acpi_ex_resolve_object_to_value(stack_ptr, walk_state); walk_state 78 drivers/acpi/acpica/exresolv.c stack_ptr), walk_state); walk_state 104 drivers/acpi/acpica/exresolv.c struct acpi_walk_state *walk_state) walk_state 132 drivers/acpi/acpica/exresolv.c walk_state, walk_state 163 drivers/acpi/acpica/exresolv.c if ((walk_state->opcode == walk_state 165 drivers/acpi/acpica/exresolv.c || (walk_state->opcode == walk_state 268 drivers/acpi/acpica/exresolv.c acpi_ex_read_data_from_field(walk_state, stack_desc, walk_state 302 drivers/acpi/acpica/exresolv.c acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state, walk_state 459 drivers/acpi/acpica/exresolv.c walk_state, walk_state 473 drivers/acpi/acpica/exresolv.c walk_state, walk_state 101 drivers/acpi/acpica/exresop.c struct acpi_walk_state *walk_state) walk_state 321 drivers/acpi/acpica/exresop.c status = acpi_ex_resolve_to_value(stack_ptr, walk_state); walk_state 670 drivers/acpi/acpica/exresop.c ACPI_DUMP_OPERANDS(walk_state->operands, walk_state 672 drivers/acpi/acpica/exresop.c walk_state->num_operands); walk_state 24 drivers/acpi/acpica/exstore.c struct acpi_walk_state *walk_state); walk_state 29 drivers/acpi/acpica/exstore.c struct acpi_walk_state *walk_state); walk_state 54 drivers/acpi/acpica/exstore.c struct acpi_walk_state *walk_state) walk_state 78 drivers/acpi/acpica/exstore.c dest_desc, walk_state, walk_state 128 drivers/acpi/acpica/exstore.c object, walk_state, walk_state 138 drivers/acpi/acpica/exstore.c walk_state); walk_state 149 drivers/acpi/acpica/exstore.c source_desc, walk_state); walk_state 195 drivers/acpi/acpica/exstore.c struct acpi_walk_state *walk_state) walk_state 235 drivers/acpi/acpica/exstore.c walk_state); walk_state 363 drivers/acpi/acpica/exstore.c struct acpi_walk_state *walk_state, walk_state 385 drivers/acpi/acpica/exstore.c if (walk_state->opcode != AML_COPY_OBJECT_OP) { walk_state 411 drivers/acpi/acpica/exstore.c if (walk_state->opcode == AML_STORE_OP) { walk_state 452 drivers/acpi/acpica/exstore.c status = acpi_ex_resolve_object(&source_desc, target_type, walk_state); walk_state 468 drivers/acpi/acpica/exstore.c if ((walk_state->opcode == AML_COPY_OBJECT_OP) || walk_state 477 drivers/acpi/acpica/exstore.c walk_state); walk_state 485 drivers/acpi/acpica/exstore.c &new_desc, walk_state); walk_state 524 drivers/acpi/acpica/exstore.c &walk_state->result_obj); walk_state 537 drivers/acpi/acpica/exstore.c acpi_ex_store_direct_to_node(source_desc, node, walk_state); walk_state 562 drivers/acpi/acpica/exstore.c struct acpi_walk_state *walk_state) walk_state 579 drivers/acpi/acpica/exstore.c acpi_ut_copy_iobject_to_iobject(source_desc, &new_desc, walk_state); walk_state 36 drivers/acpi/acpica/exstoren.c struct acpi_walk_state *walk_state) walk_state 68 drivers/acpi/acpica/exstoren.c walk_state); walk_state 76 drivers/acpi/acpica/exstoren.c if (walk_state->opcode == AML_COPY_OBJECT_OP) { walk_state 160 drivers/acpi/acpica/exstoren.c struct acpi_walk_state *walk_state) walk_state 176 drivers/acpi/acpica/exstoren.c walk_state); walk_state 193 drivers/acpi/acpica/exstoren.c walk_state); walk_state 238 drivers/acpi/acpica/exstoren.c walk_state); walk_state 168 drivers/acpi/acpica/extrace.c struct acpi_walk_state *walk_state) walk_state 225 drivers/acpi/acpica/extrace.c struct acpi_walk_state *walk_state) walk_state 280 drivers/acpi/acpica/extrace.c struct acpi_walk_state *walk_state) walk_state 308 drivers/acpi/acpica/extrace.c struct acpi_walk_state *walk_state) walk_state 286 drivers/acpi/acpica/nsaccess.c struct acpi_walk_state *walk_state, walk_state 590 drivers/acpi/acpica/nsaccess.c acpi_ns_search_and_enter(simple_name, walk_state, walk_state 632 drivers/acpi/acpica/nsaccess.c (walk_state walk_state 633 drivers/acpi/acpica/nsaccess.c && walk_state->opcode == AML_EXTERNAL_OP))) { walk_state 636 drivers/acpi/acpica/nsaccess.c if (walk_state->opcode != AML_EXTERNAL_OP) { walk_state 724 drivers/acpi/acpica/nsaccess.c if (!(flags & ACPI_NS_DONT_OPEN_SCOPE) && (walk_state)) { walk_state 732 drivers/acpi/acpica/nsaccess.c walk_state); walk_state 191 drivers/acpi/acpica/nsalloc.c void acpi_ns_install_node(struct acpi_walk_state *walk_state, struct acpi_namespace_node *parent_node, /* Parent */ walk_state 200 drivers/acpi/acpica/nsalloc.c if (walk_state) { walk_state 205 drivers/acpi/acpica/nsalloc.c owner_id = walk_state->owner_id; walk_state 207 drivers/acpi/acpica/nsalloc.c if ((walk_state->method_desc) && walk_state 208 drivers/acpi/acpica/nsalloc.c (parent_node != walk_state->method_node)) { walk_state 215 drivers/acpi/acpica/nsalloc.c walk_state->method_desc->method.info_flags |= walk_state 156 drivers/acpi/acpica/nsparse.c struct acpi_walk_state *walk_state; walk_state 190 drivers/acpi/acpica/nsparse.c walk_state = acpi_ds_create_walk_state(owner_id, NULL, NULL, NULL); walk_state 191 drivers/acpi/acpica/nsparse.c if (!walk_state) { walk_state 196 drivers/acpi/acpica/nsparse.c status = acpi_ds_init_aml_walk(walk_state, parse_root, NULL, walk_state 200 drivers/acpi/acpica/nsparse.c acpi_ds_delete_walk_state(walk_state); walk_state 208 drivers/acpi/acpica/nsparse.c walk_state->namespace_override = TRUE; walk_state 216 drivers/acpi/acpica/nsparse.c walk_state); walk_state 218 drivers/acpi/acpica/nsparse.c acpi_ds_delete_walk_state(walk_state); walk_state 228 drivers/acpi/acpica/nsparse.c status = acpi_ps_parse_aml(walk_state); walk_state 252 drivers/acpi/acpica/nssearch.c struct acpi_walk_state *walk_state, walk_state 308 drivers/acpi/acpica/nssearch.c walk_state->owner_id)); walk_state 315 drivers/acpi/acpica/nssearch.c walk_state->owner_id; walk_state 382 drivers/acpi/acpica/nssearch.c (walk_state && walk_state->opcode == AML_SCOPE_OP)) { walk_state 393 drivers/acpi/acpica/nssearch.c acpi_ns_install_node(walk_state, node, new_node, type); walk_state 197 drivers/acpi/acpica/psargs.c acpi_ps_get_next_namepath(struct acpi_walk_state *walk_state, walk_state 228 drivers/acpi/acpica/psargs.c status = acpi_ns_lookup(walk_state->scope_info, path, walk_state 239 drivers/acpi/acpica/psargs.c if ((GET_CURRENT_ARG_TYPE(walk_state->arg_types) == walk_state 241 drivers/acpi/acpica/psargs.c || (GET_CURRENT_ARG_TYPE(walk_state->arg_types) == walk_state 249 drivers/acpi/acpica/psargs.c walk_state->parser_state.aml = start; walk_state 250 drivers/acpi/acpica/psargs.c walk_state->arg_count = 1; walk_state 289 drivers/acpi/acpica/psargs.c walk_state->arg_count = method_desc->method.param_count; walk_state 301 drivers/acpi/acpica/psargs.c if ((walk_state->parse_flags & ACPI_PARSE_MODE_MASK) != walk_state 308 drivers/acpi/acpica/psargs.c else if (walk_state->op->common.aml_opcode == walk_state 330 drivers/acpi/acpica/psargs.c ACPI_ERROR_NAMESPACE(walk_state->scope_info, path, status); walk_state 332 drivers/acpi/acpica/psargs.c if ((walk_state->parse_flags & ACPI_PARSE_MODE_MASK) == walk_state 337 drivers/acpi/acpica/psargs.c status = acpi_ds_method_error(status, walk_state); walk_state 703 drivers/acpi/acpica/psargs.c acpi_ps_get_next_arg(struct acpi_walk_state *walk_state, walk_state 820 drivers/acpi/acpica/psargs.c acpi_ps_get_next_namepath(walk_state, parser_state, walk_state 826 drivers/acpi/acpica/psargs.c walk_state->arg_count = 1; walk_state 854 drivers/acpi/acpica/psargs.c acpi_ps_get_next_namepath(walk_state, parser_state, walk_state 865 drivers/acpi/acpica/psargs.c walk_state->arg_count = 1; walk_state 870 drivers/acpi/acpica/psargs.c walk_state->arg_count = 1; walk_state 884 drivers/acpi/acpica/psargs.c walk_state->arg_count = 1; walk_state 895 drivers/acpi/acpica/psargs.c walk_state->arg_count = ACPI_VAR_ARGS; walk_state 32 drivers/acpi/acpica/psloop.c acpi_ps_get_arguments(struct acpi_walk_state *walk_state, walk_state 50 drivers/acpi/acpica/psloop.c acpi_ps_get_arguments(struct acpi_walk_state *walk_state, walk_state 56 drivers/acpi/acpica/psloop.c ACPI_FUNCTION_TRACE_PTR(ps_get_arguments, walk_state); walk_state 71 drivers/acpi/acpica/psloop.c acpi_ps_get_next_simple_arg(&(walk_state->parser_state), walk_state 72 drivers/acpi/acpica/psloop.c GET_CURRENT_ARG_TYPE(walk_state-> walk_state 79 drivers/acpi/acpica/psloop.c status = acpi_ps_get_next_namepath(walk_state, walk_state 80 drivers/acpi/acpica/psloop.c &(walk_state->parser_state), walk_state 87 drivers/acpi/acpica/psloop.c walk_state->arg_types = 0; walk_state 94 drivers/acpi/acpica/psloop.c while (GET_CURRENT_ARG_TYPE(walk_state->arg_types) && walk_state 95 drivers/acpi/acpica/psloop.c !walk_state->arg_count) { walk_state 96 drivers/acpi/acpica/psloop.c walk_state->aml = walk_state->parser_state.aml; walk_state 109 drivers/acpi/acpica/psloop.c ASL_CV_CAPTURE_COMMENTS(walk_state); walk_state 114 drivers/acpi/acpica/psloop.c acpi_ps_get_next_arg(walk_state, walk_state 115 drivers/acpi/acpica/psloop.c &(walk_state->parser_state), walk_state 117 drivers/acpi/acpica/psloop.c (walk_state->arg_types), &arg); walk_state 126 drivers/acpi/acpica/psloop.c INCREMENT_ARG_LIST(walk_state->arg_types); walk_state 131 drivers/acpi/acpica/psloop.c walk_state->arg_count, walk_state 132 drivers/acpi/acpica/psloop.c walk_state->pass_number)); walk_state 144 drivers/acpi/acpica/psloop.c op->named.data = walk_state->parser_state.aml; walk_state 146 drivers/acpi/acpica/psloop.c (walk_state->parser_state.pkg_end - walk_state 147 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml); walk_state 151 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml = walk_state 152 drivers/acpi/acpica/psloop.c walk_state->parser_state.pkg_end; walk_state 153 drivers/acpi/acpica/psloop.c walk_state->arg_count = 0; walk_state 163 drivers/acpi/acpica/psloop.c && (walk_state->pass_number <= walk_state 167 drivers/acpi/acpica/psloop.c walk_state->pass_number, walk_state 176 drivers/acpi/acpica/psloop.c (walk_state->parser_state.pkg_end - walk_state 181 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml = walk_state 182 drivers/acpi/acpica/psloop.c walk_state->parser_state.pkg_end; walk_state 183 drivers/acpi/acpica/psloop.c walk_state->arg_count = 0; walk_state 189 drivers/acpi/acpica/psloop.c if (walk_state->control_state) { walk_state 190 drivers/acpi/acpica/psloop.c walk_state->control_state->control.package_end = walk_state 191 drivers/acpi/acpica/psloop.c walk_state->parser_state.pkg_end; walk_state 221 drivers/acpi/acpica/psloop.c acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state) walk_state 229 drivers/acpi/acpica/psloop.c ACPI_FUNCTION_TRACE_PTR(ps_parse_loop, walk_state); walk_state 231 drivers/acpi/acpica/psloop.c if (walk_state->descending_callback == NULL) { walk_state 235 drivers/acpi/acpica/psloop.c parser_state = &walk_state->parser_state; walk_state 236 drivers/acpi/acpica/psloop.c walk_state->arg_types = 0; walk_state 240 drivers/acpi/acpica/psloop.c if (walk_state->walk_type & ACPI_WALK_METHOD_RESTART) { walk_state 254 drivers/acpi/acpica/psloop.c && (walk_state->control_state) walk_state 255 drivers/acpi/acpica/psloop.c && (walk_state->control_state->common.state == walk_state 261 drivers/acpi/acpica/psloop.c walk_state->op = NULL; walk_state 263 drivers/acpi/acpica/psloop.c acpi_ds_get_predicate_value(walk_state, walk_state 280 drivers/acpi/acpica/psloop.c acpi_ps_next_parse_state(walk_state, op, walk_state 285 drivers/acpi/acpica/psloop.c &walk_state->arg_types, walk_state 286 drivers/acpi/acpica/psloop.c &walk_state->arg_count); walk_state 289 drivers/acpi/acpica/psloop.c } else if (walk_state->prev_op) { walk_state 293 drivers/acpi/acpica/psloop.c op = walk_state->prev_op; walk_state 294 drivers/acpi/acpica/psloop.c walk_state->arg_types = walk_state->prev_arg_types; walk_state 302 drivers/acpi/acpica/psloop.c ASL_CV_CAPTURE_COMMENTS(walk_state); walk_state 307 drivers/acpi/acpica/psloop.c acpi_ps_create_op(walk_state, aml_op_start, &op); walk_state 316 drivers/acpi/acpica/psloop.c if ((walk_state-> walk_state 335 drivers/acpi/acpica/psloop.c acpi_ps_complete_op(walk_state, &op, walk_state 342 drivers/acpi/acpica/psloop.c (walk_state->opcode)->object_type)) { walk_state 348 drivers/acpi/acpica/psloop.c ACPI_INFO(("Skipping parse of AML opcode: %s (0x%4.4X)", acpi_ps_get_opcode_name(walk_state->opcode), walk_state->opcode)); walk_state 355 drivers/acpi/acpica/psloop.c if ((walk_state->opcode & 0xFF00) == walk_state 359 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml = walk_state 360 drivers/acpi/acpica/psloop.c walk_state->aml + opcode_length; walk_state 362 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml = walk_state 364 drivers/acpi/acpica/psloop.c (&walk_state->parser_state); walk_state 365 drivers/acpi/acpica/psloop.c walk_state->aml = walk_state 366 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml; walk_state 372 drivers/acpi/acpica/psloop.c acpi_ex_start_trace_opcode(op, walk_state); walk_state 379 drivers/acpi/acpica/psloop.c walk_state->arg_count = 0; walk_state 391 drivers/acpi/acpica/psloop.c ASL_CV_CAPTURE_COMMENTS(walk_state); walk_state 397 drivers/acpi/acpica/psloop.c if (walk_state->arg_types) { walk_state 402 drivers/acpi/acpica/psloop.c acpi_ps_get_arguments(walk_state, aml_op_start, op); walk_state 405 drivers/acpi/acpica/psloop.c acpi_ps_complete_op(walk_state, &op, walk_state 410 drivers/acpi/acpica/psloop.c if ((walk_state->control_state) && walk_state 411 drivers/acpi/acpica/psloop.c ((walk_state->control_state->control. walk_state 413 drivers/acpi/acpica/psloop.c || (walk_state->control_state->control. walk_state 420 drivers/acpi/acpica/psloop.c walk_state->control_state->control. walk_state 425 drivers/acpi/acpica/psloop.c walk_state->aml = parser_state->aml; walk_state 429 drivers/acpi/acpica/psloop.c if (*walk_state->aml == AML_ELSE_OP) { walk_state 432 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml = walk_state 433 drivers/acpi/acpica/psloop.c walk_state->aml + 1; walk_state 434 drivers/acpi/acpica/psloop.c walk_state->parser_state.aml = walk_state 437 drivers/acpi/acpica/psloop.c walk_state->aml = walk_state 441 drivers/acpi/acpica/psloop.c (&walk_state->control_state)); walk_state 452 drivers/acpi/acpica/psloop.c walk_state->arg_count)); walk_state 454 drivers/acpi/acpica/psloop.c if (walk_state->arg_count) { walk_state 460 drivers/acpi/acpica/psloop.c walk_state->arg_types, walk_state 461 drivers/acpi/acpica/psloop.c walk_state->arg_count); walk_state 464 drivers/acpi/acpica/psloop.c acpi_ps_complete_op(walk_state, &op, walk_state 481 drivers/acpi/acpica/psloop.c walk_state->op_info = walk_state 483 drivers/acpi/acpica/psloop.c if (walk_state->op_info->flags & AML_NAMED) { walk_state 499 drivers/acpi/acpica/psloop.c if (walk_state->op_info->flags & AML_CREATE) { walk_state 522 drivers/acpi/acpica/psloop.c if (walk_state->ascending_callback != NULL) { walk_state 523 drivers/acpi/acpica/psloop.c walk_state->op = op; walk_state 524 drivers/acpi/acpica/psloop.c walk_state->opcode = op->common.aml_opcode; walk_state 526 drivers/acpi/acpica/psloop.c status = walk_state->ascending_callback(walk_state); walk_state 528 drivers/acpi/acpica/psloop.c acpi_ps_next_parse_state(walk_state, op, status); walk_state 532 drivers/acpi/acpica/psloop.c if ((walk_state-> walk_state 553 drivers/acpi/acpica/psloop.c status = acpi_ps_complete_op(walk_state, &op, status); walk_state 560 drivers/acpi/acpica/psloop.c status = acpi_ps_complete_final_op(walk_state, op, status); walk_state 21 drivers/acpi/acpica/psobject.c static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state); walk_state 35 drivers/acpi/acpica/psobject.c static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state) walk_state 39 drivers/acpi/acpica/psobject.c ACPI_FUNCTION_TRACE_PTR(ps_get_aml_opcode, walk_state); walk_state 41 drivers/acpi/acpica/psobject.c walk_state->aml = walk_state->parser_state.aml; walk_state 42 drivers/acpi/acpica/psobject.c walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); walk_state 50 drivers/acpi/acpica/psobject.c walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); walk_state 52 drivers/acpi/acpica/psobject.c switch (walk_state->op_info->class) { walk_state 59 drivers/acpi/acpica/psobject.c walk_state->opcode = AML_INT_NAMEPATH_OP; walk_state 60 drivers/acpi/acpica/psobject.c walk_state->arg_types = ARGP_NAMESTRING; walk_state 67 drivers/acpi/acpica/psobject.c if (walk_state->pass_number == 2) { walk_state 69 drivers/acpi/acpica/psobject.c (u32)ACPI_PTR_DIFF(walk_state->aml, walk_state 70 drivers/acpi/acpica/psobject.c walk_state-> walk_state 76 drivers/acpi/acpica/psobject.c walk_state->opcode, walk_state 80 drivers/acpi/acpica/psobject.c ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), walk_state 90 drivers/acpi/acpica/psobject.c walk_state->opcode, walk_state 99 drivers/acpi/acpica/psobject.c acpi_ut_dump_buffer(((u8 *)walk_state->parser_state. walk_state 118 drivers/acpi/acpica/psobject.c walk_state->parser_state.aml++; walk_state 119 drivers/acpi/acpica/psobject.c if (walk_state->opcode > 0xFF) { /* Can only happen if first byte is 0x5B */ walk_state 120 drivers/acpi/acpica/psobject.c walk_state->parser_state.aml++; walk_state 129 drivers/acpi/acpica/psobject.c walk_state->parser_state.aml += walk_state 130 drivers/acpi/acpica/psobject.c acpi_ps_get_opcode_size(walk_state->opcode); walk_state 131 drivers/acpi/acpica/psobject.c walk_state->arg_types = walk_state->op_info->parse_args; walk_state 154 drivers/acpi/acpica/psobject.c acpi_ps_build_named_op(struct acpi_walk_state *walk_state, walk_state 162 drivers/acpi/acpica/psobject.c ACPI_FUNCTION_TRACE_PTR(ps_build_named_op, walk_state); walk_state 166 drivers/acpi/acpica/psobject.c unnamed_op->common.aml_opcode = walk_state->opcode; walk_state 172 drivers/acpi/acpica/psobject.c while (GET_CURRENT_ARG_TYPE(walk_state->arg_types) && walk_state 173 drivers/acpi/acpica/psobject.c (GET_CURRENT_ARG_TYPE(walk_state->arg_types) != ARGP_NAME)) { walk_state 174 drivers/acpi/acpica/psobject.c ASL_CV_CAPTURE_COMMENTS(walk_state); walk_state 176 drivers/acpi/acpica/psobject.c acpi_ps_get_next_arg(walk_state, walk_state 177 drivers/acpi/acpica/psobject.c &(walk_state->parser_state), walk_state 178 drivers/acpi/acpica/psobject.c GET_CURRENT_ARG_TYPE(walk_state-> walk_state 185 drivers/acpi/acpica/psobject.c INCREMENT_ARG_LIST(walk_state->arg_types); walk_state 190 drivers/acpi/acpica/psobject.c ASL_CV_CAPTURE_COMMENTS(walk_state); walk_state 203 drivers/acpi/acpica/psobject.c if (!GET_CURRENT_ARG_TYPE(walk_state->arg_types)) { walk_state 209 drivers/acpi/acpica/psobject.c INCREMENT_ARG_LIST(walk_state->arg_types); walk_state 215 drivers/acpi/acpica/psobject.c walk_state->op = NULL; walk_state 217 drivers/acpi/acpica/psobject.c status = walk_state->descending_callback(walk_state, op); walk_state 230 drivers/acpi/acpica/psobject.c status = acpi_ps_next_parse_state(walk_state, *op, status); walk_state 298 drivers/acpi/acpica/psobject.c acpi_ps_create_op(struct acpi_walk_state *walk_state, walk_state 308 drivers/acpi/acpica/psobject.c ACPI_FUNCTION_TRACE_PTR(ps_create_op, walk_state); walk_state 310 drivers/acpi/acpica/psobject.c status = acpi_ps_get_aml_opcode(walk_state); walk_state 320 drivers/acpi/acpica/psobject.c walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); walk_state 321 drivers/acpi/acpica/psobject.c op = acpi_ps_alloc_op(walk_state->opcode, aml_op_start); walk_state 326 drivers/acpi/acpica/psobject.c if (walk_state->op_info->flags & AML_NAMED) { walk_state 328 drivers/acpi/acpica/psobject.c acpi_ps_build_named_op(walk_state, aml_op_start, op, walk_state 334 drivers/acpi/acpica/psobject.c && walk_state->opcode == AML_EXTERNAL_OP walk_state 346 drivers/acpi/acpica/psobject.c walk_state->aml = walk_state->parser_state.aml + 2; walk_state 347 drivers/acpi/acpica/psobject.c walk_state->parser_state.aml = walk_state->aml; walk_state 361 drivers/acpi/acpica/psobject.c if (walk_state->op_info->flags & AML_CREATE) { walk_state 370 drivers/acpi/acpica/psobject.c if (walk_state->opcode == AML_BANK_FIELD_OP) { walk_state 379 drivers/acpi/acpica/psobject.c parent_scope = acpi_ps_get_parent_scope(&(walk_state->parser_state)); walk_state 405 drivers/acpi/acpica/psobject.c if (walk_state->descending_callback != NULL) { walk_state 410 drivers/acpi/acpica/psobject.c walk_state->op = *new_op = op; walk_state 412 drivers/acpi/acpica/psobject.c status = walk_state->descending_callback(walk_state, &op); walk_state 413 drivers/acpi/acpica/psobject.c status = acpi_ps_next_parse_state(walk_state, op, status); walk_state 437 drivers/acpi/acpica/psobject.c acpi_ps_complete_op(struct acpi_walk_state *walk_state, walk_state 442 drivers/acpi/acpica/psobject.c ACPI_FUNCTION_TRACE_PTR(ps_complete_op, walk_state); walk_state 447 drivers/acpi/acpica/psobject.c walk_state->parser_state.scope->parse_scope.arg_count--; walk_state 451 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, *op); walk_state 467 drivers/acpi/acpica/psobject.c walk_state->prev_op = NULL; walk_state 468 drivers/acpi/acpica/psobject.c walk_state->prev_arg_types = walk_state->arg_types; walk_state 473 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, walk_state 474 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 475 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 478 drivers/acpi/acpica/psobject.c walk_state->op = *op; walk_state 479 drivers/acpi/acpica/psobject.c walk_state->op_info = walk_state 481 drivers/acpi/acpica/psobject.c walk_state->opcode = (*op)->common.aml_opcode; walk_state 483 drivers/acpi/acpica/psobject.c status = walk_state->ascending_callback(walk_state); walk_state 485 drivers/acpi/acpica/psobject.c acpi_ps_next_parse_state(walk_state, *op, status); walk_state 487 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, *op); walk_state 502 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, walk_state 503 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 504 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 509 drivers/acpi/acpica/psobject.c walk_state->op = *op; walk_state 510 drivers/acpi/acpica/psobject.c walk_state->op_info = walk_state 512 drivers/acpi/acpica/psobject.c walk_state->opcode = (*op)->common.aml_opcode; walk_state 514 drivers/acpi/acpica/psobject.c status = walk_state->ascending_callback(walk_state); walk_state 515 drivers/acpi/acpica/psobject.c status = acpi_ps_next_parse_state(walk_state, *op, status); walk_state 517 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, *op); walk_state 531 drivers/acpi/acpica/psobject.c acpi_ps_complete_this_op(walk_state, *op); walk_state 538 drivers/acpi/acpica/psobject.c (&walk_state->control_state)); walk_state 541 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, walk_state 542 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 543 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 569 drivers/acpi/acpica/psobject.c acpi_ps_complete_this_op(walk_state, *op); walk_state 575 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, walk_state 576 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 577 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 587 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 588 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 591 drivers/acpi/acpica/psobject.c walk_state->prev_op = NULL; walk_state 592 drivers/acpi/acpica/psobject.c walk_state->prev_arg_types = walk_state->arg_types; walk_state 594 drivers/acpi/acpica/psobject.c if (walk_state->parse_flags & ACPI_PARSE_MODULE_LEVEL) { walk_state 611 drivers/acpi/acpica/psobject.c if (acpi_ps_has_completed_scope(&(walk_state->parser_state))) { walk_state 612 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, walk_state 613 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 614 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 639 drivers/acpi/acpica/psobject.c acpi_ps_complete_final_op(struct acpi_walk_state *walk_state, walk_state 644 drivers/acpi/acpica/psobject.c ACPI_FUNCTION_TRACE_PTR(ps_complete_final_op, walk_state); walk_state 656 drivers/acpi/acpica/psobject.c if (walk_state->ascending_callback != NULL) { walk_state 657 drivers/acpi/acpica/psobject.c walk_state->op = op; walk_state 658 drivers/acpi/acpica/psobject.c walk_state->op_info = walk_state 661 drivers/acpi/acpica/psobject.c walk_state->opcode = op->common.aml_opcode; walk_state 664 drivers/acpi/acpica/psobject.c walk_state->ascending_callback(walk_state); walk_state 666 drivers/acpi/acpica/psobject.c acpi_ps_next_parse_state(walk_state, op, walk_state 670 drivers/acpi/acpica/psobject.c acpi_ps_complete_op(walk_state, &op, walk_state 685 drivers/acpi/acpica/psobject.c (walk_state, op); walk_state 694 drivers/acpi/acpica/psobject.c (walk_state-> walk_state 697 drivers/acpi/acpica/psobject.c &walk_state-> walk_state 699 drivers/acpi/acpica/psobject.c &walk_state-> walk_state 712 drivers/acpi/acpica/psobject.c acpi_ps_complete_this_op(walk_state, walk_state 718 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, op); walk_state 724 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), &op, walk_state 725 drivers/acpi/acpica/psobject.c &walk_state->arg_types, walk_state 726 drivers/acpi/acpica/psobject.c &walk_state->arg_count); walk_state 100 drivers/acpi/acpica/psparse.c acpi_ps_complete_this_op(struct acpi_walk_state *walk_state, walk_state 117 drivers/acpi/acpica/psparse.c acpi_ex_stop_trace_opcode(op, walk_state); walk_state 121 drivers/acpi/acpica/psparse.c if (((walk_state->parse_flags & ACPI_PARSE_TREE_MASK) != walk_state 123 drivers/acpi/acpica/psparse.c || (walk_state->op_info->class == AML_CLASS_ARGUMENT)) { walk_state 190 drivers/acpi/acpica/psparse.c && (walk_state->pass_number <= walk_state 297 drivers/acpi/acpica/psparse.c acpi_ps_next_parse_state(struct acpi_walk_state *walk_state, walk_state 301 drivers/acpi/acpica/psparse.c struct acpi_parse_state *parser_state = &walk_state->parser_state; walk_state 318 drivers/acpi/acpica/psparse.c parser_state->aml = walk_state->aml_last_while; walk_state 319 drivers/acpi/acpica/psparse.c walk_state->control_state->common.value = FALSE; walk_state 325 drivers/acpi/acpica/psparse.c parser_state->aml = walk_state->aml_last_while; walk_state 331 drivers/acpi/acpica/psparse.c parser_state->aml = walk_state->aml_last_while; walk_state 363 drivers/acpi/acpica/psparse.c walk_state->control_state->common.value = FALSE; walk_state 372 drivers/acpi/acpica/psparse.c walk_state->prev_op = op; walk_state 373 drivers/acpi/acpica/psparse.c walk_state->method_call_op = op; walk_state 374 drivers/acpi/acpica/psparse.c walk_state->method_call_node = walk_state 379 drivers/acpi/acpica/psparse.c walk_state->return_used = walk_state 380 drivers/acpi/acpica/psparse.c acpi_ds_is_result_used(op, walk_state); walk_state 408 drivers/acpi/acpica/psparse.c acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state) walk_state 419 drivers/acpi/acpica/psparse.c walk_state, walk_state->parser_state.aml, walk_state 420 drivers/acpi/acpica/psparse.c walk_state->parser_state.aml_size)); walk_state 422 drivers/acpi/acpica/psparse.c if (!walk_state->parser_state.aml) { walk_state 430 drivers/acpi/acpica/psparse.c if (walk_state->method_desc) { walk_state 434 drivers/acpi/acpica/psparse.c acpi_ds_terminate_control_method(walk_state-> walk_state 436 drivers/acpi/acpica/psparse.c walk_state); walk_state 439 drivers/acpi/acpica/psparse.c acpi_ds_delete_walk_state(walk_state); walk_state 443 drivers/acpi/acpica/psparse.c walk_state->thread = thread; walk_state 449 drivers/acpi/acpica/psparse.c if (walk_state->method_desc) { walk_state 450 drivers/acpi/acpica/psparse.c walk_state->thread->current_sync_level = walk_state 451 drivers/acpi/acpica/psparse.c walk_state->method_desc->method.sync_level; walk_state 454 drivers/acpi/acpica/psparse.c acpi_ds_push_walk_state(walk_state, thread); walk_state 466 drivers/acpi/acpica/psparse.c ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "State=%p\n", walk_state)); walk_state 469 drivers/acpi/acpica/psparse.c while (walk_state) { walk_state 475 drivers/acpi/acpica/psparse.c status = acpi_ps_parse_loop(walk_state); walk_state 480 drivers/acpi/acpica/psparse.c acpi_format_exception(status), walk_state)); walk_state 482 drivers/acpi/acpica/psparse.c if (walk_state->method_pathname && walk_state->method_is_nested) { walk_state 489 drivers/acpi/acpica/psparse.c (walk_state-> walk_state 492 drivers/acpi/acpica/psparse.c &walk_state->method_pathname[1])); walk_state 494 drivers/acpi/acpica/psparse.c ACPI_FREE(walk_state->method_pathname); walk_state 495 drivers/acpi/acpica/psparse.c walk_state->method_is_nested = FALSE; walk_state 503 drivers/acpi/acpica/psparse.c acpi_ds_call_control_method(thread, walk_state, walk_state 507 drivers/acpi/acpica/psparse.c acpi_ds_method_error(status, walk_state); walk_state 514 drivers/acpi/acpica/psparse.c walk_state = acpi_ds_get_current_walk_state(thread); walk_state 518 drivers/acpi/acpica/psparse.c } else if ((status != AE_OK) && (walk_state->method_desc)) { walk_state 524 drivers/acpi/acpica/psparse.c acpi_ns_print_node_pathname(walk_state-> walk_state 530 drivers/acpi/acpica/psparse.c walk_state->method_node, NULL, walk_state 538 drivers/acpi/acpica/psparse.c (!(walk_state->method_desc->method.info_flags & walk_state 546 drivers/acpi/acpica/psparse.c walk_state->method_desc->method.info_flags |= walk_state 553 drivers/acpi/acpica/psparse.c walk_state = acpi_ds_pop_walk_state(thread); walk_state 557 drivers/acpi/acpica/psparse.c acpi_ds_scope_stack_clear(walk_state); walk_state 564 drivers/acpi/acpica/psparse.c if (((walk_state->parse_flags & ACPI_PARSE_MODE_MASK) == walk_state 566 drivers/acpi/acpica/psparse.c !(walk_state->parse_flags & ACPI_PARSE_MODULE_LEVEL)) || walk_state 568 drivers/acpi/acpica/psparse.c acpi_ds_terminate_control_method(walk_state-> walk_state 570 drivers/acpi/acpica/psparse.c walk_state); walk_state 575 drivers/acpi/acpica/psparse.c acpi_ps_cleanup_scope(&walk_state->parser_state); walk_state 576 drivers/acpi/acpica/psparse.c previous_walk_state = walk_state; walk_state 580 drivers/acpi/acpica/psparse.c walk_state->return_desc, walk_state 581 drivers/acpi/acpica/psparse.c walk_state->implicit_return_obj, walk_state)); walk_state 585 drivers/acpi/acpica/psparse.c walk_state = acpi_ds_get_current_walk_state(thread); walk_state 586 drivers/acpi/acpica/psparse.c if (walk_state) { walk_state 616 drivers/acpi/acpica/psparse.c (walk_state, walk_state 629 drivers/acpi/acpica/psparse.c (walk_state, walk_state 633 drivers/acpi/acpica/psparse.c walk_state->walk_type |= walk_state 88 drivers/acpi/acpica/psxface.c struct acpi_walk_state *walk_state; walk_state 133 drivers/acpi/acpica/psxface.c walk_state = walk_state 136 drivers/acpi/acpica/psxface.c if (!walk_state) { walk_state 141 drivers/acpi/acpica/psxface.c status = acpi_ds_init_aml_walk(walk_state, op, info->node, walk_state 146 drivers/acpi/acpica/psxface.c acpi_ds_delete_walk_state(walk_state); walk_state 150 drivers/acpi/acpica/psxface.c walk_state->method_pathname = info->full_pathname; walk_state 151 drivers/acpi/acpica/psxface.c walk_state->method_is_nested = FALSE; walk_state 154 drivers/acpi/acpica/psxface.c walk_state->parse_flags |= ACPI_PARSE_MODULE_LEVEL; walk_state 161 drivers/acpi/acpica/psxface.c info->obj_desc->method.dispatch.implementation(walk_state); walk_state 162 drivers/acpi/acpica/psxface.c info->return_object = walk_state->return_desc; walk_state 166 drivers/acpi/acpica/psxface.c acpi_ds_scope_stack_clear(walk_state); walk_state 167 drivers/acpi/acpica/psxface.c acpi_ps_cleanup_scope(&walk_state->parser_state); walk_state 168 drivers/acpi/acpica/psxface.c acpi_ds_terminate_control_method(walk_state->method_desc, walk_state 169 drivers/acpi/acpica/psxface.c walk_state); walk_state 170 drivers/acpi/acpica/psxface.c acpi_ds_delete_walk_state(walk_state); walk_state 179 drivers/acpi/acpica/psxface.c walk_state->implicit_return_obj = walk_state 181 drivers/acpi/acpica/psxface.c if (!walk_state->implicit_return_obj) { walk_state 183 drivers/acpi/acpica/psxface.c acpi_ds_delete_walk_state(walk_state); walk_state 190 drivers/acpi/acpica/psxface.c status = acpi_ps_parse_aml(walk_state); walk_state 243 drivers/acpi/acpica/psxface.c struct acpi_walk_state *walk_state = NULL; walk_state 257 drivers/acpi/acpica/psxface.c walk_state = walk_state 260 drivers/acpi/acpica/psxface.c if (!walk_state) { walk_state 265 drivers/acpi/acpica/psxface.c status = acpi_ds_init_aml_walk(walk_state, op, info->node, walk_state 273 drivers/acpi/acpica/psxface.c walk_state->method_pathname = info->full_pathname; walk_state 274 drivers/acpi/acpica/psxface.c walk_state->method_is_nested = FALSE; walk_state 277 drivers/acpi/acpica/psxface.c walk_state->parse_flags |= ACPI_PARSE_MODULE_LEVEL; walk_state 285 drivers/acpi/acpica/psxface.c walk_state); walk_state 295 drivers/acpi/acpica/psxface.c status = acpi_ps_parse_aml(walk_state); walk_state 297 drivers/acpi/acpica/psxface.c walk_state = NULL; walk_state 300 drivers/acpi/acpica/psxface.c if (walk_state) { walk_state 301 drivers/acpi/acpica/psxface.c acpi_ds_delete_walk_state(walk_state); walk_state 55 drivers/acpi/acpica/utcopy.c struct acpi_walk_state *walk_state); walk_state 890 drivers/acpi/acpica/utcopy.c struct acpi_walk_state *walk_state) walk_state 918 drivers/acpi/acpica/utcopy.c walk_state); walk_state 946 drivers/acpi/acpica/utcopy.c struct acpi_walk_state *walk_state) walk_state 964 drivers/acpi/acpica/utcopy.c walk_state); walk_state 383 drivers/acpi/acpica/utosi.c acpi_status acpi_ut_osi_implementation(struct acpi_walk_state *walk_state) walk_state 396 drivers/acpi/acpica/utosi.c string_desc = walk_state->arguments[0].object; walk_state 456 drivers/acpi/acpica/utosi.c walk_state->return_desc = return_desc; walk_state 137 drivers/acpi/acpica/utresrc.c acpi_ut_walk_aml_resources(struct acpi_walk_state *walk_state, walk_state 168 drivers/acpi/acpica/utresrc.c acpi_ut_validate_resource(walk_state, aml, &resource_index); walk_state 232 drivers/acpi/acpica/utresrc.c (void)acpi_ut_validate_resource(walk_state, end_tag, walk_state 262 drivers/acpi/acpica/utresrc.c acpi_ut_validate_resource(struct acpi_walk_state *walk_state, walk_state 365 drivers/acpi/acpica/utresrc.c if (walk_state) { walk_state 385 drivers/acpi/acpica/utresrc.c if (walk_state) { walk_state 394 drivers/acpi/acpica/utresrc.c if (walk_state) {