Lines Matching refs:Op

179     ACPI_PARSE_OBJECT       *Op);
187 * AmlOpStart - Op start in AML
188 * Op - Current Op
192 * DESCRIPTION: Get arguments for passed Op.
200 ACPI_PARSE_OBJECT *Op)
210 "Get arguments for opcode [%s]\n", Op->Common.AmlOpName));
212 switch (Op->Common.AmlOpcode)
223 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op);
229 &(WalkState->ParserState), Op, ACPI_POSSIBLE_METHOD_CALL);
240 * Op is not a constant or string, append each argument to the Op
247 switch (Op->Common.AmlOpcode)
272 AcpiPsAppendArg (Op, Arg);
284 switch (Op->Common.AmlOpcode)
293 Op->Named.Data = WalkState->ParserState.Aml;
294 Op->Named.Length = (UINT32)
307 if ((Op->Common.Parent) &&
308 (Op->Common.Parent->Common.AmlOpcode == AML_NAME_OP) &&
319 Op->Named.Data = AmlOpStart;
320 Op->Named.Length = (UINT32)
371 ACPI_PARSE_OBJECT *Op = NULL; /* current op */
400 if ((ParserState->Scope->ParseScope.Op) &&
401 ((ParserState->Scope->ParseScope.Op->Common.AmlOpcode == AML_IF_OP) ||
402 (ParserState->Scope->ParseScope.Op->Common.AmlOpcode == AML_WHILE_OP)) &&
411 WalkState->Op = NULL;
425 Status = AcpiPsNextParseState (WalkState, Op, Status);
428 AcpiPsPopScope (ParserState, &Op,
430 ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "Popped scope, Op=%p\n", Op));
436 Op = WalkState->PrevOp;
444 while ((ParserState->Aml < ParserState->AmlEnd) || (Op))
449 if (!Op)
451 Status = AcpiPsCreateOp (WalkState, AmlOpStart, &Op);
481 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
516 AcpiExStartTraceOpcode (Op, WalkState);
525 switch (Op->Common.AmlOpcode)
546 Status = AcpiPsGetArguments (WalkState, AmlOpStart, Op);
549 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
579 Op = NULL;
592 * There are arguments (complex ones), push Op and
595 Status = AcpiPsPushScope (ParserState, Op,
599 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
608 Op = NULL;
613 * All arguments have been processed -- Op is complete,
616 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
619 if (Op->Common.AmlOpcode == AML_REGION_OP ||
620 Op->Common.AmlOpcode == AML_DATA_REGION_OP)
630 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data);
642 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data);
645 if (Op->Common.AmlOpcode == AML_BANK_FIELD_OP)
652 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data);
659 WalkState->Op = Op;
660 WalkState->Opcode = Op->Common.AmlOpcode;
663 Status = AcpiPsNextParseState (WalkState, Op, Status);
680 * trying to execute the Op.
686 Status = AcpiPsCompleteOp (WalkState, &Op, Status);
694 Status = AcpiPsCompleteFinalOp (WalkState, Op, Status);