Home | History | Annotate | Download | only in compiler

Lines Matching refs:Asl

224  *              original reference in the ASL code is invalid -- i.e., refers
227 * NOTE: The ASL "External" operator causes the name to be inserted into the
401 * NOTE: ASL references to named fields within resource descriptors are
442 if ((Op->Asl.AmlOpcode == AML_METHOD_OP) && Op->Asl.Node)
444 Node = Op->Asl.Node;
464 NextOp = Op->Asl.Child;
468 NextOp = NextOp->Asl.Next;
470 (((UINT8) NextOp->Asl.Value.Integer) & 0x07);
501 if (Op->Asl.CompileFlags & OP_IS_NAME_DECLARATION)
506 OpInfo = AcpiPsGetOpcodeInfo (Op->Asl.AmlOpcode);
522 Node = NextOp->Asl.Node;
524 RegisterNumber = Op->Asl.AmlOpcode & 0x0007; /* 0x60 through 0x67 */
527 if (Op->Asl.CompileFlags & OP_IS_TARGET)
559 Node = NextOp->Asl.Node;
563 RegisterNumber = Op->Asl.AmlOpcode - AML_ARG0; /* 0x68 through 0x6F */
571 if (Op->Asl.CompileFlags & OP_IS_TARGET)
587 (Op->Asl.ParseOpcode != PARSEOP_NAMESTRING) &&
588 (Op->Asl.ParseOpcode != PARSEOP_NAMESEG) &&
589 (Op->Asl.ParseOpcode != PARSEOP_METHODCALL) &&
590 (Op->Asl.ParseOpcode != PARSEOP_EXTERNAL))
600 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) ||
601 (Op->Asl.ParseOpcode == PARSEOP_NAMESEG) ||
602 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL) ||
603 (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) ||
604 (Op->Asl.ParseOpcode == PARSEOP_CONDREFOF))
619 Path = Op->Asl.Child->Asl.Value.String;
620 if (Op->Asl.AmlOpcode == AML_ALIAS_OP)
626 Path = Op->Asl.Child->Asl.Next->Asl.Value.String;
633 NextOp = Op->Asl.Child;
634 while (!(NextOp->Asl.CompileFlags & OP_IS_NAME_DECLARATION))
636 NextOp = NextOp->Asl.Next;
639 Path = NextOp->Asl.Value.String;
643 Path = Op->Asl.Value.String;
646 ObjectType = AslMapNamedOpcodeToDataType (Op->Asl.AmlOpcode);
670 if ((Op->Asl.Parent) &&
671 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF))
695 Op->Asl.ExternalName);
702 Op, Op->Asl.ExternalName);
716 NextOp = Op->Asl.Child;
717 while (!(NextOp->Asl.CompileFlags & OP_IS_NAME_DECLARATION))
719 NextOp = NextOp->Asl.Next;
723 NextOp->Asl.ExternalName);
730 Op->Asl.ExternalName);
737 Op->Asl.ExternalName);
746 if (strlen (Op->Asl.ExternalName) == ACPI_NAMESEG_SIZE)
749 Op->Asl.ExternalName);
754 Op->Asl.ExternalName);
770 Op->Asl.ExternalName);
776 if (Op->Asl.CompileFlags & OP_NOT_FOUND_DURING_LOAD)
802 Op->Asl.ExternalName);
811 Op->Asl.ExternalName);
838 if ((Op->Asl.Parent) &&
839 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_CONDREFOF))
848 if ((Op->Asl.ParseOpcode != PARSEOP_ALIAS) &&
857 NextOp = NextOp->Asl.Child;
861 if (NextOp->Asl.Node)
863 Node = NextOp->Asl.Node;
889 switch (Op->Asl.Parent->Asl.AmlOpcode)
897 FieldBitLength = (UINT32) Op->Asl.Next->Asl.Value.Integer;
958 switch (Op->Asl.Parent->Asl.AmlOpcode)
976 Op->Asl.AmlLength = 0;
977 Op->Asl.ParseOpcode = PARSEOP_INTEGER;
978 Op->Asl.Value.Integer = (UINT64) Offset;
979 Op->Asl.CompileFlags |= OP_IS_RESOURCE_FIELD;
986 else if ((((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) || (Op->Asl.ParseOpcode == PARSEOP_NAMESEG)) &&
988 (Op->Asl.Parent) &&
989 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_METHOD)) ||
991 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL))
1000 if ((Op->Asl.Parent) &&
1001 ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_REFOF) ||
1002 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_PACKAGE) ||
1003 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)||
1004 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_OBJECTTYPE) ||
1005 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_ALIAS)))
1021 Op->Asl.ExternalName, AcpiUtGetTypeName (Node->Type));
1029 Op->Asl.Node = Node;
1030 if (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)
1040 Op->Asl.ParseOpcode = PARSEOP_METHODCALL;
1044 NextOp = Op->Asl.Child;
1049 NextOp = NextOp->Asl.Next;
1053 Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_EXTERNAL)
1065 Op->Asl.ExternalName, Node->Value);
1070 "%s requires %u", Op->Asl.ExternalName,
1096 Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_EXTERNAL)
1102 /* 4) Check for an ASL Field definition */
1104 else if ((Op->Asl.Parent) &&
1105 ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_FIELD) ||
1106 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_BANKFIELD)))
1117 if (Op == Op->Asl.Parent->Asl.Child)
1125 Op->Asl.Parent->Asl.ExtraValue =
1126 ACPI_MUL_8 ((UINT32) OwningOp->Asl.Value.Integer);
1130 switch ((UINT8) Op->Asl.Parent->Asl.Value.Integer)
1160 if (((UINT32) OwningOp->Asl.Value.Integer) &&
1161 ((UINT32) OwningOp->Asl.Value.Integer < MinimumLength))
1170 SpaceIdOp = OwningOp->Asl.Child->Asl.Next;
1171 switch ((UINT32) SpaceIdOp->Asl.Value.Integer)
1177 if ((UINT8) Op->Asl.Parent->Asl.Value.Integer !=
1188 if ((UINT8) Op->Asl.Parent->Asl.Value.Integer !=
1209 * Op->Asl.Parent->Asl.ExtraValue - Region Length (bits)
1210 * Op->Asl.ExtraValue - Field start offset (bits)
1211 * Op->Asl.Child->Asl.Value.Integer32 - Field length (bits)
1212 * Op->Asl.Child->Asl.ExtraValue - Field access width (bits)
1214 if (Op->Asl.Parent->Asl.ExtraValue && Op->Asl.Child)
1217 Op->Asl.Parent->Asl.ExtraValue,
1218 Op->Asl.ExtraValue,
1219 (UINT32) Op->Asl.Child->Asl.Value.Integer,
1220 Op->Asl.Child->Asl.ExtraValue);
1230 * means that this named object was not defined in the input ASL. This
1261 if (AslGbl_ParseTreeRoot->Asl.Child && AslGbl_ParseTreeRoot->Asl.Child->Asl.Next &&
1263 Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_EXTERNAL &&
1264 Op->Asl.ParseOpcode != PARSEOP_EXTERNAL &&
1265 Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_CONDREFOF &&
1281 else if (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONNECTION)
1287 Op->Asl.Node = Node;
1311 ACPI_PARSE_OBJECT *Parent = Op->Asl.Parent;
1316 if (Parent->Asl.ParseOpcode == PARSEOP_IF &&
1317 XfFindCondRefOfName (Node, Parent->Asl.Child))
1322 Parent = Parent->Asl.Parent;
1356 switch (Op->Asl.ParseOpcode)
1360 return (Op->Asl.Child->Common.Node == Node);
1365 CondRefOfFound = XfFindCondRefOfName (Node, Op->Asl.Child);
1371 return (XfFindCondRefOfName (Node, Op->Asl.Child->Asl.Next));
1410 OpInfo = AcpiPsGetOpcodeInfo (Op->Asl.AmlOpcode);
1418 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) ||
1419 (Op->Asl.ParseOpcode == PARSEOP_NAMESEG) ||
1420 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL) ||
1421 (Op->Asl.ParseOpcode == PARSEOP_EXTERNAL))
1428 if (AcpiNsOpensScope (AslMapNamedOpcodeToDataType (Op->Asl.AmlOpcode)))
1523 else if (ReferencingMethodOp->Asl.Node == ReferencedMethodNode)