Home
last modified time | relevance | path

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

12

/netbsd/sys/external/bsd/acpica/dist/compiler/
H A Dasloperands.c207 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoMethod()
248 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
258 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoFieldCommon()
279 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpnDoFieldCommon()
292 switch (Next->Asl.ParseOpcode) in OpnDoFieldCommon()
643 switch (InitializerOp->Asl.ParseOpcode) in OpnDoBuffer()
909 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
912 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
918 if (Next->Asl.ParseOpcode == DEFAULT_ARG) in OpnDoLoadTable()
921 Next->Asl.ParseOpcode = ZERO; in OpnDoLoadTable()
[all …]
H A Daslpld.c95 UINT16 ParseOpcode; in OpcDoPld() local
105 if (Op->Asl.ParseOpcode != PARSEOP_TOPLD) in OpcDoPld()
120 ParseOpcode = ThisOp->Asl.Child->Asl.ParseOpcode; in OpcDoPld()
123 switch (ThisOp->Asl.ParseOpcode) in OpcDoPld()
127 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
144 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
163 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
192 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
219 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
248 if (ParseOpcode == PARSEOP_INTEGER) in OpcDoPld()
[all …]
H A Daslparseop.c71 UINT32 ParseOpcode, in TrCreateOp() argument
87 Op = TrAllocateOp (ParseOpcode); in TrCreateOp()
96 switch (ParseOpcode) in TrCreateOp()
248 UINT32 ParseOpcode) in TrCreateLeafOp() argument
253 Op = TrAllocateOp (ParseOpcode); in TrCreateLeafOp()
287 Op = TrAllocateOp (ParseOpcode); in TrCreateValuedLeafOp()
296 switch (ParseOpcode) in TrCreateValuedLeafOp()
417 Op->Asl.ParseOpcode = OriginalOp->Asl.ParseOpcode; in TrCreateTargetOp()
473 switch (Source->Asl.ParseOpcode) in TrCreateAssignmentOp()
618 switch (ParseOpcode) in TrCreateConstantLeafOp()
[all …]
H A Dasltransform.c70 UINT16 ParseOpcode);
203 UINT16 ParseOpcode) in TrAmlInitNode() argument
206 Op->Asl.ParseOpcode = ParseOpcode; in TrAmlInitNode()
312 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in TrAmlTransformWalkEnd()
349 switch (Op->Asl.ParseOpcode) in TrTransformSubtree()
375 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in TrTransformSubtree()
572 if (Next->Asl.ParseOpcode == PARSEOP_CASE) in TrDoSwitch()
776 while ((Next->Asl.ParseOpcode != PARSEOP_METHOD) && in TrDoSwitch()
937 if (Next->Asl.ParseOpcode == PARSEOP_CASE) in TrCheckForDuplicateCase()
1029 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in TrBufferIsAllZero()
[all …]
H A Daslnamesp.c227 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
232 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
233 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
245 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
250 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
251 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
263 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
276 switch (Op->Asl.ParseOpcode) in NsDoOneNamespaceObject()
317 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
331 (Op->Asl.ParseOpcode == PARSEOP_RAW_DATA)) in NsDoOneNamespaceObject()
[all …]
H A Daslxrefout.c240 switch (Op->Asl.ParseOpcode) in OtXrefWalkPart1()
294 switch (NextOp->Asl.ParseOpcode) in OtXrefWalkPart1()
417 if ((Op->Asl.ParseOpcode != PARSEOP_NAMESEG) && in OtXrefAnalysisWalkPart1()
490 (Op->Asl.ParseOpcode != PARSEOP_METHOD)) in OtXrefWalkPart2()
639 (Op->Asl.ParseOpcode == PARSEOP_METHOD)) in OtXrefWalkPart3()
652 if ((Op->Asl.ParseOpcode != PARSEOP_NAME) && in OtXrefWalkPart3()
653 (Op->Asl.ParseOpcode != PARSEOP_DEVICE) && in OtXrefWalkPart3()
654 (Op->Asl.ParseOpcode != PARSEOP_MUTEX) && in OtXrefWalkPart3()
656 (Op->Asl.ParseOpcode != PARSEOP_FIELD) && in OtXrefWalkPart3()
657 (Op->Asl.ParseOpcode != PARSEOP_EVENT)) in OtXrefWalkPart3()
[all …]
H A Daslxref.c479 (Op->Asl.ParseOpcode != PARSEOP_NAMESTRING) && in XfNamespaceLocateBegin()
482 (Op->Asl.ParseOpcode != PARSEOP_EXTERNAL)) in XfNamespaceLocateBegin()
496 (Op->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in XfNamespaceLocateBegin()
740 if ((Op->Asl.ParseOpcode != PARSEOP_ALIAS) && in XfNamespaceLocateBegin()
869 Op->Asl.ParseOpcode = PARSEOP_INTEGER; in XfNamespaceLocateBegin()
878 …else if ((((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || (Op->Asl.ParseOpcode == PARSEOP_NAMESEG)… in XfNamespaceLocateBegin()
932 Op->Asl.ParseOpcode = PARSEOP_METHODCALL; in XfNamespaceLocateBegin()
1156 Op->Asl.ParseOpcode != PARSEOP_EXTERNAL && in XfNamespaceLocateBegin()
1208 if (Parent->Asl.ParseOpcode == PARSEOP_IF && in XfRefIsGuardedByIfCondRefOf()
1248 switch (Op->Asl.ParseOpcode) in XfFindCondRefOfName()
[all …]
H A Dasltree.c68 UINT32 ParseOpcode, in TrSetOpIntegerValue() argument
79 UtGetOpName (Op->Asl.ParseOpcode), in TrSetOpIntegerValue()
80 UtGetOpName (ParseOpcode)); in TrSetOpIntegerValue()
84 if (Op->Asl.ParseOpcode == PARSEOP_ONES) in TrSetOpIntegerValue()
86 switch (ParseOpcode) in TrSetOpIntegerValue()
112 Op->Asl.ParseOpcode = (UINT16) ParseOpcode; in TrSetOpIntegerValue()
119 switch (ParseOpcode) in TrSetOpIntegerValue()
149 (ParseOpcode == PARSEOP_METHODCALL)) in TrSetOpIntegerValue()
372 switch (Op->Asl.ParseOpcode) in TrLinkOpChildren()
380 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in TrLinkOpChildren()
[all …]
H A Daslwalks.c94 switch (Op->Asl.ParseOpcode) in AnMethodTypingWalkEnd()
246 if (ArgOp->Asl.ParseOpcode == PARSEOP_METHODCALL) in AnOperandTypecheckWalkEnd()
447 switch (ArgOp->Asl.ParseOpcode) in AnOperandTypecheckWalkEnd()
628 switch (Op->Asl.ParseOpcode) in AnOtherSemanticAnalysisWalkBegin()
649 switch (Op->Asl.ParseOpcode) in AnOtherSemanticAnalysisWalkBegin()
872 switch (CreateBufferFieldOp->Asl.ParseOpcode) in AnValidateCreateBufferField()
958 if ((Op->Asl.ParseOpcode == PARSEOP_INTEGER) || in AnIsValidBufferConstant()
959 (Op->Asl.ParseOpcode == PARSEOP_ZERO) || in AnIsValidBufferConstant()
960 (Op->Asl.ParseOpcode == PARSEOP_ONE)) in AnIsValidBufferConstant()
1004 switch (SourceOperandOp->Asl.ParseOpcode) in AnAnalyzeStoreOperator()
[all …]
H A Daslprune.c71 UINT16 ParseOpcode; member
104 PruneObj.ParseOpcode = (UINT16) PARSEOP_DEVICE; in AslPruneParseTree()
108 PruneObj.ParseOpcode = (UINT16) PARSEOP_METHOD; in AslPruneParseTree()
112 PruneObj.ParseOpcode = (UINT16) PARSEOP_IF; in AslPruneParseTree()
193 if ((Op->Asl.ParseOpcode != PruneObj->ParseOpcode) && in PrTreePruneWalk()
194 !(Op->Asl.ParseOpcode == PARSEOP_ELSE && in PrTreePruneWalk()
195 PruneObj->ParseOpcode == PARSEOP_IF)) in PrTreePruneWalk()
200 switch (Op->Asl.ParseOpcode) in PrTreePruneWalk()
221 if (Op->Asl.ParseOpcode == PARSEOP_ELSE) in PrTreePruneWalk()
H A Daslbtypes.c403 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in AnGetBtype()
404 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in AnGetBtype()
405 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL)) in AnGetBtype()
412 if ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEWORDFIELD) || in AnGetBtype()
413 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEDWORDFIELD) || in AnGetBtype()
415 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBYTEFIELD) || in AnGetBtype()
416 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBITFIELD) || in AnGetBtype()
417 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEFIELD) || in AnGetBtype()
418 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in AnGetBtype()
438 if (Op->Asl.ParseOpcode == PARSEOP_METHODCALL) in AnGetBtype()
[all …]
H A Daslopcodes.c105 if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE) in OpcAmlOpcodeUpdateWalk()
345 TypeOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
356 AttribOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
388 LengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
443 BufferOp->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoConnection()
448 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in OpcDoConnection()
453 BufferDataOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoConnection()
494 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoUnicode()
652 Op->Asl.ParseOpcode = PARSEOP_INTEGER; in OpcDoEisaId()
704 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoUuId()
[all …]
H A Daslload.c476 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in LdNamespace1Begin()
477 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in LdNamespace1Begin()
478 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL)) in LdNamespace1Begin()
546 switch (Op->Asl.ParseOpcode) in LdNamespace1Begin()
894 if (Op->Asl.ParseOpcode == PARSEOP_METHOD) in LdNamespace1Begin()
1021 if (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) in LdAnalyzeExternals()
1036 if (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL && in LdAnalyzeExternals()
1065 (Op->Asl.ParseOpcode != PARSEOP_EXTERNAL)) in LdAnalyzeExternals()
1216 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in LdNamespace2Begin()
1235 if (Op->Asl.ParseOpcode == PARSEOP_ALIAS) in LdNamespace2Begin()
[all …]
H A Daslmethod.c113 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkBegin()
402 if (Next->Asl.ParseOpcode == PARSEOP_WHILE) in MtMethodAnalysisWalkBegin()
548 if ((Next->Asl.ParseOpcode == PARSEOP_PACKAGE) || in MtMethodAnalysisWalkBegin()
549 (Next->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)) in MtMethodAnalysisWalkBegin()
601 TypeOp->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in MtProcessTypeOp()
764 if (Op->Asl.ParseOpcode != PARSEOP_OPERATIONREGION) in MtCheckStaticOperationRegionInMethod()
777 AddressOp->Asl.ParseOpcode == PARSEOP_INTEGER && in MtCheckStaticOperationRegionInMethod()
778 LengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) in MtCheckStaticOperationRegionInMethod()
816 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkEnd()
837 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkEnd()
[all …]
H A Daslanalyze.c142 if (Op->Asl.ParseOpcode != PARSEOP_STRING_LITERAL) in AnCheckId()
278 (Next->Asl.ParseOpcode == PARSEOP_RETURN)) in AnLastStatementIsReturn()
396 switch (Op->Asl.ParseOpcode) in AnIsResultUsed()
413 switch (Parent->Asl.ParseOpcode) in AnIsResultUsed()
522 if ((NextOp->Asl.ParseOpcode == PARSEOP_METHOD) || in ApCheckForGpeNameConflict()
523 (NextOp->Asl.ParseOpcode == PARSEOP_NAME)) in ApCheckForGpeNameConflict()
583 if (Next->Asl.ParseOpcode == PARSEOP_OPERATIONREGION) in ApCheckRegMethod()
656 switch (Op->Asl.ParseOpcode) in ApDeviceSubtreeWalk()
731 if ((Next->Asl.ParseOpcode == PARSEOP_METHOD) || in ApFindNameInScope()
732 (Next->Asl.ParseOpcode == PARSEOP_NAME)) in ApFindNameInScope()
H A Daslresource.c501 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsSetFlagBits()
524 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsSetFlagBits16()
560 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in RsCompleteNodeAndGetNext()
606 if (NextOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsCheckListForDuplicates()
655 switch (Info->DescriptorTypeOp->Asl.ParseOpcode) in RsDoOneResourceDescriptor()
932 Info->DescriptorTypeOp->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in RsDoOneResourceDescriptor()
1050 if (DescriptorTypeOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoResourceTemplate()
1067 if (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONNECTION) in RsDoResourceTemplate()
1112 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in RsDoResourceTemplate()
1117 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in RsDoResourceTemplate()
[all …]
H A Daslmaputils.c90 switch (Op->Asl.ParseOpcode) in MpGetHidFromParseTree()
97 switch (Arg->Asl.ParseOpcode) in MpGetHidFromParseTree()
368 (Op->Asl.ParseOpcode == PARSEOP_CONNECTION)) in MpGetConnectionInfo()
377 (NextOp->Asl.ParseOpcode != PARSEOP_NAMESEG) && in MpGetConnectionInfo()
390 if (NextOp->Asl.ParseOpcode == PARSEOP_NAMESEG) in MpGetConnectionInfo()
H A Daslexternal.c141 ArgCountOp->Asl.ParseOpcode = PARSEOP_BYTECONST; in ExDoExternal()
287 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in ExAmlExternalWalkBegin()
297 if (Op->Asl.ParseOpcode != PARSEOP_METHODCALL) in ExAmlExternalWalkBegin()
307 Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_EXTERNAL) in ExAmlExternalWalkBegin()
339 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in ExAmlExternalWalkEnd()
415 if (Next->Asl.ParseOpcode == PARSEOP_NAMESEG) in ExMoveExternals()
417 Next->Asl.ParseOpcode = PARSEOP_NAMESTRING; in ExMoveExternals()
521 AslGbl_ExternalsListHead->Asl.ParseOpcode = PARSEOP_IF; in ExMoveExternals()
H A Daslrestype2.c202 InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
268 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
277 if ((InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) && in RsDoInterruptDescriptor()
345 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
426 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoVendorLargeDescriptor()
449 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoVendorLargeDescriptor()
H A Daslpredef.c213 if (ReturnValueOp->Asl.ParseOpcode == PARSEOP_ZERO) in ApCheckForUnexpectedReturnValue()
295 switch (ReturnValueOp->Asl.ParseOpcode) in ApCheckPredefinedReturnValue()
312 if (ReturnValueOp->Asl.ParseOpcode == PARSEOP_PACKAGE) in ApCheckPredefinedReturnValue()
426 if (ObjectOp->Asl.ParseOpcode == PARSEOP_PACKAGE) in ApCheckForPredefinedObject()
628 switch (Op->Asl.ParseOpcode) in ApCheckObjectType()
683 TypeName = UtGetOpName (Op->Asl.ParseOpcode); in ApCheckObjectType()
H A Daslprintf.c210 ArgNode->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in OpcParsePrintf()
225 if (ArgNode->Asl.ParseOpcode != PARSEOP_STRING_LITERAL) in OpcParsePrintf()
295 Op->Asl.ParseOpcode = PARSEOP_NOOP; in OpcParsePrintf()
304 ArgNode->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpcParsePrintf()
312 Op->Asl.ParseOpcode = PARSEOP_STORE; in OpcParsePrintf()
H A Daslrestype2s.c113 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DATABUFFER) in RsGetBufferDataLength()
209 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsGetVendorData()
223 if (BufferOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsGetVendorData()
236 if (BufferOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsGetVendorData()
304 InitializerOp->Asl.ParseOpcode == PARSEOP_STRING_LITERAL) in RsGetStringDataLengthAt()
445 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoGpioIntDescriptor()
653 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoGpioIoDescriptor()
843 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoI2cSerialBusDescriptor()
1031 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoSpiSerialBusDescriptor()
1225 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoUartSerialBusDescriptor()
[all …]
H A Daslcodegen.c157 switch (Op->Asl.ParseOpcode) in CgAmlWriteWalk()
175 /* 2 */ Op->Asl.ParseOpcode, in CgAmlWriteWalk()
265 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in CgWriteAmlOpcode()
713 if ((Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) || in CgWriteNode()
714 (Op->Asl.ParseOpcode == PARSEOP_INCLUDE) || in CgWriteNode()
715 (Op->Asl.ParseOpcode == PARSEOP_INCLUDE_END)) in CgWriteNode()
756 switch (Op->Asl.ParseOpcode) in CgWriteNode()
H A Daslfold.c381 if (Op->Asl.ParseOpcode == PARSEOP_ZERO) in OpcAmlCheckForConstant()
532 if (Op->Asl.ParseOpcode == PARSEOP_DIVIDE) in TrTransformToStoreOp()
535 if (Child2->Asl.ParseOpcode != PARSEOP_ZERO) in TrTransformToStoreOp()
543 switch (Op->Asl.ParseOpcode) in TrTransformToStoreOp()
644 Op->Asl.ParseOpcode = NewParseOpcode; in TrTransformToStoreOp()
712 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in TrInstallReducedConstant()
730 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in TrInstallReducedConstant()
H A Dasllisting.c280 switch (Op->Asl.ParseOpcode) in LsTreeWriteWalk()
337 Op->Asl.ParseOpcode, Op->Asl.CompileFlags, in LsTreeWriteWalk()
383 switch (Op->Asl.ParseOpcode) in LsWriteNodeToListing()
429 switch (Op->Asl.ParseOpcode) in LsWriteNodeToListing()
674 if ((Op->Asl.ParseOpcode == PARSEOP_BUFFER) && in LsWriteNodeToListing()

12