Lines Matching refs:op
157 union acpi_parse_object **op) in acpi_ps_build_named_op() argument
215 walk_state->op = NULL; in acpi_ps_build_named_op()
217 status = walk_state->descending_callback(walk_state, op); in acpi_ps_build_named_op()
226 if (!*op) { in acpi_ps_build_named_op()
230 status = acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_build_named_op()
238 acpi_ps_append_arg(*op, unnamed_op->common.value.arg); in acpi_ps_build_named_op()
244 (*op)->common.inline_comment = unnamed_op->common.inline_comment; in acpi_ps_build_named_op()
245 (*op)->common.end_node_comment = unnamed_op->common.end_node_comment; in acpi_ps_build_named_op()
246 (*op)->common.close_brace_comment = in acpi_ps_build_named_op()
248 (*op)->common.name_comment = unnamed_op->common.name_comment; in acpi_ps_build_named_op()
249 (*op)->common.comment_list = unnamed_op->common.comment_list; in acpi_ps_build_named_op()
250 (*op)->common.end_blk_comment = unnamed_op->common.end_blk_comment; in acpi_ps_build_named_op()
251 (*op)->common.cv_filename = unnamed_op->common.cv_filename; in acpi_ps_build_named_op()
252 (*op)->common.cv_parent_filename = in acpi_ps_build_named_op()
254 (*op)->named.aml = unnamed_op->common.aml; in acpi_ps_build_named_op()
264 if ((*op)->common.aml_opcode == AML_REGION_OP || in acpi_ps_build_named_op()
265 (*op)->common.aml_opcode == AML_DATA_REGION_OP) { in acpi_ps_build_named_op()
276 (*op)->named.data = aml_op_start; in acpi_ps_build_named_op()
277 (*op)->named.length = 0; in acpi_ps_build_named_op()
302 union acpi_parse_object *op; in acpi_ps_create_op() local
321 op = acpi_ps_alloc_op(walk_state->opcode, aml_op_start); in acpi_ps_create_op()
322 if (!op) { in acpi_ps_create_op()
328 acpi_ps_build_named_op(walk_state, aml_op_start, op, in acpi_ps_create_op()
330 acpi_ps_free_op(op); in acpi_ps_create_op()
366 op->named.data = aml_op_start; in acpi_ps_create_op()
367 op->named.length = 0; in acpi_ps_create_op()
375 op->named.data = aml_op_start; in acpi_ps_create_op()
376 op->named.length = 0; in acpi_ps_create_op()
380 acpi_ps_append_arg(parent_scope, op); in acpi_ps_create_op()
390 op->common.flags |= ACPI_PARSEOP_TARGET; in acpi_ps_create_op()
401 op->common.flags |= ACPI_PARSEOP_TARGET; in acpi_ps_create_op()
410 walk_state->op = *new_op = op; in acpi_ps_create_op()
412 status = walk_state->descending_callback(walk_state, &op); in acpi_ps_create_op()
413 status = acpi_ps_next_parse_state(walk_state, op, status); in acpi_ps_create_op()
438 union acpi_parse_object **op, acpi_status status) in acpi_ps_complete_op() argument
451 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
456 *op = NULL; in acpi_ps_complete_op()
473 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
477 if (*op) { in acpi_ps_complete_op()
478 walk_state->op = *op; in acpi_ps_complete_op()
480 acpi_ps_get_opcode_info((*op)->common.aml_opcode); in acpi_ps_complete_op()
481 walk_state->opcode = (*op)->common.aml_opcode; in acpi_ps_complete_op()
485 acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_complete_op()
487 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
501 while (!(*op) || ((*op)->common.aml_opcode != AML_WHILE_OP)) { in acpi_ps_complete_op()
502 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
509 walk_state->op = *op; in acpi_ps_complete_op()
511 acpi_ps_get_opcode_info((*op)->common.aml_opcode); in acpi_ps_complete_op()
512 walk_state->opcode = (*op)->common.aml_opcode; in acpi_ps_complete_op()
515 status = acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_complete_op()
517 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
529 if (*op) { in acpi_ps_complete_op()
531 acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
541 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
545 } while (*op); in acpi_ps_complete_op()
552 if (*op) { in acpi_ps_complete_op()
558 if (((*op)->common.aml_opcode == AML_REGION_OP) in acpi_ps_complete_op()
559 || ((*op)->common.aml_opcode == in acpi_ps_complete_op()
561 acpi_ns_delete_children((*op)->common. in acpi_ps_complete_op()
563 acpi_ns_remove_node((*op)->common.node); in acpi_ps_complete_op()
564 (*op)->common.node = NULL; in acpi_ps_complete_op()
565 acpi_ps_delete_parse_tree(*op); in acpi_ps_complete_op()
569 acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
575 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
579 } while (*op); in acpi_ps_complete_op()
585 if (*op == NULL) { in acpi_ps_complete_op()
586 acpi_ps_pop_scope(parser_state, op, in acpi_ps_complete_op()
613 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
616 ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "Popped scope, Op=%p\n", *op)); in acpi_ps_complete_op()
618 *op = NULL; in acpi_ps_complete_op()
641 union acpi_parse_object *op, acpi_status status) in acpi_ps_complete_final_op() argument
655 op)); in acpi_ps_complete_final_op()
657 if (op) { in acpi_ps_complete_final_op()
660 walk_state->op = op; in acpi_ps_complete_final_op()
662 acpi_ps_get_opcode_info(op->common. in acpi_ps_complete_final_op()
664 walk_state->opcode = op->common.aml_opcode; in acpi_ps_complete_final_op()
669 acpi_ps_next_parse_state(walk_state, op, in acpi_ps_complete_final_op()
673 acpi_ps_complete_op(walk_state, &op, in acpi_ps_complete_final_op()
694 status = acpi_ps_complete_this_op(walk_state, op); in acpi_ps_complete_final_op()
704 acpi_ps_pop_scope(&(walk_state->parser_state), &op, in acpi_ps_complete_final_op()
708 } while (op); in acpi_ps_complete_final_op()