Home
last modified time | relevance | path

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

12

/freebsd-10-stable/sys/contrib/dev/acpica/compiler/
Dasloperands.c163 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoMethod()
166 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoMethod()
172 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoMethod()
175 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in OpnDoMethod()
181 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in OpnDoMethod()
207 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()
[all …]
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()
175 if (ThisOp->Asl.ParseOpcode == PARSEOP_PLD_RED) in OpcDoPld()
179 else if (ThisOp->Asl.ParseOpcode == PARSEOP_PLD_GREEN) in OpcDoPld()
192 if (ParseOpcode != PARSEOP_INTEGER) in OpcDoPld()
[all …]
Daslnamesp.c216 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
221 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
222 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
234 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
239 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
240 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
252 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
253 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
265 switch (Op->Asl.ParseOpcode) in NsDoOneNamespaceObject()
306 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
[all …]
Dasltree.c140 UINT32 ParseOpcode) in TrAllocateNode() argument
147 Op->Asl.ParseOpcode = (UINT16) ParseOpcode; in TrAllocateNode()
219 UINT32 ParseOpcode, in TrUpdateNode() argument
230 UtGetOpName (Op->Asl.ParseOpcode), in TrUpdateNode()
231 UtGetOpName (ParseOpcode)); in TrUpdateNode()
235 if (Op->Asl.ParseOpcode == PARSEOP_ONES) in TrUpdateNode()
237 switch (ParseOpcode) in TrUpdateNode()
263 Op->Asl.ParseOpcode = (UINT16) ParseOpcode; in TrUpdateNode()
270 switch (ParseOpcode) in TrUpdateNode()
575 UtGetOpName (Source->Asl.ParseOpcode), in TrCreateAssignmentNode()
[all …]
Daslxrefout.c240 switch (Op->Asl.ParseOpcode) in OtXrefWalkPart1()
294 switch (NextOp->Asl.ParseOpcode) in OtXrefWalkPart1()
352 if (FieldOp->Asl.ParseOpcode == PARSEOP_FIELD) in OtXrefWalkPart1()
417 if ((Op->Asl.ParseOpcode != PARSEOP_NAMESEG) && in OtXrefAnalysisWalkPart1()
418 (Op->Asl.ParseOpcode != PARSEOP_NAMESTRING) && in OtXrefAnalysisWalkPart1()
419 (Op->Asl.ParseOpcode != PARSEOP_METHODCALL)) in OtXrefAnalysisWalkPart1()
441 if ((Next->Asl.ParseOpcode == PARSEOP_NAMESEG) || in OtXrefAnalysisWalkPart1()
442 (Next->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in OtXrefAnalysisWalkPart1()
443 (Next->Asl.ParseOpcode == PARSEOP_METHODCALL)) in OtXrefAnalysisWalkPart1()
490 (Op->Asl.ParseOpcode != PARSEOP_METHOD)) in OtXrefWalkPart2()
[all …]
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()
Daslxref.c517 (Op->Asl.ParseOpcode != PARSEOP_NAMESTRING) && in XfNamespaceLocateBegin()
518 (Op->Asl.ParseOpcode != PARSEOP_NAMESEG) && in XfNamespaceLocateBegin()
519 (Op->Asl.ParseOpcode != PARSEOP_METHODCALL)) in XfNamespaceLocateBegin()
530 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in XfNamespaceLocateBegin()
540 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in XfNamespaceLocateBegin()
541 (Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in XfNamespaceLocateBegin()
542 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL)) in XfNamespaceLocateBegin()
681 if ((Op->Asl.ParseOpcode != PARSEOP_ALIAS) && in XfNamespaceLocateBegin()
810 Op->Asl.ParseOpcode = PARSEOP_INTEGER; in XfNamespaceLocateBegin()
819 …else if ((((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || (Op->Asl.ParseOpcode == PARSEOP_NAMESEG)… in XfNamespaceLocateBegin()
[all …]
Daslwalks.c86 switch (Op->Asl.ParseOpcode) in AnMethodTypingWalkEnd()
96 (Op->Asl.Child->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)) in AnMethodTypingWalkEnd()
100 if ((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_METHODCALL) && in AnMethodTypingWalkEnd()
238 if (ArgOp->Asl.ParseOpcode == PARSEOP_METHODCALL) in AnOperandTypecheckWalkEnd()
324 if ((ArgOp->Asl.ParseOpcode == PARSEOP_INTEGER) || in AnOperandTypecheckWalkEnd()
325 (ArgOp->Asl.ParseOpcode == PARSEOP_RAW_DATA)) in AnOperandTypecheckWalkEnd()
395 if (ArgOp->Asl.ParseOpcode == PARSEOP_ZERO) in AnOperandTypecheckWalkEnd()
407 if (ArgOp->Asl.ParseOpcode == PARSEOP_INTEGER) in AnOperandTypecheckWalkEnd()
439 switch (ArgOp->Asl.ParseOpcode) in AnOperandTypecheckWalkEnd()
490 if (ArgOp->Asl.ParseOpcode == PARSEOP_METHODCALL) in AnOperandTypecheckWalkEnd()
[all …]
Daslbtypes.c404 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in AnGetBtype()
405 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || in AnGetBtype()
406 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL)) in AnGetBtype()
413 if ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEWORDFIELD) || in AnGetBtype()
414 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEDWORDFIELD) || in AnGetBtype()
415 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEQWORDFIELD) || in AnGetBtype()
416 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBYTEFIELD) || in AnGetBtype()
417 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBITFIELD) || in AnGetBtype()
418 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEFIELD) || in AnGetBtype()
419 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in AnGetBtype()
[all …]
Daslopcodes.c105 if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE) in OpcAmlOpcodeUpdateWalk()
210 (Op->Asl.Parent->Asl.Parent->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK)) in OpcSetOptimalIntegerSize()
341 TypeOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
346 if (AttribOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in OpcDoAccessAs()
352 AttribOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
378 if (LengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in OpcDoAccessAs()
384 LengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoAccessAs()
439 BufferOp->Asl.ParseOpcode = PARSEOP_BUFFER; in OpcDoConnection()
444 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in OpcDoConnection()
449 BufferDataOp->Asl.ParseOpcode = PARSEOP_RAW_DATA; in OpcDoConnection()
[all …]
Daslmethod.c103 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkBegin()
180 NextType->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in MtMethodAnalysisWalkBegin()
191 if (NextType->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in MtMethodAnalysisWalkBegin()
199 NextParamType->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in MtMethodAnalysisWalkBegin()
208 NextType->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in MtMethodAnalysisWalkBegin()
287 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_OBJECTTYPE)) in MtMethodAnalysisWalkBegin()
332 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_OBJECTTYPE)) in MtMethodAnalysisWalkBegin()
366 (Op->Asl.Child->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) && in MtMethodAnalysisWalkBegin()
383 if (Next->Asl.ParseOpcode == PARSEOP_WHILE) in MtMethodAnalysisWalkBegin()
400 if ((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_INTEGER) && in MtMethodAnalysisWalkBegin()
[all …]
Dasltransform.c69 UINT16 ParseOpcode);
188 UINT16 ParseOpcode) in TrAmlInitNode() argument
191 Op->Asl.ParseOpcode = ParseOpcode; in TrAmlInitNode()
297 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in TrAmlTransformWalkEnd()
331 switch (Op->Asl.ParseOpcode) in TrTransformSubtree()
473 Index = (UINT16) (Next->Asl.ParseOpcode - ASL_PARSE_OPCODE_BASE); in TrDoSwitch()
491 if (Next->Asl.ParseOpcode == PARSEOP_CASE) in TrDoSwitch()
513 if ((Predicate->Asl.ParseOpcode == PARSEOP_PACKAGE) || in TrDoSwitch()
514 (Predicate->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)) in TrDoSwitch()
627 else if (Next->Asl.ParseOpcode == PARSEOP_DEFAULT) in TrDoSwitch()
[all …]
Daslanalyze.c141 if (Op->Asl.ParseOpcode != PARSEOP_STRING_LITERAL) in AnCheckId()
277 (Next->Asl.ParseOpcode == PARSEOP_RETURN)) in AnLastStatementIsReturn()
388 switch (Op->Asl.ParseOpcode) in AnIsResultUsed()
405 switch (Parent->Asl.ParseOpcode) in AnIsResultUsed()
514 if ((NextOp->Asl.ParseOpcode == PARSEOP_METHOD) || in ApCheckForGpeNameConflict()
515 (NextOp->Asl.ParseOpcode == PARSEOP_NAME)) in ApCheckForGpeNameConflict()
575 if (Next->Asl.ParseOpcode == PARSEOP_OPERATIONREGION) in ApCheckRegMethod()
648 switch (Op->Asl.ParseOpcode) in ApDeviceSubtreeWalk()
723 if ((Next->Asl.ParseOpcode == PARSEOP_METHOD) || in ApFindNameInScope()
724 (Next->Asl.ParseOpcode == PARSEOP_NAME)) in ApFindNameInScope()
Daslresource.c395 if (InitializerOp->Asl.ParseOpcode == PARSEOP_STRING_LITERAL) in RsGetStringDataLength()
501 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()
902 Info->DescriptorTypeOp->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in RsDoOneResourceDescriptor()
1029 if (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONNECTION) in RsDoResourceTemplate()
1074 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in RsDoResourceTemplate()
1079 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER; in RsDoResourceTemplate()
[all …]
Daslcodegen.c153 switch (Op->Asl.ParseOpcode) in CgAmlWriteWalk()
171 /* 2 */ Op->Asl.ParseOpcode, in CgAmlWriteWalk()
259 if (Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in CgWriteAmlOpcode()
586 if ((Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) || in CgWriteNode()
587 (Op->Asl.ParseOpcode == PARSEOP_INCLUDE) || in CgWriteNode()
588 (Op->Asl.ParseOpcode == PARSEOP_INCLUDE_END)) in CgWriteNode()
593 if ((Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) && in CgWriteNode()
635 switch (Op->Asl.ParseOpcode) in CgWriteNode()
Daslmaputils.c84 switch (Op->Asl.ParseOpcode) in MpGetHidFromParseTree()
91 switch (Arg->Asl.ParseOpcode) in MpGetHidFromParseTree()
362 (Op->Asl.ParseOpcode == PARSEOP_CONNECTION)) in MpGetConnectionInfo()
371 (NextOp->Asl.ParseOpcode != PARSEOP_NAMESEG) && in MpGetConnectionInfo()
384 if (NextOp->Asl.ParseOpcode == PARSEOP_NAMESEG) in MpGetConnectionInfo()
Daslload.c422 switch (Op->Asl.ParseOpcode) in LdNamespace1Begin()
551 (MethodOp->Asl.ParseOpcode != PARSEOP_METHOD)) in LdNamespace1Begin()
669 (Op->Asl.ParseOpcode != PARSEOP_EXTERNAL)) in LdNamespace1Begin()
692 (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL)) in LdNamespace1Begin()
702 (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) && in LdNamespace1Begin()
762 if (Op->Asl.ParseOpcode == PARSEOP_METHOD) in LdNamespace1Begin()
824 if ((Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) && in LdNamespace2Begin()
836 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in LdNamespace2Begin()
855 if (Op->Asl.ParseOpcode == PARSEOP_ALIAS) in LdNamespace2Begin()
948 if ((Op->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) && in LdCommonNamespaceEnd()
[all …]
Daslrestype2s.c102 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DATABUFFER) in RsGetBufferDataLength()
196 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsGetVendorData()
210 if (BufferOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsGetVendorData()
223 if (BufferOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsGetVendorData()
395 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoGpioIntDescriptor()
446 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoGpioIntDescriptor()
604 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoGpioIoDescriptor()
653 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoGpioIoDescriptor()
737 if (Info->DescriptorTypeOp->Asl.ParseOpcode == PARSEOP_I2C_SERIALBUS_V2) in RsDoI2cSerialBusDescriptor()
794 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoI2cSerialBusDescriptor()
[all …]
Daslrestype2.c197 InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
263 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
272 if ((InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) && in RsDoInterruptDescriptor()
340 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoInterruptDescriptor()
424 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoVendorLargeDescriptor()
447 if (InitializerOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG) in RsDoVendorLargeDescriptor()
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()
Daslexternal.c91 ArgCountOp->Asl.ParseOpcode = PARSEOP_BYTECONST; in ExDoExternal()
237 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in ExAmlExternalWalkBegin()
247 if (Op->Asl.ParseOpcode != PARSEOP_METHODCALL) in ExAmlExternalWalkBegin()
257 Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_EXTERNAL) in ExAmlExternalWalkBegin()
289 if (Op->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK) in ExAmlExternalWalkEnd()
447 Gbl_ExternalsListHead->Asl.ParseOpcode = PARSEOP_IF; in ExMoveExternals()
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()
Daslsupport.y108 UINT32 ParseOpcode)
116 [(ParseOpcode - ASL_FIRST_PARSE_OPCODE) + ASL_YYTNAME_START] + 8);
Dasllisting.c279 switch (Op->Asl.ParseOpcode) in LsTreeWriteWalk()
336 Op->Asl.ParseOpcode, Op->Asl.CompileFlags, in LsTreeWriteWalk()
382 switch (Op->Asl.ParseOpcode) in LsWriteNodeToListing()
428 switch (Op->Asl.ParseOpcode) in LsWriteNodeToListing()
673 if ((Op->Asl.ParseOpcode == PARSEOP_BUFFER) && in LsWriteNodeToListing()
Daslfold.c381 if (Op->Asl.ParseOpcode == PARSEOP_ZERO) in OpcAmlCheckForConstant()
530 if (Op->Asl.ParseOpcode == PARSEOP_DIVIDE) in TrTransformToStoreOp()
533 if (Child2->Asl.ParseOpcode != PARSEOP_ZERO) in TrTransformToStoreOp()
606 Op->Asl.ParseOpcode = PARSEOP_STORE; in TrTransformToStoreOp()
674 Op->Asl.ParseOpcode = PARSEOP_STRING_LITERAL; in TrInstallReducedConstant()
692 Op->Asl.ParseOpcode = PARSEOP_BUFFER; in TrInstallReducedConstant()

12