HomeSort by: relevance | last modified time | path
    Searched refs:Asl (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /src/sys/external/bsd/acpica/dist/compiler/
asllength.c 202 Op->Asl.AmlSubtreeLength = 0;
241 if ((Op->Asl.Parent) &&
242 (Op->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG))
244 Op->Asl.Parent->Asl.AmlSubtreeLength += (
245 Op->Asl.AmlLength +
246 Op->Asl.AmlOpcodeLength +
247 Op->Asl.AmlPkgLenBytes +
248 Op->Asl.AmlSubtreeLength +
329 if (Op->Asl.AmlOpcode > 0x00FF
    [all...]
aslexternal.c 3 * Module Name: aslexternal - ASL External opcode compiler support
196 ACPI_PARSE_OBJECT *ExternTypeOp = Op->Asl.Child->Asl.Next;
219 TypeOp = ExternTypeOp->Asl.Next;
220 if (TypeOp->Asl.Child)
224 (void) MtProcessTypeOp (TypeOp->Asl.Child);
235 TypeOp = TypeOp->Asl.Next;
236 if (TypeOp->Asl.Child)
238 ParamCount = MtProcessParameterTypeList (TypeOp->Asl.Child, ParamTypes);
247 ArgCountOp = Op->Asl.Child->Asl.Next->Asl.Next
    [all...]
aslparseop.c 199 Op->Asl.LineNumber, Op->Asl.Column, Op,
209 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
262 Op->Asl.Child = Child;
265 * For the ASL-/ASL+ converter: if the ParseOp is a Connection,
278 Op->Asl.CommentList = Child->Asl.CommentList;
279 Op->Asl.EndBlkComment = Child->Asl.EndBlkComment
    [all...]
asltransform.c 225 * reserved for use by the ASL compiler. (_T_0 through _T_Z)
287 Op->Asl.EndLine = Neighbor->Asl.EndLine;
288 Op->Asl.EndLogicalLine = Neighbor->Asl.EndLogicalLine;
289 Op->Asl.LineNumber = Neighbor->Asl.LineNumber;
290 Op->Asl.LogicalByteOffset = Neighbor->Asl.LogicalByteOffset;
291 Op->Asl.LogicalLineNumber = Neighbor->Asl.LogicalLineNumber
    [all...]
asloperands.c 215 * DESCRIPTION: Construct the operands for the MUTEX ASL keyword.
226 Next = Op->Asl.Child;
227 Next = Next->Asl.Next;
229 if (Next->Asl.Value.Integer > 15)
245 * DESCRIPTION: Construct the operands for the METHOD ASL keyword.
266 Next = Op->Asl.Child;
270 Next = Next->Asl.Next;
271 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
273 NumArgs = (UINT8) Next->Asl.Value.Integer;
274 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG
    [all...]
aslprintf.c 3 * Module Name: aslprintf - ASL Printf/Fprintf macro support
195 DestOp->Asl.AmlOpcode = AML_DEBUG_OP;
196 DestOp->Asl.Parent = Op;
197 DestOp->Asl.LogicalLineNumber = Op->Asl.LogicalLineNumber;
224 DestOp = Op->Asl.Child;
225 Op->Asl.Child = DestOp->Asl.Next;
226 DestOp->Asl.Next = NULL;
267 Format = ACPI_CAST_PTR (char, Op->Asl.Child->Asl.Value.String)
    [all...]
aslwalks.c 202 switch (Op->Asl.ParseOpcode)
206 Op->Asl.CompileFlags |= OP_METHOD_TYPED;
211 if ((Op->Asl.Child) &&
212 (Op->Asl.Child->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG))
214 ThisOpBtype = AnGetBtype (Op->Asl.Child);
216 if ((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_METHODCALL) &&
227 if (Op->Asl.Child->Asl.Node &
    [all...]
aslmethod.c 221 switch (Op->Asl.ParseOpcode)
241 if (ACPI_COMPARE_NAMESEG (METHOD_NAME__PS0, Op->Asl.NameSeg))
254 ACPI_COMPARE_NAMESEG (METHOD_NAME__PS1, Op->Asl.NameSeg) ||
255 ACPI_COMPARE_NAMESEG (METHOD_NAME__PS2, Op->Asl.NameSeg) ||
256 ACPI_COMPARE_NAMESEG (METHOD_NAME__PS3, Op->Asl.NameSeg))
263 "%4.4s requires _PS0 in same scope", Op->Asl.NameSeg);
272 Next = Op->Asl.Child;
276 Next = Next->Asl.Next;
278 (((UINT8) Next->Asl.Value.Integer) & 0x07);
282 Next = Next->Asl.Next
    [all...]
aslxref.c 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
    [all...]
asloffset.c 214 if (Op->Asl.CompileFlags & OP_IS_RESOURCE_DATA)
221 Node = Op->Asl.Node;
224 AslGbl_CurrentAmlOffset += Op->Asl.FinalAmlLength;
231 (Op->Asl.CompileFlags & OP_IS_RESOURCE_DESC))
234 Op->Asl.ParseOpName, 0, Op->Asl.Extra, AML_BUFFER_OP);
236 AslGbl_CurrentAmlOffset += Op->Asl.FinalAmlLength;
240 switch (Op->Asl.AmlOpcode)
246 if (!Op->Asl.Child)
252 Length = Op->Asl.FinalAmlLength
    [all...]
aslopcodes.c 213 if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)
280 Child = Op->Asl.Child;
281 Child = Child->Asl.Next;
282 Child = Child->Asl.Next;
286 AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer);
316 if (Op->Asl.Parent &&
317 Op->Asl.Parent->Asl.Parent &&
318 (Op->Asl.Parent->Asl.Parent->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK)
    [all...]
aslcodegen.c 265 switch (Op->Asl.ParseOpcode)
282 /* 1 */ (UINT32) Op->Asl.Value.Integer,
283 /* 2 */ Op->Asl.ParseOpcode,
284 /* 3 */ Op->Asl.AmlOpcode,
285 /* 4 */ Op->Asl.AmlOpcodeLength,
286 /* 5 */ Op->Asl.AmlPkgLenBytes,
287 /* 6 */ Op->Asl.AmlLength,
288 /* 7 */ Op->Asl.AmlSubtreeLength,
289 /* 8 */ Op->Asl.Parent ? Op->Asl.Parent->Asl.AmlSubtreeLength : 0
    [all...]
aslanalyze.c 188 if ((!strcmp (Op->Asl.ExternalName, "\\_OSI")) ||
189 (!strcmp (Op->Asl.ExternalName, "_OSI")))
215 if ((!strcmp (Op->Asl.ExternalName, "\\_OSI")) ||
216 (!strcmp (Op->Asl.ExternalName, "_OSI")))
250 if (Op->Asl.ParseOpcode != PARSEOP_STRING_LITERAL)
257 Length = strlen (Op->Asl.Value.String);
270 if (*Op->Asl.Value.String == '*')
273 Op, Op->Asl.Value.String);
286 for (i = 0; Op->Asl.Value.String[i]; i++)
288 if (!isalnum ((int) Op->Asl.Value.String[i])
    [all...]
aslprune.c 194 * DESCRIPTION: Prune off one or more levels of the ASL parse tree
278 * DESCRIPTION: Prune off one or more levels of the ASL parse tree
301 if ((Op->Asl.ParseOpcode != PruneObj->ParseOpcode) &&
302 !(Op->Asl.ParseOpcode == PARSEOP_ELSE &&
308 switch (Op->Asl.ParseOpcode)
313 PrPrintObjectAtLevel (Level, Op->Asl.Child->Asl.Value.Name);
314 Op->Asl.Child->Asl.Next->Asl.Next->Asl.Next->Asl.Next->Asl.Next->Asl.Next = NULL
    [all...]
aslxrefout.c 348 switch (Op->Asl.ParseOpcode)
355 (MethodInfo->Op->Asl.Child == Op) ||
356 !Op->Asl.Node)
362 Node = Op->Asl.Node;
390 ACPI_FORMAT_UINT64 (Op->Asl.Value.Integer));
402 switch (NextOp->Asl.ParseOpcode)
429 NextOp = NextOp->Asl.Child; /* Buffer name */
431 if (!NextOp->Asl.ExternalName)
438 NextOp->Asl.Node, TRUE);
449 FieldOp = NextOp->Asl.Parent
    [all...]
