Home
last modified time | relevance | path

Searched refs:ParseOpcode (Results 1 – 25 of 43) sorted by relevance

12

/dragonfly/sys/contrib/dev/acpica/source/compiler/
H A Dasloperands.c315 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoMethod()
356 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
387 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoFieldCommon()
400 switch (Next->Asl.ParseOpcode) in OpnDoFieldCommon()
745 switch (InitializerOp->Asl.ParseOpcode) in OpnDoBuffer()
945 Op->Asl.ParseOpcode = PARSEOP_PACKAGE; in OpnDoPackage()
1011 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
1014 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
1020 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
1023 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
[all …]
H A Daslpld.c203 UINT16 ParseOpcode; in OpcDoPld() local
213 if (Op->Asl.ParseOpcode != PARSEOP_TOPLD) in OpcDoPld()
228 ParseOpcode = ThisOp->Asl.Child->Asl.ParseOpcode; in OpcDoPld()
231 switch (ThisOp->Asl.ParseOpcode) in OpcDoPld()
235 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
252 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
271 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
300 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
327 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
356 if (ParseOpcode == PARSEOP_INTEGER) in OpcDoPld()
[all …]
H A Daslparseop.c179 UINT32 ParseOpcode, in TrCreateOp() argument
195 Op = TrAllocateOp (ParseOpcode); in TrCreateOp()
204 switch (ParseOpcode) in TrCreateOp()
356 UINT32 ParseOpcode) in TrCreateLeafOp() argument
361 Op = TrAllocateOp (ParseOpcode); in TrCreateLeafOp()
395 Op = TrAllocateOp (ParseOpcode); in TrCreateValuedLeafOp()
404 switch (ParseOpcode) in TrCreateValuedLeafOp()
525 Op->Asl.ParseOpcode = OriginalOp->Asl.ParseOpcode; in TrCreateTargetOp()
581 switch (Source->Asl.ParseOpcode) in TrCreateAssignmentOp()
726 switch (ParseOpcode) in TrCreateConstantLeafOp()
[all …]
H A Dasltransform.c178 UINT16 ParseOpcode);
311 UINT16 ParseOpcode) in TrAmlInitNode() argument
314 Op->Asl.ParseOpcode = ParseOpcode; in TrAmlInitNode()
420 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in TrAmlTransformWalkEnd()
457 switch (Op->Asl.ParseOpcode) in TrTransformSubtree()
483 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in TrTransformSubtree()
680 if (Next->Asl.ParseOpcode == PARSEOP_CASE) in TrDoSwitch()
884 while ((Next->Asl.ParseOpcode != PARSEOP_METHOD) && in TrDoSwitch()
1045 if (Next->Asl.ParseOpcode == PARSEOP_CASE) in TrCheckForDuplicateCase()
1137 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in TrBufferIsAllZero()
[all …]
H A Daslnamesp.c335 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
340 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
341 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
353 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
358 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
359 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
371 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
384 switch (Op->Asl.ParseOpcode) in NsDoOneNamespaceObject()
425 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
439 (Op->Asl.ParseOpcode == PARSEOP_RAW_DATA)) in NsDoOneNamespaceObject()
[all …]
H A Daslxrefout.c348 switch (Op->Asl.ParseOpcode) in OtXrefWalkPart1()
402 switch (NextOp->Asl.ParseOpcode) in OtXrefWalkPart1()
525 if ((Op->Asl.ParseOpcode != PARSEOP_NAMESEG) && in OtXrefAnalysisWalkPart1()
598 (Op->Asl.ParseOpcode != PARSEOP_METHOD)) in OtXrefWalkPart2()
747 (Op->Asl.ParseOpcode == PARSEOP_METHOD)) in OtXrefWalkPart3()
760 if ((Op->Asl.ParseOpcode != PARSEOP_NAME) && in OtXrefWalkPart3()
761 (Op->Asl.ParseOpcode != PARSEOP_DEVICE) && in OtXrefWalkPart3()
762 (Op->Asl.ParseOpcode != PARSEOP_MUTEX) && in OtXrefWalkPart3()
764 (Op->Asl.ParseOpcode != PARSEOP_FIELD) && in OtXrefWalkPart3()
765 (Op->Asl.ParseOpcode != PARSEOP_EVENT)) in OtXrefWalkPart3()
[all …]
H A Daslxref.c587 (Op->Asl.ParseOpcode != PARSEOP_NAMESTRING) && in XfNamespaceLocateBegin()
590 (Op->Asl.ParseOpcode != PARSEOP_EXTERNAL)) in XfNamespaceLocateBegin()
604 (Op->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in XfNamespaceLocateBegin()
848 if ((Op->Asl.ParseOpcode != PARSEOP_ALIAS) && in XfNamespaceLocateBegin()
977 Op->Asl.ParseOpcode = PARSEOP_INTEGER; in XfNamespaceLocateBegin()
986 …else if ((((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || (Op->Asl.ParseOpcode == PARSEOP_NAMESEG)… in XfNamespaceLocateBegin()
1040 Op->Asl.ParseOpcode = PARSEOP_METHODCALL; in XfNamespaceLocateBegin()
1263 Op->Asl.ParseOpcode != PARSEOP_EXTERNAL && in XfNamespaceLocateBegin()
1315 if (Parent->Asl.ParseOpcode == PARSEOP_IF && in XfRefIsGuardedByIfCondRefOf()
1355 switch (Op->Asl.ParseOpcode) in XfFindCondRefOfName()
[all …]
H A Dasltree.c176 UINT32 ParseOpcode, in TrSetOpIntegerValue() argument
187 UtGetOpName (Op->Asl.ParseOpcode), in TrSetOpIntegerValue()
188 UtGetOpName (ParseOpcode)); in TrSetOpIntegerValue()
192 if (Op->Asl.ParseOpcode == PARSEOP_ONES) in TrSetOpIntegerValue()
194 switch (ParseOpcode) in TrSetOpIntegerValue()
220 Op->Asl.ParseOpcode = (UINT16) ParseOpcode; in TrSetOpIntegerValue()
227 switch (ParseOpcode) in TrSetOpIntegerValue()
257 (ParseOpcode == PARSEOP_METHODCALL)) in TrSetOpIntegerValue()
480 switch (Op->Asl.ParseOpcode) in TrLinkOpChildren()
488 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in TrLinkOpChildren()
[all …]
H A Daslwalks.c202 switch (Op->Asl.ParseOpcode) in AnMethodTypingWalkEnd()
354 if (ArgOp->Asl.ParseOpcode == PARSEOP_METHODCALL) in AnOperandTypecheckWalkEnd()
555 switch (ArgOp->Asl.ParseOpcode) in AnOperandTypecheckWalkEnd()
736 switch (Op->Asl.ParseOpcode) in AnOtherSemanticAnalysisWalkBegin()
757 switch (Op->Asl.ParseOpcode) in AnOtherSemanticAnalysisWalkBegin()
980 switch (CreateBufferFieldOp->Asl.ParseOpcode) in AnValidateCreateBufferField()
1066 if ((Op->Asl.ParseOpcode == PARSEOP_INTEGER) || in AnIsValidBufferConstant()
1067 (Op->Asl.ParseOpcode == PARSEOP_ZERO) || in AnIsValidBufferConstant()
1068 (Op->Asl.ParseOpcode == PARSEOP_ONE)) in AnIsValidBufferConstant()
1112 switch (SourceOperandOp->Asl.ParseOpcode) in AnAnalyzeStoreOperator()
[all …]
H A Daslprune.c179 UINT16 ParseOpcode; member
212 PruneObj.ParseOpcode = (UINT16) PARSEOP_DEVICE; in AslPruneParseTree()
216 PruneObj.ParseOpcode = (UINT16) PARSEOP_METHOD; in AslPruneParseTree()
220 PruneObj.ParseOpcode = (UINT16) PARSEOP_IF; in AslPruneParseTree()
301 if ((Op->Asl.ParseOpcode != PruneObj->ParseOpcode) && in PrTreePruneWalk()
302 !(Op->Asl.ParseOpcode == PARSEOP_ELSE && in PrTreePruneWalk()
303 PruneObj->ParseOpcode == PARSEOP_IF)) in PrTreePruneWalk()
308 switch (Op->Asl.ParseOpcode) in PrTreePruneWalk()
329 if (Op->Asl.ParseOpcode == PARSEOP_ELSE) in PrTreePruneWalk()
H A Daslbtypes.c511 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in AnGetBtype()
512 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in AnGetBtype()
513 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL)) in AnGetBtype()
520 if ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEWORDFIELD) || in AnGetBtype()
521 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEDWORDFIELD) || in AnGetBtype()
523 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBYTEFIELD) || in AnGetBtype()
524 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBITFIELD) || in AnGetBtype()
525 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEFIELD) || in AnGetBtype()
526 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in AnGetBtype()
546 if (Op->Asl.ParseOpcode == PARSEOP_METHODCALL) in AnGetBtype()
[all …]
H A Daslload.c584 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in LdNamespace1Begin()
585 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in LdNamespace1Begin()
586 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL)) in LdNamespace1Begin()
654 switch (Op->Asl.ParseOpcode) in LdNamespace1Begin()
1002 if (Op->Asl.ParseOpcode == PARSEOP_METHOD) in LdNamespace1Begin()
1129 if (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) in LdAnalyzeExternals()
1144 if (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL && in LdAnalyzeExternals()
1173 (Op->Asl.ParseOpcode != PARSEOP_EXTERNAL)) in LdAnalyzeExternals()
1324 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in LdNamespace2Begin()
1343 if (Op->Asl.ParseOpcode == PARSEOP_ALIAS) in LdNamespace2Begin()
[all …]
H A Daslopcodes.c213 if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE) in OpcAmlOpcodeUpdateWalk()
453 TypeOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
464 AttribOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
496 LengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
551 BufferOp->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoConnection()
556 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in OpcDoConnection()
561 BufferDataOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoConnection()
602 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoUnicode()
760 Op->Asl.ParseOpcode = PARSEOP_INTEGER; in OpcDoEisaId()
812 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoUuId()
[all …]
H A Daslmethod.c221 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkBegin()
510 if (Next->Asl.ParseOpcode == PARSEOP_WHILE) in MtMethodAnalysisWalkBegin()
656 if ((Next->Asl.ParseOpcode == PARSEOP_PACKAGE) || in MtMethodAnalysisWalkBegin()
657 (Next->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)) in MtMethodAnalysisWalkBegin()
709 TypeOp->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in MtProcessTypeOp()
872 if (Op->Asl.ParseOpcode != PARSEOP_OPERATIONREGION) in MtCheckStaticOperationRegionInMethod()
885 AddressOp->Asl.ParseOpcode == PARSEOP_INTEGER && in MtCheckStaticOperationRegionInMethod()
886 LengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) in MtCheckStaticOperationRegionInMethod()
924 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkEnd()
945 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkEnd()
[all …]
H A Daslanalyze.c250 if (Op->Asl.ParseOpcode != PARSEOP_STRING_LITERAL) in AnCheckId()
386 (Next->Asl.ParseOpcode == PARSEOP_RETURN)) in AnLastStatementIsReturn()
504 switch (Op->Asl.ParseOpcode) in AnIsResultUsed()
521 switch (Parent->Asl.ParseOpcode) in AnIsResultUsed()
630 if ((NextOp->Asl.ParseOpcode == PARSEOP_METHOD) || in ApCheckForGpeNameConflict()
631 (NextOp->Asl.ParseOpcode == PARSEOP_NAME)) in ApCheckForGpeNameConflict()
691 if (Next->Asl.ParseOpcode == PARSEOP_OPERATIONREGION) in ApCheckRegMethod()
764 switch (Op->Asl.ParseOpcode) in ApDeviceSubtreeWalk()
839 if ((Next->Asl.ParseOpcode == PARSEOP_METHOD) || in ApFindNameInScope()
840 (Next->Asl.ParseOpcode == PARSEOP_NAME)) in ApFindNameInScope()
H A Daslresource.c609 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsSetFlagBits()
632 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsSetFlagBits16()
668 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in RsCompleteNodeAndGetNext()
714 if (NextOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsCheckListForDuplicates()
763 switch (Info->DescriptorTypeOp->Asl.ParseOpcode) in RsDoOneResourceDescriptor()
1040 Info->DescriptorTypeOp->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in RsDoOneResourceDescriptor()
1158 if (DescriptorTypeOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoResourceTemplate()
1175 if (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONNECTION) in RsDoResourceTemplate()
1220 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in RsDoResourceTemplate()
1225 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in RsDoResourceTemplate()
[all …]
H A Daslmaputils.c198 switch (Op->Asl.ParseOpcode) in MpGetHidFromParseTree()
205 switch (Arg->Asl.ParseOpcode) in MpGetHidFromParseTree()
476 (Op->Asl.ParseOpcode == PARSEOP_CONNECTION)) in MpGetConnectionInfo()
485 (NextOp->Asl.ParseOpcode != PARSEOP_NAMESEG) && in MpGetConnectionInfo()
498 if (NextOp->Asl.ParseOpcode == PARSEOP_NAMESEG) in MpGetConnectionInfo()
H A Daslexternal.c249 ArgCountOp->Asl.ParseOpcode = PARSEOP_BYTECONST; in ExDoExternal()
395 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in ExAmlExternalWalkBegin()
405 if (Op->Asl.ParseOpcode != PARSEOP_METHODCALL) in ExAmlExternalWalkBegin()
415 Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_EXTERNAL) in ExAmlExternalWalkBegin()
447 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in ExAmlExternalWalkEnd()
523 if (Next->Asl.ParseOpcode == PARSEOP_NAMESEG) in ExMoveExternals()
525 Next->Asl.ParseOpcode = PARSEOP_NAMESTRING; in ExMoveExternals()
629 AslGbl_ExternalsListHead->Asl.ParseOpcode = PARSEOP_IF; in ExMoveExternals()
H A Daslrestype2.c310 InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
376 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
385 if ((InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) && in RsDoInterruptDescriptor()
453 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
534 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoVendorLargeDescriptor()
557 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoVendorLargeDescriptor()
H A Daslpredef.c321 if (ReturnValueOp->Asl.ParseOpcode == PARSEOP_ZERO) in ApCheckForUnexpectedReturnValue()
403 switch (ReturnValueOp->Asl.ParseOpcode) in ApCheckPredefinedReturnValue()
420 if (ReturnValueOp->Asl.ParseOpcode == PARSEOP_PACKAGE) in ApCheckPredefinedReturnValue()
534 if (ObjectOp->Asl.ParseOpcode == PARSEOP_PACKAGE) in ApCheckForPredefinedObject()
736 switch (Op->Asl.ParseOpcode) in ApCheckObjectType()
791 TypeName = UtGetOpName (Op->Asl.ParseOpcode); in ApCheckObjectType()
H A Daslprintf.c318 ArgNode->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in OpcParsePrintf()
333 if (ArgNode->Asl.ParseOpcode != PARSEOP_STRING_LITERAL) in OpcParsePrintf()
403 Op->Asl.ParseOpcode = PARSEOP_NOOP; in OpcParsePrintf()
412 ArgNode->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpcParsePrintf()
420 Op->Asl.ParseOpcode = PARSEOP_STORE; in OpcParsePrintf()
H A Daslrestype2s.c221 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DATABUFFER) in RsGetBufferDataLength()
317 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsGetVendorData()
331 if (BufferOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsGetVendorData()
344 if (BufferOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsGetVendorData()
412 InitializerOp->Asl.ParseOpcode == PARSEOP_STRING_LITERAL) in RsGetStringDataLengthAt()
553 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoGpioIntDescriptor()
761 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoGpioIoDescriptor()
951 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoI2cSerialBusDescriptor()
1139 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoSpiSerialBusDescriptor()
1333 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoUartSerialBusDescriptor()
[all …]
H A Daslcodegen.c253 switch (Op->Asl.ParseOpcode) in CgAmlWriteWalk()
271 /* 2 */ Op->Asl.ParseOpcode, in CgAmlWriteWalk()
361 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in CgWriteAmlOpcode()
748 if ((Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) || in CgWriteNode()
749 (Op->Asl.ParseOpcode == PARSEOP_INCLUDE) || in CgWriteNode()
750 (Op->Asl.ParseOpcode == PARSEOP_INCLUDE_END)) in CgWriteNode()
791 switch (Op->Asl.ParseOpcode) in CgWriteNode()
H A Daslfold.c489 if (Op->Asl.ParseOpcode == PARSEOP_ZERO) in OpcAmlCheckForConstant()
640 if (Op->Asl.ParseOpcode == PARSEOP_DIVIDE) in TrTransformToStoreOp()
643 if (Child2->Asl.ParseOpcode != PARSEOP_ZERO) in TrTransformToStoreOp()
651 switch (Op->Asl.ParseOpcode) in TrTransformToStoreOp()
752 Op->Asl.ParseOpcode = NewParseOpcode; in TrTransformToStoreOp()
820 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in TrInstallReducedConstant()
838 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in TrInstallReducedConstant()
H A Dasllisting.c388 switch (Op->Asl.ParseOpcode) in LsTreeWriteWalk()
445 Op->Asl.ParseOpcode, Op->Asl.CompileFlags, in LsTreeWriteWalk()
491 switch (Op->Asl.ParseOpcode) in LsWriteNodeToListing()
537 switch (Op->Asl.ParseOpcode) in LsWriteNodeToListing()
782 if ((Op->Asl.ParseOpcode == PARSEOP_BUFFER) && in LsWriteNodeToListing()

12