Lines Matching refs:Op
69 ACPI_PARSE_OBJECT *Op);
84 * AmlOpStart - Op start in AML
85 * Op - Current Op
89 * DESCRIPTION: Get arguments for passed Op.
97 ACPI_PARSE_OBJECT *Op)
107 switch (Op->Common.AmlOpcode)
118 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op);
124 &(WalkState->ParserState), Op, ACPI_POSSIBLE_METHOD_CALL);
135 * Op is not a constant or string, append each argument to the Op
151 AcpiPsAppendArg (Op, Arg);
172 switch (Op->Common.AmlOpcode)
185 AcpiPsLinkModuleCode (Op->Common.Parent, AmlOpStart,
207 (Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP))
209 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
216 Op->Common.AmlOpcode,
228 switch (Op->Common.AmlOpcode)
237 Op->Named.Data = WalkState->ParserState.Aml;
238 Op->Named.Length = (UINT32)
251 if ((Op->Common.Parent) &&
252 (Op->Common.Parent->Common.AmlOpcode == AML_NAME_OP) &&
259 Op->Named.Data = AmlOpStart;
260 Op->Named.Length = (UINT32)
412 ACPI_PARSE_OBJECT *Op = NULL; /* current op */
440 if ((ParserState->Scope->ParseScope.Op) &&
441 ((ParserState->Scope->ParseScope.Op->Common.AmlOpcode == AML_IF_OP) ||
442 (ParserState->Scope->ParseScope.Op->Common.AmlOpcode == AML_WHILE_OP)) &&
451 WalkState->Op = NULL;
466 Status = AcpiPsNextParseState (WalkState, Op, Status);
469 AcpiPsPopScope (ParserState, &Op,
471 ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "Popped scope, Op=%p\n", Op));
477 Op = WalkState->PrevOp;
485 while ((ParserState->Aml < ParserState->AmlEnd) || (Op))
488 if (!Op)
490 Status = AcpiPsCreateOp (WalkState, AmlOpStart, &Op);
508 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
517 AcpiExStartTraceOpcode (Op, WalkState);
533 Status = AcpiPsGetArguments (WalkState, AmlOpStart, Op);
536 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
551 * There are arguments (complex ones), push Op and
554 Status = AcpiPsPushScope (ParserState, Op,
558 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
567 Op = NULL;
572 * All arguments have been processed -- Op is complete,
575 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
578 if (Op->Common.AmlOpcode == AML_REGION_OP ||
579 Op->Common.AmlOpcode == AML_DATA_REGION_OP)
589 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data);
601 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data);
604 if (Op->Common.AmlOpcode == AML_BANK_FIELD_OP)
611 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data);
618 WalkState->Op = Op;
619 WalkState->Opcode = Op->Common.AmlOpcode;
622 Status = AcpiPsNextParseState (WalkState, Op, Status);
629 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
637 Status = AcpiPsCompleteFinalOp (WalkState, Op, Status);