Lines Matching defs:Aml
3 * Module Name: psargs - Parse AML opcode arguments
184 * RETURN: Decoded package length. On completion, the AML pointer points
196 UINT8 *Aml = ParserState->Aml;
209 ByteCount = (Aml[0] >> 6);
210 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1);
223 PackageLength |= (Aml[ByteCount] << ((ByteCount << 3) - 4));
231 PackageLength |= (Aml[0] & ByteZeroMask);
253 UINT8 *Start = ParserState->Aml;
260 /* Function below updates ParserState->Aml */
275 * the AML.
277 * DESCRIPTION: Get next raw namestring within the AML stream. Handles all name
279 * (Name is consumed from the AML.)
287 UINT8 *Start = ParserState->Aml;
288 UINT8 *End = ParserState->Aml;
339 ParserState->Aml = End;
377 UINT8 *Start = ParserState->Aml;
418 * AcpiPsGetNextNamestring has increased the AML pointer past
420 * saved AML pointer back to the original method invocation
423 WalkState->ParserState.Aml = Start;
547 UINT8 *Aml = ParserState->Aml;
557 /* Get 1 byte from the AML stream */
560 Arg->Common.Value.Integer = (UINT64) *Aml;
566 /* Get 2 bytes from the AML stream */
569 ACPI_MOVE_16_TO_64 (&Arg->Common.Value.Integer, Aml);
575 /* Get 4 bytes from the AML stream */
578 ACPI_MOVE_32_TO_64 (&Arg->Common.Value.Integer, Aml);
584 /* Get 8 bytes from the AML stream */
587 ACPI_MOVE_64_TO_64 (&Arg->Common.Value.Integer, Aml);
596 Arg->Common.Value.String = ACPI_CAST_PTR (char, Aml);
601 while (Aml[Length])
622 ParserState->Aml += Length;
643 UINT8 *Aml;
660 Aml = ParserState->Aml;
664 switch (ACPI_GET8 (ParserState->Aml))
669 ParserState->Aml++;
675 ParserState->Aml++;
681 ParserState->Aml++;
687 ParserState->Aml++;
698 Field = AcpiPsAllocOp (Opcode, Aml);
713 ACPI_MOVE_32_TO_32 (&Name, ParserState->Aml);
715 ParserState->Aml += ACPI_NAMESEG_SIZE;
759 AccessType = ACPI_GET8 (ParserState->Aml);
760 ParserState->Aml++;
761 AccessAttribute = ACPI_GET8 (ParserState->Aml);
762 ParserState->Aml++;
771 AccessLength = ACPI_GET8 (ParserState->Aml);
772 ParserState->Aml++;
785 Aml = ParserState->Aml;
786 if (ACPI_GET8 (ParserState->Aml) == AML_BUFFER_OP)
788 ParserState->Aml++;
791 PkgEnd = ParserState->Aml;
796 if (ParserState->Aml < PkgEnd)
800 Arg = AcpiPsAllocOp (AML_INT_BYTELIST_OP, Aml);
809 Opcode = ACPI_GET8 (ParserState->Aml);
810 ParserState->Aml++;
817 BufferLength = ACPI_GET8 (ParserState->Aml);
818 ParserState->Aml += 1;
823 BufferLength = ACPI_GET16 (ParserState->Aml);
824 ParserState->Aml += 2;
829 BufferLength = ACPI_GET32 (ParserState->Aml);
830 ParserState->Aml += 4;
843 Arg->Named.Data = ParserState->Aml;
848 ParserState->Aml = PkgEnd;
852 Arg = AcpiPsAllocOp (AML_INT_NAMEPATH_OP, Aml);
965 Arg = AcpiPsAllocOp (AML_BYTE_OP, ParserState->Aml);
983 if (ParserState->Aml < ParserState->PkgEnd)
987 while (ParserState->Aml < ParserState->PkgEnd)
1013 ParserState->Aml = ParserState->PkgEnd;
1019 if (ParserState->Aml < ParserState->PkgEnd)
1024 ParserState->Aml);
1033 ACPI_PTR_DIFF (ParserState->PkgEnd, ParserState->Aml);
1034 Arg->Named.Data = ParserState->Aml;
1038 ParserState->Aml = ParserState->PkgEnd;
1057 Arg = AcpiPsAllocOp (AML_INT_NAMEPATH_OP, ParserState->Aml);
1094 Arg = AcpiPsAllocOp (AML_INT_NAMEPATH_OP, ParserState->Aml);
1142 if (ParserState->Aml < ParserState->PkgEnd)