Home
last modified time | relevance | path

Searched refs:Parent (Results 1 – 25 of 81) sorted by relevance

1234

/illumos-gate/usr/src/common/acpica/parser/
H A Dpstree.c307 Arg->Common.Parent = Op; in AcpiPsAppendArg()
337 ACPI_PARSE_OBJECT *Parent; in AcpiPsGetDepthNext() local
369 Parent = Op->Common.Parent; in AcpiPsGetDepthNext()
371 while (Parent) in AcpiPsGetDepthNext()
373 Arg = AcpiPsGetArg (Parent, 0); in AcpiPsGetDepthNext()
388 if (Parent->Common.Next) in AcpiPsGetDepthNext()
392 ASL_CV_LABEL_FILENODE (Parent->Common.Next); in AcpiPsGetDepthNext()
393 return (Parent->Common.Next); in AcpiPsGetDepthNext()
396 Op = Parent; in AcpiPsGetDepthNext()
397 Parent = Parent->Common.Parent; in AcpiPsGetDepthNext()
H A Dpsparse.c285 if (Op->Common.Parent) in AcpiPsCompleteThisOp()
287 Prev = Op->Common.Parent->Common.Value.Arg; in AcpiPsCompleteThisOp()
299 ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode); in AcpiPsCompleteThisOp()
325 if ((Op->Common.Parent->Common.AmlOpcode == AML_REGION_OP) || in AcpiPsCompleteThisOp()
326 (Op->Common.Parent->Common.AmlOpcode == AML_DATA_REGION_OP) || in AcpiPsCompleteThisOp()
327 (Op->Common.Parent->Common.AmlOpcode == AML_BUFFER_OP) || in AcpiPsCompleteThisOp()
328 (Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiPsCompleteThisOp()
329 (Op->Common.Parent->Common.AmlOpcode == AML_BANK_FIELD_OP) || in AcpiPsCompleteThisOp()
330 (Op->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP)) in AcpiPsCompleteThisOp()
339 else if ((Op->Common.Parent->Common.AmlOpcode == AML_NAME_OP) && in AcpiPsCompleteThisOp()
[all …]
H A Dpswalk.c180 ACPI_PARSE_OBJECT *Parent = NULL; in AcpiPsDeleteParseTree() local
193 if (Op != Parent) in AcpiPsDeleteParseTree()
231 Parent = Op->Common.Parent; in AcpiPsDeleteParseTree()
249 Op = Parent; in AcpiPsDeleteParseTree()
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslxref.c397 NextOp = Op->Asl.Parent; in XfGetParentMethod()
405 NextOp = NextOp->Asl.Parent; in XfGetParentMethod()
619 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin()
620 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in XfNamespaceLocateBegin()
826 switch (Op->Asl.Parent->Asl.AmlOpcode) in XfNamespaceLocateBegin()
895 switch (Op->Asl.Parent->Asl.AmlOpcode) in XfNamespaceLocateBegin()
925 (Op->Asl.Parent) && in XfNamespaceLocateBegin()
926 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_METHOD)) || in XfNamespaceLocateBegin()
936 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin()
937 ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_REFOF) || in XfNamespaceLocateBegin()
[all …]
H A Dasltransform.c182 ACPI_PARSE_OBJECT *Parent);
320 ACPI_PARSE_OBJECT *Parent) in TrAmlSetSubtreeParent() argument
328 Next->Asl.Parent = Parent; in TrAmlSetSubtreeParent()
491 MethodOp = MethodOp->Asl.Parent; in TrTransformSubtree()
642 NewOp->Asl.Parent = Conditional->Asl.Parent; in TrDoSwitch()
643 TrAmlInitLineNumbers (NewOp, NewOp->Asl.Parent); in TrDoSwitch()
703 NewOp->Asl.Parent = NewOp2; in TrDoSwitch()
710 NewOp2->Asl.Parent = Conditional; in TrDoSwitch()
711 NewOp->Asl.Parent = NewOp2; in TrDoSwitch()
735 NewOp2->Asl.Parent = Conditional; in TrDoSwitch()
[all …]
H A Daslanalyze.c493 ACPI_PARSE_OBJECT *Parent; in AnIsResultUsed() local
512 Parent = Op->Asl.Parent; in AnIsResultUsed()
513 switch (Parent->Asl.ParseOpcode) in AnIsResultUsed()
522 if (Parent->Asl.Child == Op) in AnIsResultUsed()
664 ACPI_PARSE_OBJECT *Parent; in ApCheckRegMethod() local
676 Parent = Op->Asl.Parent; in ApCheckRegMethod()
677 Next = Parent->Asl.Child; in ApCheckRegMethod()
819 ACPI_PARSE_OBJECT *Parent; in ApFindNameInScope() local
824 Parent = Op->Asl.Parent; in ApFindNameInScope()
825 Next = Parent->Asl.Child; in ApFindNameInScope()
H A Dcvparser.c271 AcpiGbl_FileTreeRoot->Parent = NULL; in CvInitFileTree()
543 if (Node->Parent) in CvLabelFileNode()
545 Op->Common.CvParentFilename = Node->Parent->Filename; in CvLabelFileNode()
608 Node = Node->Parent; in CvAddToFileTree()
616 Node = Node->Parent; in CvAddToFileTree()
626 AcpiGbl_FileTreeRoot->Parent = NULL; in CvAddToFileTree()
670 ACPI_FILE_NODE *Parent; in CvSetFileParent() local
674 Parent = CvFilenameExists (ParentFile, AcpiGbl_FileTreeRoot); in CvSetFileParent()
676 if (Child && Parent) in CvSetFileParent()
678 Child->Parent = Parent; in CvSetFileParent()
[all …]
H A Daslbtypes.c521 if ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEWORDFIELD) || in AnGetBtype()
522 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEDWORDFIELD) || in AnGetBtype()
523 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEQWORDFIELD) || in AnGetBtype()
524 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBYTEFIELD) || in AnGetBtype()
525 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEBITFIELD) || in AnGetBtype()
526 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEFIELD) || in AnGetBtype()
527 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in AnGetBtype()
536 Op->Asl.ExternalName, Op->Asl.Parent->Asl.ParseOpName); in AnGetBtype()
H A Dcvdisasm.c409 else if ((Op->Common.Parent->Common.AmlOpcode == AML_IF_OP) && in CvCloseParenWriteComment()
410 Op->Common.Parent->Common.EndNodeComment) in CvCloseParenWriteComment()
412 CvPrintOneCommentType (Op->Common.Parent, in CvCloseParenWriteComment()
478 FNode->Filename, FNode->Parent->Filename); in CvPrintInclude()
479 AcpiOsRedirectOutput (FNode->Parent->File); in CvPrintInclude()
540 Current->Parent && in CvSwitchFiles()
544 Current = Current->Parent; in CvSwitchFiles()
H A Daslfold.c359 NextOp = Op->Asl.Parent; in OpcAmlCheckForConstant()
384 NextOp = NextOp->Asl.Parent; in OpcAmlCheckForConstant()
554 OriginalParentOp = Op->Common.Parent; in TrSimpleConstantReduction()
555 Op->Common.Parent = RootOp; in TrSimpleConstantReduction()
566 Op->Common.Parent = OriginalParentOp; in TrSimpleConstantReduction()
709 NewTarget->Asl.Parent = OriginalTarget->Asl.Parent; in TrTransformToStoreOp()
714 OriginalParent = Op->Common.Parent; in TrTransformToStoreOp()
715 Op->Common.Parent = NewParent; in TrTransformToStoreOp()
755 Op->Common.Parent = OriginalParent; in TrTransformToStoreOp()
769 Op->Common.Parent = OriginalParent; in TrTransformToStoreOp()
[all …]
H A Dasltree.c354 Op->Asl.Parent = ParentOp; in TrSetOpParent()
568 Child->Asl.Parent = Op; in TrLinkOpChildren()
584 Child->Asl.Parent = Op; in TrLinkOpChildren()
658 Op1->Asl.Parent = Op2->Asl.Parent; in TrLinkPeerOp()
792 Next->Asl.Parent = Op1; in TrLinkChildOp()
890 Op = Op->Asl.Parent; in TrWalkParseTree()
944 Op = Op->Asl.Parent; in TrWalkParseTree()
1008 Op = Op->Asl.Parent; in TrWalkParseTree()
H A Daslprintf.c196 DestOp->Asl.Parent = Op; in OpcDoPrintf()
460 Node->Asl.Parent = Op; in OpcCreateConcatenateNode()
472 Op->Asl.Child->Asl.Parent = NewConcatOp; in OpcCreateConcatenateNode()
477 Node->Asl.Parent = NewConcatOp; in OpcCreateConcatenateNode()
483 NewConcatOp->Asl.Child->Asl.Next->Asl.Next->Asl.Parent = in OpcCreateConcatenateNode()
487 NewConcatOp->Asl.Parent = Op; in OpcCreateConcatenateNode()
H A Daslexternal.c364 if (Op->Asl.Parent && in ExAmlExternalWalkBegin()
365 Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_EXTERNAL) in ExAmlExternalWalkBegin()
501 ParentOp = ExternalOp->Asl.Parent; in ExMoveExternals()
523 ExternalOp->Asl.Parent = Gbl_ExternalsListHead; in ExMoveExternals()
589 PredicateOp->Asl.Parent = Gbl_ExternalsListHead; in ExMoveExternals()
629 Gbl_ExternalsListHead->Asl.Parent = Prev->Asl.Parent; in ExMoveExternals()
H A Daslmethod.c416 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_OBJECTTYPE)) in MtMethodAnalysisWalkBegin()
461 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_OBJECTTYPE)) in MtMethodAnalysisWalkBegin()
509 Next = Op->Asl.Parent; in MtMethodAnalysisWalkBegin()
516 Next = Next->Asl.Parent; in MtMethodAnalysisWalkBegin()
816 Op->Asl.Parent->Asl.CompileFlags |= OP_HAS_NO_EXIT; in MtMethodAnalysisWalkEnd()
858 Op->Asl.Parent->Asl.CompileFlags |= OP_HAS_NO_EXIT; in MtMethodAnalysisWalkEnd()
866 (Op->Asl.Parent)) in MtMethodAnalysisWalkEnd()
870 Op->Asl.Parent->Asl.CompileFlags |= OP_HAS_NO_EXIT; in MtMethodAnalysisWalkEnd()
H A Daslopcodes.c316 if (Op->Asl.Parent && in OpcSetOptimalIntegerSize()
317 Op->Asl.Parent->Asl.Parent && in OpcSetOptimalIntegerSize()
318 (Op->Asl.Parent->Asl.Parent->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK)) in OpcSetOptimalIntegerSize()
820 NewOp->Asl.Parent = Op; in OpcDoUuId()
831 NewOp->Asl.Parent = Op->Asl.Parent; in OpcDoUuId()
H A Dasllength.c241 if ((Op->Asl.Parent) && in LnPackageLengthWalk()
244 Op->Asl.Parent->Asl.AmlSubtreeLength += ( in LnPackageLengthWalk()
562 Op = SubtreeOp->Asl.Parent; in LnAdjustLengthToRoot()
566 Op = Op->Asl.Parent; in LnAdjustLengthToRoot()
H A Daslxrefout.c449 FieldOp = NextOp->Asl.Parent; in OtXrefWalkPart1()
685 CallerOp = Op->Asl.Parent; in OtXrefAnalysisWalkPart2()
689 CallerOp = CallerOp->Asl.Parent; in OtXrefAnalysisWalkPart2()
857 CallerOp = Op->Asl.Parent; in OtXrefAnalysisWalkPart3()
866 CallerOp = CallerOp->Asl.Parent; in OtXrefAnalysisWalkPart3()
888 else if (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_ALIAS) in OtXrefAnalysisWalkPart3()
907 Op->Asl.Parent->Asl.ParseOpName); in OtXrefAnalysisWalkPart3()
/illumos-gate/usr/src/common/acpica/dispatcher/
H A Ddsutils.c332 if ((!Op->Common.Parent) || in AcpiDsIsResultUsed()
333 (Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP)) in AcpiDsIsResultUsed()
345 ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode); in AcpiDsIsResultUsed()
363 switch (Op->Common.Parent->Common.AmlOpcode) in AcpiDsIsResultUsed()
405 if ((Op->Common.Parent->Common.AmlOpcode == AML_REGION_OP) || in AcpiDsIsResultUsed()
406 (Op->Common.Parent->Common.AmlOpcode == AML_DATA_REGION_OP) || in AcpiDsIsResultUsed()
407 (Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiDsIsResultUsed()
408 (Op->Common.Parent->Common.AmlOpcode == AML_BUFFER_OP) || in AcpiDsIsResultUsed()
409 (Op->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP) || in AcpiDsIsResultUsed()
410 (Op->Common.Parent->Common.AmlOpcode == AML_INT_EVAL_SUBTREE_OP) || in AcpiDsIsResultUsed()
[all …]
H A Ddspkginit.c209 ACPI_PARSE_OBJECT *Parent; in AcpiDsBuildInternalPackageObj() local
230 Parent = Op->Common.Parent; in AcpiDsBuildInternalPackageObj()
231 while ((Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiDsBuildInternalPackageObj()
232 (Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP)) in AcpiDsBuildInternalPackageObj()
234 Parent = Parent->Common.Parent; in AcpiDsBuildInternalPackageObj()
252 ObjDesc->Package.Node = Parent->Common.Node; in AcpiDsBuildInternalPackageObj()
H A Ddswexec.c649 if ((Op->Asl.Parent) && in AcpiDsExecEndOp()
650 ((Op->Asl.Parent->Asl.AmlOpcode == AML_PACKAGE_OP) || in AcpiDsExecEndOp()
651 (Op->Asl.Parent->Asl.AmlOpcode == AML_VARIABLE_PACKAGE_OP))) in AcpiDsExecEndOp()
731 Op, Op->Named.Value.Arg, Op->Common.Parent->Common.AmlOpcode)); in AcpiDsExecEndOp()
733 switch (Op->Common.Parent->Common.AmlOpcode) in AcpiDsExecEndOp()
741 Op->Common.Parent->Common.Node; in AcpiDsExecEndOp()
745 Op->Common.Parent->Common.Node, Op->Common.Parent); in AcpiDsExecEndOp()
757 AcpiNsGetAttachedObject (Op->Common.Parent->Common.Node)); in AcpiDsExecEndOp()
/illumos-gate/usr/src/common/acpica/disassembler/
H A Ddmwalk.c339 Op = Op->Common.Parent; in AcpiDmWalkParseTree()
416 if (Op->Common.Parent && in AcpiDmBlockType()
417 ((Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiDmBlockType()
418 (Op->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP))) in AcpiDmBlockType()
665 else if ((AcpiDmBlockType (Op->Common.Parent) & BLOCK_BRACE) && in AcpiDmDescendingOp()
965 AcpiDmPredefinedDescription (Op->Asl.Parent); in AcpiDmDescendingOp()
1121 if ((AcpiDmBlockType (Op->Common.Parent) & BLOCK_BRACE) && in AcpiDmAscendingOp()
1154 if (AcpiDmBlockType (Op->Common.Parent) != BLOCK_PAREN) in AcpiDmAscendingOp()
1166 if ((AcpiDmBlockType (Op->Common.Parent) & BLOCK_BRACE) && in AcpiDmAscendingOp()
1183 if ((AcpiDmBlockType (Op->Common.Parent) & BLOCK_BRACE) && in AcpiDmAscendingOp()
[all …]
H A Ddmnames.c451 if (Search->Common.Parent == Prev) in AcpiDmDisplayPath()
458 Search = Search->Common.Parent; in AcpiDmDisplayPath()
528 (!Op->Common.Parent)) in AcpiDmValidateName()
540 (!Op->Common.Parent)) in AcpiDmValidateName()
/illumos-gate/usr/src/common/acpica/namespace/
H A Dnsxfobj.c277 ParentNode = Node->Parent; in ACPI_EXPORT_SYMBOL()
318 ACPI_HANDLE Parent, in ACPI_EXPORT_SYMBOL()
347 ParentNode = AcpiNsValidateHandle (Parent); in ACPI_EXPORT_SYMBOL()
H A Dnsalloc.c302 ParentNode = Node->Parent; in AcpiNsRemoveNode()
396 Node->Parent = ParentNode; in AcpiNsInstallNode()
574 ParentNode = ParentNode->Parent; in AcpiNsDeleteNamespaceSubtree()
697 ParentNode = ParentNode->Parent; in AcpiNsDeleteNamespaceByOwner()
/illumos-gate/usr/src/common/acpica/events/
H A Devrgnini.c331 ParentNode = RegionObj->Region.Node->Parent; in AcpiEvPciConfigRegionSetup()
385 PciRootNode = PciRootNode->Parent; in AcpiEvPciConfigRegionSetup()
422 PciDeviceNode = PciDeviceNode->Parent; in AcpiEvPciConfigRegionSetup()
707 Node = RegionObj->Region.Node->Parent; in AcpiEvInitializeRegion()
782 Node = Node->Parent; in AcpiEvInitializeRegion()

1234