asltree.c 187 UtGetOpName (Op->Asl.ParseOpcode),
192 if (Op->Asl.ParseOpcode == PARSEOP_ONES)
198 Op->Asl.Value.Integer = ACPI_UINT8_MAX;
203 Op->Asl.Value.Integer = ACPI_UINT16_MAX;
208 Op->Asl.Value.Integer = ACPI_UINT32_MAX;
220 Op->Asl.ParseOpcode = (UINT16) ParseOpcode;
232 Op->Asl.Value.Integer &= ACPI_UINT8_MAX;
238 Op->Asl.Value.Integer &= ACPI_UINT16_MAX;
244 Op->Asl.Value.Integer &= ACPI_UINT32_MAX;
291 "\nSetOpFlags: %s Op %p, %8.8X", Op->Asl.ParseOpName, Op, Flags)
    [all...]
aslnamesp.c 335 if (Op->Asl.ParseOpcode == PARSEOP_NAME)
337 Op = Op->Asl.Child;
340 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) ||
341 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING))
343 Op = Op->Asl.Next;
348 ACPI_FORMAT_UINT64 (Op->Asl.Value.Integer));
353 if (Op->Asl.ParseOpcode == PARSEOP_NAME)
355 Op = Op->Asl.Child;
358 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) ||
359 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)
    [all...]
