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()
452 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
453 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
462 PkgLengthNode->Asl.Value.Integer = in OpnDoFieldCommon()
474 PkgLengthNode->Asl.Value.Integer = in OpnDoFieldCommon()
485 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
486 NewBitOffset = (UINT32) PkgLengthNode->Asl.Value.Integer; in OpnDoFieldCommon()
490 (Next->Asl.ParseOpcode == PARSEOP_RESERVED_BYTES) && in OpnDoFieldCommon()
499 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
500 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
529 PkgLengthNode->Asl.ExtraValue = MinimumLength; in OpnDoFieldCommon()
541 Next = Next->Asl.Next; in OpnDoFieldCommon()
568 Next = Op->Asl.Child; in OpnDoField()
572 OpnDoFieldCommon (Op, Next->Asl.Next); in OpnDoField()
598 Next = Op->Asl.Child; in OpnDoIndexField()
602 Next = Next->Asl.Next; in OpnDoIndexField()
606 OpnDoFieldCommon (Op, Next->Asl.Next); in OpnDoIndexField()
632 Next = Op->Asl.Child; in OpnDoBankField()
636 Next = Next->Asl.Next; in OpnDoBankField()
640 Next = Next->Asl.Next; in OpnDoBankField()
644 OpnDoFieldCommon (Op, Next->Asl.Next); in OpnDoBankField()
672 Next = Op->Asl.Child; in OpnDoRegion()
676 Next = Next->Asl.Next; in OpnDoRegion()
681 Next = Next->Asl.Next; in OpnDoRegion()
685 Next = Next->Asl.Next; in OpnDoRegion()
686 if (Next->Asl.ParseOpcode == PARSEOP_INTEGER) in OpnDoRegion()
690 Op->Asl.Value.Integer = Next->Asl.Value.Integer; in OpnDoRegion()
691 if (!Op->Asl.Value.Integer && (SpaceId < ACPI_NUM_PREDEFINED_REGIONS)) in OpnDoRegion()
698 Op->Asl.Value.Integer = ACPI_UINT64_MAX; in OpnDoRegion()
732 BufferLengthOp = Op->Asl.Child; in OpnDoBuffer()
733 InitializerOp = BufferLengthOp->Asl.Next; in OpnDoBuffer()
740 if ((BufferLengthOp->Asl.ParseOpcode != PARSEOP_INTEGER) && in OpnDoBuffer()
741 (BufferLengthOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)) in OpnDoBuffer()
751 switch (InitializerOp->Asl.ParseOpcode) in OpnDoBuffer()
764 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE; in OpnDoBuffer()
765 InitializerOp->Asl.AmlLength = 1; in OpnDoBuffer()
766 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoBuffer()
779 BufferLength = strlen (InitializerOp->Asl.Value.String) + 1; in OpnDoBuffer()
781 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BUFFER; in OpnDoBuffer()
782 InitializerOp->Asl.AmlLength = BufferLength; in OpnDoBuffer()
783 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoBuffer()
799 UtGetOpName (InitializerOp->Asl.ParseOpcode)); in OpnDoBuffer()
805 if (BufferLengthOp->Asl.Value.Integer > BufferLength) in OpnDoBuffer()
807 BufferLength = (UINT32) BufferLengthOp->Asl.Value.Integer; in OpnDoBuffer()
823 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in OpnDoBuffer()
824 BufferLengthOp->Asl.AmlOpcode = AML_DWORD_OP; in OpnDoBuffer()
825 BufferLengthOp->Asl.Value.Integer = BufferLength; in OpnDoBuffer()
859 PackageLengthOp = Op->Asl.Child; in OpnDoPackage()
860 InitializerOp = PackageLengthOp->Asl.Next; in OpnDoPackage()
864 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoPackage()
871 InitializerOp = InitializerOp->Asl.Next; in OpnDoPackage()
877 if ((PackageLengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) || in OpnDoPackage()
878 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_QWORDCONST)) in OpnDoPackage()
880 if (PackageLengthOp->Asl.Value.Integer > PackageLength) in OpnDoPackage()
894 PackageLength = (UINT32) PackageLengthOp->Asl.Value.Integer; in OpnDoPackage()
896 else if (PackageLengthOp->Asl.Value.Integer < PackageLength) in OpnDoPackage()
907 if (PackageLengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in OpnDoPackage()
913 Op->Asl.Child->Asl.ParseOpcode = PARSEOP_INTEGER; in OpnDoPackage()
914 Op->Asl.Child->Asl.Value.Integer = PackageLength; in OpnDoPackage()
919 (void) OpcSetOptimalIntegerSize (Op->Asl.Child); in OpnDoPackage()
924 if ((PackageLengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) || in OpnDoPackage()
925 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_QWORDCONST) || in OpnDoPackage()
926 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_ZERO) || in OpnDoPackage()
927 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG)) in OpnDoPackage()
944 if (((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_INTEGER) && in OpnDoPackage()
945 (Op->Asl.Child->Asl.Value.Integer <= 255)) || in OpnDoPackage()
946 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ONE) || in OpnDoPackage()
947 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ONES)|| in OpnDoPackage()
948 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ZERO)) in OpnDoPackage()
950 Op->Asl.AmlOpcode = AML_PACKAGE_OP; in OpnDoPackage()
951 Op->Asl.ParseOpcode = PARSEOP_PACKAGE; in OpnDoPackage()
957 PackageLengthOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE; in OpnDoPackage()
958 PackageLengthOp->Asl.AmlLength = 1; in OpnDoPackage()
959 PackageLengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoPackage()
960 PackageLengthOp->Asl.Value.Integer = PackageLength; in OpnDoPackage()
989 Next = Op->Asl.Child; in OpnDoLoadTable()
993 Next = Next->Asl.Next; in OpnDoLoadTable()
997 Next = Next->Asl.Next; in OpnDoLoadTable()
1001 Next = Next->Asl.Next; in OpnDoLoadTable()
1002 if (Next->Asl.ParseOpcode == PARSEOP_ZERO) in OpnDoLoadTable()
1004 Next->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in OpnDoLoadTable()
1005 Next->Asl.Value.String = "\\"; in OpnDoLoadTable()
1006 Next->Asl.AmlLength = 2; in OpnDoLoadTable()
1016 Next = Next->Asl.Next; in OpnDoLoadTable()
1017 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
1019 Next->Asl.AmlLength = 1; in OpnDoLoadTable()
1020 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
1025 Next = Next->Asl.Next; in OpnDoLoadTable()
1026 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
1028 Next->Asl.AmlLength = 1; in OpnDoLoadTable()
1029 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
1069 Child = Op->Asl.Child; in OpnDoDefinitionBlock()
1070 if (Child->Asl.Value.Buffer && in OpnDoDefinitionBlock()
1071 *Child->Asl.Value.Buffer && in OpnDoDefinitionBlock()
1078 FlSwitchFileSet (Op->Asl.Filename); in OpnDoDefinitionBlock()
1085 strlen ((char *) Child->Asl.Value.Buffer) + 1); in OpnDoDefinitionBlock()
1090 strcat (Filename, (char *) Child->Asl.Value.Buffer); in OpnDoDefinitionBlock()
1112 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1116 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1117 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1118 if (Child->Asl.Value.String) in OpnDoDefinitionBlock()
1120 AslGbl_FilesList->TableSignature = Child->Asl.Value.String; in OpnDoDefinitionBlock()
1121 AslGbl_TableSignature = Child->Asl.Value.String; in OpnDoDefinitionBlock()
1140 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1141 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1149 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1150 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1151 if (Child->Asl.Value.String && in OpnDoDefinitionBlock()
1152 strlen (Child->Asl.Value.String) > ACPI_OEM_ID_SIZE) in OpnDoDefinitionBlock()
1160 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1161 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1162 if (Child->Asl.Value.String) in OpnDoDefinitionBlock()
1164 Length = strlen (Child->Asl.Value.String); in OpnDoDefinitionBlock()
1172 strcpy (AslGbl_TableId, Child->Asl.Value.String); in OpnDoDefinitionBlock()
1190 Child = Child->Asl.Next; in OpnDoDefinitionBlock()
1191 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoDefinitionBlock()
1218 Arg = Op->Asl.Child; in UtGetArg()
1222 Arg = Arg->Asl.Next; in UtGetArg()
1250 switch (Op->Asl.AmlOpcode) in OpnAttachNameToNode()
1325 if (Op->Asl.AmlOpcode == AML_RAW_DATA_BYTE) in OpnGenerateAmlOperands()
1330 switch (Op->Asl.ParseOpcode) in OpnGenerateAmlOperands()