Lines Matching refs:op
125 union acpi_parse_object *op; in acpi_ds_load1_begin_op() local
136 op = walk_state->op; in acpi_ds_load1_begin_op()
137 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, walk_state)); in acpi_ds_load1_begin_op()
141 if (op) { in acpi_ds_load1_begin_op()
147 *out_op = op; in acpi_ds_load1_begin_op()
151 *out_op = op; in acpi_ds_load1_begin_op()
157 if (op->common.node) { in acpi_ds_load1_begin_op()
158 *out_op = op; in acpi_ds_load1_begin_op()
170 "State=%p Op=%p [%s]\n", walk_state, op, acpi_ut_get_type_name (object_type))); in acpi_ds_load1_begin_op()
288 if (!op) { in acpi_ds_load1_begin_op()
291 op = acpi_ps_alloc_op (walk_state->opcode); in acpi_ds_load1_begin_op()
292 if (!op) { in acpi_ds_load1_begin_op()
299 op->named.name = node->name.integer; in acpi_ds_load1_begin_op()
302 op->named.path = (u8 *) path; in acpi_ds_load1_begin_op()
310 op->common.node = node; in acpi_ds_load1_begin_op()
311 acpi_ps_append_arg (acpi_ps_get_parent_scope (&walk_state->parser_state), op); in acpi_ds_load1_begin_op()
313 *out_op = op; in acpi_ds_load1_begin_op()
337 union acpi_parse_object *op; in acpi_ds_load1_end_op() local
345 op = walk_state->op; in acpi_ds_load1_end_op()
346 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, walk_state)); in acpi_ds_load1_end_op()
363 status = acpi_ds_init_field_objects (op, walk_state); in acpi_ds_load1_end_op()
369 if (op->common.aml_opcode == AML_REGION_OP) { in acpi_ds_load1_end_op()
370 status = acpi_ex_create_region (op->named.data, op->named.length, in acpi_ds_load1_end_op()
371 (acpi_adr_space_type) ((op->common.value.arg)->common.value.integer), walk_state); in acpi_ds_load1_end_op()
378 if (op->common.aml_opcode == AML_NAME_OP) { in acpi_ds_load1_end_op()
381 if (op->common.value.arg) { in acpi_ds_load1_end_op()
382 object_type = (acpi_ps_get_opcode_info ((op->common.value.arg)->common.aml_opcode))->object_type; in acpi_ds_load1_end_op()
383 op->common.node->type = (u8) object_type; in acpi_ds_load1_end_op()
387 if (op->common.aml_opcode == AML_METHOD_OP) { in acpi_ds_load1_end_op()
398 walk_state, op, op->named.node)); in acpi_ds_load1_end_op()
400 if (!acpi_ns_get_attached_object (op->named.node)) { in acpi_ds_load1_end_op()
401 walk_state->operands[0] = (void *) op->named.node; in acpi_ds_load1_end_op()
404 status = acpi_ds_create_operands (walk_state, op->common.value.arg); in acpi_ds_load1_end_op()
406 status = acpi_ex_create_method (op->named.data, in acpi_ds_load1_end_op()
407 op->named.length, walk_state); in acpi_ds_load1_end_op()
422 acpi_ut_get_type_name (object_type), op)); in acpi_ds_load1_end_op()
450 union acpi_parse_object *op; in acpi_ds_load2_begin_op() local
460 op = walk_state->op; in acpi_ds_load2_begin_op()
461 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, walk_state)); in acpi_ds_load2_begin_op()
463 if (op) { in acpi_ds_load2_begin_op()
477 buffer_ptr = op->common.value.string; in acpi_ds_load2_begin_op()
487 buffer_ptr = (char *) &op->named.name; in acpi_ds_load2_begin_op()
501 "State=%p Op=%p Type=%X\n", walk_state, op, object_type)); in acpi_ds_load2_begin_op()
583 if (op && op->common.node) { in acpi_ds_load2_begin_op()
586 node = op->common.node; in acpi_ds_load2_begin_op()
624 if (!op) { in acpi_ds_load2_begin_op()
627 op = acpi_ps_alloc_op (walk_state->opcode); in acpi_ds_load2_begin_op()
628 if (!op) { in acpi_ds_load2_begin_op()
635 op->named.name = node->name.integer; in acpi_ds_load2_begin_op()
638 *out_op = op; in acpi_ds_load2_begin_op()
646 op->common.node = node; in acpi_ds_load2_begin_op()
671 union acpi_parse_object *op; in acpi_ds_load2_end_op() local
684 op = walk_state->op; in acpi_ds_load2_end_op()
686 walk_state->op_info->name, op, walk_state)); in acpi_ds_load2_end_op()
694 if (op->common.aml_opcode == AML_SCOPE_OP) { in acpi_ds_load2_end_op()
696 "Ending scope Op=%p State=%p\n", op, walk_state)); in acpi_ds_load2_end_op()
706 node = op->common.node; in acpi_ds_load2_end_op()
717 if (acpi_ns_opens_scope (object_type) && (op->common.aml_opcode != AML_INT_METHODCALL_OP)) { in acpi_ds_load2_end_op()
719 acpi_ut_get_type_name (object_type), op)); in acpi_ds_load2_end_op()
757 acpi_ps_get_opcode_name (op->common.aml_opcode), walk_state, op, node)); in acpi_ds_load2_end_op()
761 arg = op->common.value.arg; in acpi_ds_load2_end_op()
772 status = acpi_ds_create_buffer_field (op, walk_state); in acpi_ds_load2_end_op()
778 switch (op->common.aml_opcode) { in acpi_ds_load2_end_op()
781 status = acpi_ds_create_index_field (op, (acpi_handle) arg->common.node, in acpi_ds_load2_end_op()
787 status = acpi_ds_create_bank_field (op, arg->common.node, walk_state); in acpi_ds_load2_end_op()
792 status = acpi_ds_create_field (op, arg->common.node, walk_state); in acpi_ds_load2_end_op()
809 switch (op->common.aml_opcode) { in acpi_ds_load2_end_op()
859 switch (op->common.aml_opcode) { in acpi_ds_load2_end_op()
886 status = acpi_ds_create_node (walk_state, node, op); in acpi_ds_load2_end_op()
909 walk_state, op, node)); in acpi_ds_load2_end_op()
931 op->common.node = new_node; in acpi_ds_load2_end_op()