aslload.c 216 * named ASL/AML objects into the namespace. The namespace is
291 SourceRegion->Asl.Value.String, AmlType, ACPI_IMODE_EXECUTE,
299 SourceRegion->Asl.CompileFlags |= OP_NOT_FOUND_DURING_LOAD;
305 switch (Op->Asl.AmlOpcode)
333 switch (Child->Asl.AmlOpcode)
343 Child->Asl.Value.String,
353 Child->Asl.Value.String);
382 Child->Asl.Node = Node;
388 Child = Child->Asl.Next;
428 Status = AcpiNsLookup (WalkState->ScopeInfo, Op->Asl.Namepath
    [all...]
aslfold.c 226 if (Op->Asl.CompileFlags == 0)
235 if ((!(Op->Asl.CompileFlags & OP_COMPILE_TIME_CONST)) ||
236 (Op->Asl.CompileFlags & OP_IS_TARGET))
338 Op->Asl.LogicalLineNumber, Op->Asl.ParseOpName);
359 NextOp = Op->Asl.Parent;
364 if (NextOp->Asl.AmlOpcode == AML_NAME_OP)
384 NextOp = NextOp->Asl.Parent;
396 * evaluated at ASL compile-time. To ensure that these opcodes
407 * can be no target operand. Name() is the only ASL operato
    [all...]
asllisting.c 317 if (Op->Asl.CompileFlags & OP_IS_RESOURCE_DATA)
332 for (i = 0; i < Op->Asl.FinalAmlLength; i++)
388 switch (Op->Asl.ParseOpcode)
427 "Open: %s\n", Op->Asl.Value.String);
433 "Close: %s\n", Op->Asl.Filename);
445 Op->Asl.ParseOpcode, Op->Asl.CompileFlags,
446 Op->Asl.LineNumber, Op->Asl.EndLine,
447 Op->Asl.LogicalLineNumber, Op->Asl.EndLogicalLine)
    [all...]
cvcompiler.c 3 * Module Name: cvcompiler - ASL-/ASL+ converter functions
404 Op->Asl.ParseOpName);
406 if (Op->Asl.FileChanged)
408 TotalCommentLength += strlen (Op->Asl.Filename) + 3;
410 if (Op->Asl.ParentFilename &&
411 AcpiUtStricmp (Op->Asl.Filename, Op->Asl.ParentFilename))
413 TotalCommentLength += strlen (Op->Asl.ParentFilename) + 3;
417 if (Op->Asl.CommentList
    [all...]
aslmaputils.c 198 switch (Op->Asl.ParseOpcode)
202 Arg = Op->Asl.Child; /* Get the NameSeg/NameString node */
203 Arg = Arg->Asl.Next; /* First peer is the object to be associated with the name */
205 switch (Arg->Asl.ParseOpcode)
209 return (Arg->Asl.Value.String);
216 AcpiExEisaIdToString (HidString, Arg->Asl.Value.Integer);
363 (Op->Asl.AmlOpcode != AML_DEVICE_OP) &&
364 (Op->Asl.AmlOpcode != AML_SCOPE_OP))
366 Op = Op->Asl.Parent;
377 DeviceNode = Op->Asl.Node
    [all...]
aslbtypes.c 342 * rules as per the "ASL Data Types" section of the ACPI
512 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) ||
513 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING) ||
514 (Op->Asl.ParseOpcode == PARSEOP_METHODCALL))
516 Node = Op->Asl.Node;
521 if ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEWORDFIELD) ||
522 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEDWORDFIELD) ||
523 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CREATEQWORDFIELD) |
    [all...]
aslresource.c 223 if (!Op->Asl.ExternalName)
353 if (!Op->Asl.ExternalName)
503 if (InitializerOp->Asl.ParseOpcode == PARSEOP_STRING_LITERAL)
505 return ((UINT16) (strlen (InitializerOp->Asl.Value.String) + 1));
553 * the field in the ASL, not in the AML)
575 Op->Asl.ExternalName = Name;
576 Op->Asl.CompileFlags |= OP_IS_RESOURCE_FIELD;
578 Op->Asl.Value.Tag.BitOffset = (ByteOffset * 8) + BitOffset;
579 Op->Asl.Value.Tag.BitLength = BitLength;
596 * that no value was specified in the ASL. Used to merge multipl
    [all...]
aslrestype2.c 190 InitializerOp = Info->DescriptorTypeOp->Asl.Child;
206 Descriptor->GenericReg.AddressSpaceId = (UINT8) InitializerOp->Asl.Value.Integer;
213 Descriptor->GenericReg.BitWidth = (UINT8) InitializerOp->Asl.Value.Integer;
220 Descriptor->GenericReg.BitOffset = (UINT8) InitializerOp->Asl.Value.Integer;
227 Descriptor->GenericReg.Address = InitializerOp->Asl.Value.Integer;
234 Descriptor->GenericReg.AccessSize = (UINT8) InitializerOp->Asl.Value.Integer;
297 InitializerOp = Info->DescriptorTypeOp->Asl.Child;
310 InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
325 InitializerOp = Info->DescriptorTypeOp->Asl.Child;
376 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG
    [all...]

Completed in 24 milliseconds

1 2 3