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()
484 (void)acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_complete_op()
486 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
499 while (!(*op) || ((*op)->common.aml_opcode != AML_WHILE_OP)) { in acpi_ps_complete_op()
500 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
507 walk_state->op = *op; in acpi_ps_complete_op()
509 acpi_ps_get_opcode_info((*op)->common.aml_opcode); in acpi_ps_complete_op()
510 walk_state->opcode = (*op)->common.aml_opcode; in acpi_ps_complete_op()
513 (void)acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_complete_op()
515 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
526 if (*op) { in acpi_ps_complete_op()
528 acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
538 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
542 } while (*op); in acpi_ps_complete_op()
549 if (*op) { in acpi_ps_complete_op()
555 if (((*op)->common.aml_opcode == AML_REGION_OP) in acpi_ps_complete_op()
556 || ((*op)->common.aml_opcode == in acpi_ps_complete_op()
558 acpi_ns_delete_children((*op)->common. in acpi_ps_complete_op()
560 acpi_ns_remove_node((*op)->common.node); in acpi_ps_complete_op()
561 (*op)->common.node = NULL; in acpi_ps_complete_op()
562 acpi_ps_delete_parse_tree(*op); in acpi_ps_complete_op()
566 acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
572 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
576 } while (*op); in acpi_ps_complete_op()
582 if (*op == NULL) { in acpi_ps_complete_op()
583 acpi_ps_pop_scope(parser_state, op, in acpi_ps_complete_op()
609 acpi_ps_pop_scope(&(walk_state->parser_state), op, in acpi_ps_complete_op()
612 ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "Popped scope, Op=%p\n", *op)); in acpi_ps_complete_op()
614 *op = NULL; in acpi_ps_complete_op()
637 union acpi_parse_object *op, acpi_status status) in acpi_ps_complete_final_op() argument
650 op)); in acpi_ps_complete_final_op()
652 if (op) { in acpi_ps_complete_final_op()
654 walk_state->op = op; in acpi_ps_complete_final_op()
656 acpi_ps_get_opcode_info(op->common. in acpi_ps_complete_final_op()
658 walk_state->opcode = op->common.aml_opcode; in acpi_ps_complete_final_op()
663 acpi_ps_next_parse_state(walk_state, op, in acpi_ps_complete_final_op()
667 acpi_ps_complete_op(walk_state, &op, in acpi_ps_complete_final_op()
679 if (op) { in acpi_ps_complete_final_op()
682 (walk_state, op); in acpi_ps_complete_final_op()
693 &op, in acpi_ps_complete_final_op()
699 } while (op); in acpi_ps_complete_final_op()
710 op); in acpi_ps_complete_final_op()
715 status2 = acpi_ps_complete_this_op(walk_state, op); in acpi_ps_complete_final_op()
721 acpi_ps_pop_scope(&(walk_state->parser_state), &op, in acpi_ps_complete_final_op()
725 } while (op); in acpi_ps_complete_final_op()