Lines Matching refs:Asl

226     Next = Op->Asl.Child;  in OpnDoMutex()
227 Next = Next->Asl.Next; in OpnDoMutex()
229 if (Next->Asl.Value.Integer > 15) in OpnDoMutex()
266 Next = Op->Asl.Child; in OpnDoMethod()
270 Next = Next->Asl.Next; in OpnDoMethod()
271 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoMethod()
273 NumArgs = (UINT8) Next->Asl.Value.Integer; in OpnDoMethod()
274 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoMethod()
279 Next = Next->Asl.Next; in OpnDoMethod()
280 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoMethod()
282 Serialized = (UINT8) Next->Asl.Value.Integer; in OpnDoMethod()
283 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoMethod()
288 Next = Next->Asl.Next; in OpnDoMethod()
289 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoMethod()
295 if (Next->Asl.Value.Integer > 15) in OpnDoMethod()
300 Concurrency = (UINT8) Next->Asl.Value.Integer; in OpnDoMethod()
312 Next->Asl.Value.Integer = MethodFlags; in OpnDoMethod()
313 Next->Asl.AmlOpcode = AML_RAW_DATA_BYTE; in OpnDoMethod()
314 Next->Asl.AmlLength = 1; in OpnDoMethod()
315 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoMethod()
319 Op->Asl.Extra = NumArgs; in OpnDoMethod()
355 AccessType = (UINT8) Op->Asl.Value.Integer; in OpnDoFieldCommon()
356 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
360 FieldOp->Asl.Value.Integer = AccessType; in OpnDoFieldCommon()
364 Next = Op->Asl.Next; in OpnDoFieldCommon()
365 LockRule = (UINT8) Next->Asl.Value.Integer; in OpnDoFieldCommon()
366 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
370 Next = Next->Asl.Next; in OpnDoFieldCommon()
371 UpdateRule = (UINT8) Next->Asl.Value.Integer; in OpnDoFieldCommon()
384 Next->Asl.Value.Integer = FieldFlags; in OpnDoFieldCommon()
385 Next->Asl.AmlOpcode = AML_RAW_DATA_BYTE; in OpnDoFieldCommon()
386 Next->Asl.AmlLength = 1; in OpnDoFieldCommon()
387 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoFieldCommon()
391 Next = Next->Asl.Next; in OpnDoFieldCommon()
398 Next->Asl.ExtraValue = CurrentBitOffset; in OpnDoFieldCommon()
400 switch (Next->Asl.ParseOpcode) in OpnDoFieldCommon()
404 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
405 AccessType = (UINT8) PkgLengthNode->Asl.Value.Integer; in OpnDoFieldCommon()
414 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
415 NewBitOffset = ((UINT32) PkgLengthNode->Asl.Value.Integer) * 8; in OpnDoFieldCommon()
429 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
430 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
438 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
439 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
447 PkgLengthNode->Asl.Value.Integer = in OpnDoFieldCommon()
458 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
459 NewBitOffset = (UINT32) PkgLengthNode->Asl.Value.Integer; in OpnDoFieldCommon()
463 (Next->Asl.ParseOpcode == PARSEOP_RESERVED_BYTES) && in OpnDoFieldCommon()
472 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
473 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
502 PkgLengthNode->Asl.ExtraValue = MinimumLength; in OpnDoFieldCommon()
514 Next = Next->Asl.Next; in OpnDoFieldCommon()
541 Next = Op->Asl.Child; in OpnDoField()
545 OpnDoFieldCommon (Op, Next->Asl.Next); in OpnDoField()
571 Next = Op->Asl.Child; in OpnDoIndexField()
575 Next = Next->Asl.Next; in OpnDoIndexField()
579 OpnDoFieldCommon (Op, Next->Asl.Next); in OpnDoIndexField()
605 Next = Op->Asl.Child; in OpnDoBankField()
609 Next = Next->Asl.Next; in OpnDoBankField()
613 Next = Next->Asl.Next; in OpnDoBankField()
617 OpnDoFieldCommon (Op, Next->Asl.Next); in OpnDoBankField()
644 Next = Op->Asl.Child; in OpnDoRegion()
648 Next = Next->Asl.Next; in OpnDoRegion()
652 Next = Next->Asl.Next; in OpnDoRegion()
656 Next = Next->Asl.Next; in OpnDoRegion()
657 if (Next->Asl.ParseOpcode == PARSEOP_INTEGER) in OpnDoRegion()
659 Op->Asl.Value.Integer = Next->Asl.Value.Integer; in OpnDoRegion()
663 Op->Asl.Value.Integer = ACPI_UINT64_MAX; in OpnDoRegion()
697 BufferLengthOp = Op->Asl.Child; in OpnDoBuffer()
698 InitializerOp = BufferLengthOp->Asl.Next; in OpnDoBuffer()
705 if ((BufferLengthOp->Asl.ParseOpcode != PARSEOP_INTEGER) && in OpnDoBuffer()
706 (BufferLengthOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)) in OpnDoBuffer()
716 switch (InitializerOp->Asl.ParseOpcode) in OpnDoBuffer()
729 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE; in OpnDoBuffer()
730 InitializerOp->Asl.AmlLength = 1; in OpnDoBuffer()
731 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoBuffer()
744 BufferLength = strlen (InitializerOp->Asl.Value.String) + 1; in OpnDoBuffer()
746 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BUFFER; in OpnDoBuffer()
747 InitializerOp->Asl.AmlLength = BufferLength; in OpnDoBuffer()
748 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoBuffer()
764 UtGetOpName (InitializerOp->Asl.ParseOpcode)); in OpnDoBuffer()
770 if (BufferLengthOp->Asl.Value.Integer > BufferLength) in OpnDoBuffer()
772 BufferLength = (UINT32) BufferLengthOp->Asl.Value.Integer; in OpnDoBuffer()
788 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in OpnDoBuffer()
789 BufferLengthOp->Asl.AmlOpcode = AML_DWORD_OP; in OpnDoBuffer()
790 BufferLengthOp->Asl.Value.Integer = BufferLength; in OpnDoBuffer()
823 PackageLengthOp = Op->Asl.Child; in OpnDoPackage()
824 InitializerOp = PackageLengthOp->Asl.Next; in OpnDoPackage()
828 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoPackage()
835 InitializerOp = InitializerOp->Asl.Next; in OpnDoPackage()
841 if ((PackageLengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) || in OpnDoPackage()
842 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_QWORDCONST)) in OpnDoPackage()
844 if (PackageLengthOp->Asl.Value.Integer > PackageLength) in OpnDoPackage()
858 PackageLength = (UINT32) PackageLengthOp->Asl.Value.Integer; in OpnDoPackage()
860 else if (PackageLengthOp->Asl.Value.Integer < PackageLength) in OpnDoPackage()
871 if (PackageLengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in OpnDoPackage()
877 Op->Asl.Child->Asl.ParseOpcode = PARSEOP_INTEGER; in OpnDoPackage()
878 Op->Asl.Child->Asl.Value.Integer = PackageLength; in OpnDoPackage()
882 (void) OpcSetOptimalIntegerSize (Op->Asl.Child); in OpnDoPackage()
887 if ((PackageLengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) || in OpnDoPackage()
888 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_QWORDCONST) || in OpnDoPackage()
889 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_ZERO) || in OpnDoPackage()
890 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG)) in OpnDoPackage()
907 if (((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_INTEGER) && in OpnDoPackage()
908 (Op->Asl.Child->Asl.Value.Integer <= 255)) || in OpnDoPackage()
909 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ONE) || in OpnDoPackage()
910 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ONES)|| in OpnDoPackage()
911 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ZERO)) in OpnDoPackage()
913 Op->Asl.AmlOpcode = AML_PACKAGE_OP; in OpnDoPackage()
914 Op->Asl.ParseOpcode = PARSEOP_PACKAGE; in OpnDoPackage()
920 PackageLengthOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE; in OpnDoPackage()
921 PackageLengthOp->Asl.AmlLength = 1; in OpnDoPackage()
922 PackageLengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoPackage()
923 PackageLengthOp->Asl.Value.Integer = PackageLength; in OpnDoPackage()
952 Next = Op->Asl.Child; in OpnDoLoadTable()
956 Next = Next->Asl.Next; in OpnDoLoadTable()
960 Next = Next->Asl.Next; in OpnDoLoadTable()
964 Next = Next->Asl.Next; in OpnDoLoadTable()
965 if (Next->Asl.ParseOpcode == PARSEOP_ZERO) in OpnDoLoadTable()
967 Next->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in OpnDoLoadTable()
968 Next->Asl.Value.String = "\\"; in OpnDoLoadTable()
969 Next->Asl.AmlLength = 2; in OpnDoLoadTable()
979 Next = Next->Asl.Next; in OpnDoLoadTable()
980 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
982 Next->Asl.AmlLength = 1; in OpnDoLoadTable()
983 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
988 Next = Next->Asl.Next; in OpnDoLoadTable()
989 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
991 Next->Asl.AmlLength = 1; in OpnDoLoadTable()
992 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
1031 Child = Op->Asl.Child; in OpnDoDefinitionBlock()
1032 if (Child->Asl.Value.Buffer && in OpnDoDefinitionBlock()
1033 *Child->Asl.Value.Buffer && in OpnDoDefinitionBlock()
1041 strlen ((char *) Child->Asl.Value.Buffer) + 1); in OpnDoDefinitionBlock()
1046 strcat (Filename, (char *) Child->Asl.Value.Buffer); in OpnDoDefinitionBlock()
1052 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1056 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1057 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1058 if (Child->Asl.Value.String) in OpnDoDefinitionBlock()
1060 Gbl_TableSignature = Child->Asl.Value.String; in OpnDoDefinitionBlock()
1079 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1080 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1088 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1089 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1090 if (Child->Asl.Value.String && in OpnDoDefinitionBlock()
1091 strlen (Child->Asl.Value.String) > ACPI_OEM_ID_SIZE) in OpnDoDefinitionBlock()
1099 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1100 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1101 if (Child->Asl.Value.String) in OpnDoDefinitionBlock()
1103 Length = strlen (Child->Asl.Value.String); in OpnDoDefinitionBlock()
1111 strcpy (Gbl_TableId, Child->Asl.Value.String); in OpnDoDefinitionBlock()
1128 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1129 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1156 Arg = Op->Asl.Child; in UtGetArg()
1160 Arg = Arg->Asl.Next; in UtGetArg()
1188 switch (Op->Asl.AmlOpcode) in OpnAttachNameToNode()
1263 if (Op->Asl.AmlOpcode == AML_RAW_DATA_BYTE) in OpnGenerateAmlOperands()
1268 switch (Op->Asl.ParseOpcode) in OpnGenerateAmlOperands()