Home | History | Annotate | Download | only in compiler

Lines Matching defs:Subtable

164  *              RetSubtable         - Returned newly created subtable
168 * DESCRIPTION: Create a subtable that is not listed with ACPI_DMTABLE_INFO
180 DT_SUBTABLE *Subtable;
184 Subtable = UtSubtableCacheCalloc ();
186 /* Create a new buffer for the subtable data */
189 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
190 memcpy (Subtable->Buffer, Buffer, Length);
192 Subtable->Length = Length;
193 Subtable->TotalLength = Length;
195 *RetSubtable = Subtable;
203 * PARAMETERS: ParentTable - The Parent of the new subtable
204 * Subtable - The new subtable to insert
208 * DESCRIPTION: Insert the new subtable to the parent table
215 DT_SUBTABLE *Subtable)
220 Subtable->Peer = NULL;
221 Subtable->Parent = ParentTable;
222 Subtable->Depth = ParentTable->Depth + 1;
228 ParentTable->Child = Subtable;
240 /* Add new subtable at the end of the child list */
242 ChildTable->Peer = Subtable;
251 * PARAMETERS: Subtable - Subtable to push
255 * DESCRIPTION: Push a subtable onto a subtable stack
261 DT_SUBTABLE *Subtable)
264 Subtable->StackTop = AslGbl_SubtableStack;
265 AslGbl_SubtableStack = Subtable;
277 * DESCRIPTION: Pop a subtable from a subtable stack. Uses global SubtableStack
285 DT_SUBTABLE *Subtable;
288 Subtable = AslGbl_SubtableStack;
290 if (Subtable)
292 AslGbl_SubtableStack = Subtable->StackTop;
303 * RETURN: The subtable on top of stack
305 * DESCRIPTION: Get the subtable on top of stack
329 * DESCRIPTION: Return the next peer subtable within the tree.
358 * PARAMETERS: Subtable - Current subtable
360 * RETURN: Parent of the given subtable
362 * DESCRIPTION: Get the parent of the given subtable in the tree
368 DT_SUBTABLE *Subtable)
371 if (!Subtable)
376 return (Subtable->Parent);
387 * RETURN: Subtable length
389 * DESCRIPTION: Get length of bytes needed to compile the subtable
471 * PARAMETERS: Subtable - Subtable
475 * DESCRIPTION: Set length of the subtable into its length field
481 DT_SUBTABLE *Subtable)
484 if (!Subtable->LengthField)
489 memcpy (Subtable->LengthField, &Subtable->TotalLength,
490 Subtable->SizeOfLengthField);