Lines Matching refs:Aml
162 * Base sizes of the raw AML resource descriptors, indexed by resource type.
278 * PARAMETERS: Aml - Pointer to the raw AML resource template
286 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called
294 UINT8 *Aml,
319 EndAml = Aml + AmlLength;
323 while (Aml < EndAml)
327 Status = AcpiUtValidateResource (WalkState, Aml, &ResourceIndex);
339 Length = AcpiUtGetDescriptorLength (Aml);
346 Aml, Length, Offset, ResourceIndex, Context);
355 if (AcpiUtGetResourceType (Aml) == ACPI_RESOURCE_NAME_END_TAG)
361 if ((Aml + 1) >= EndAml)
377 *Context = Aml;
385 Aml += Length;
412 * Aml - Pointer to the raw AML resource descriptor
418 * DESCRIPTION: Validate an AML resource descriptor by checking the Resource
427 void *Aml,
443 ResourceType = ACPI_GET8 (Aml);
487 ResourceLength = AcpiUtGetResourceLength (Aml);
532 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml);
587 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
599 void *Aml)
608 if (ACPI_GET8 (Aml) & ACPI_RESOURCE_NAME_LARGE)
612 return (ACPI_GET8 (Aml));
618 return ((UINT8) (ACPI_GET8 (Aml) & ACPI_RESOURCE_NAME_SMALL_MASK));
627 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
631 * DESCRIPTION: Get the "Resource Length" of a raw AML descriptor. By
639 void *Aml)
651 if (ACPI_GET8 (Aml) & ACPI_RESOURCE_NAME_LARGE)
655 ACPI_MOVE_16_TO_16 (&ResourceLength, ACPI_ADD_PTR (UINT8, Aml, 1));
662 ResourceLength = (UINT16) (ACPI_GET8 (Aml) &
674 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
676 * RETURN: Length of the AML header (depends on large/small descriptor)
684 void *Aml)
691 if (ACPI_GET8 (Aml) & ACPI_RESOURCE_NAME_LARGE)
706 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
710 * DESCRIPTION: Get the total byte length of a raw AML descriptor, including the
718 void *Aml)
727 return (AcpiUtGetResourceLength (Aml) +
728 AcpiUtGetResourceHeaderLength (Aml));
741 * DESCRIPTION: Find the EndTag resource descriptor in an AML resource template