Lines Matching full:resource
3 * Module Name: utresrc - Resource management utilities
162 * Base sizes of the raw AML resource descriptors, indexed by resource type.
163 * Zero indicates a reserved (and therefore invalid) resource type.
222 * Resource types, used to validate the resource length field.
225 * Zero indicates a reserved (and therefore invalid) resource type.
278 * PARAMETERS: Aml - Pointer to the raw AML resource template
286 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called
287 * once for each resource found.
310 /* The absolute minimum resource template is one EndTag descriptor */ in AcpiUtWalkAmlResources()
317 /* Point to the end of the resource template buffer */ in AcpiUtWalkAmlResources()
325 /* Validate the Resource Type and Resource Length */ in AcpiUtWalkAmlResources()
353 /* An EndTag descriptor terminates this resource template */ in AcpiUtWalkAmlResources()
412 * Aml - Pointer to the raw AML resource descriptor
413 * ReturnIndex - Where the resource index is returned. NULL
416 * RETURN: Status, and optionally the Index into the global resource tables
418 * DESCRIPTION: Validate an AML resource descriptor by checking the Resource
419 * Type and Resource Length. Returns an index into the global
420 * resource information/dispatch tables for later use.
446 * Byte 0 contains the descriptor name (Resource Type) in AcpiUtValidateResource()
447 * Examine the large/small bit in the resource header in AcpiUtValidateResource()
451 /* Verify the large resource type (name) against the max */ in AcpiUtValidateResource()
459 * Large Resource Type -- bits 6:0 contain the name in AcpiUtValidateResource()
467 * Small Resource Type -- bits 6:3 contain the name in AcpiUtValidateResource()
475 * Check validity of the resource type, via AcpiGbl_ResourceTypes. in AcpiUtValidateResource()
476 * Zero indicates an invalid resource. in AcpiUtValidateResource()
490 /* Validate based upon the type of resource - fixed length or variable */ in AcpiUtValidateResource()
496 /* Fixed length resource, length must match exactly */ in AcpiUtValidateResource()
506 /* Variable length resource, length must be at least the minimum */ in AcpiUtValidateResource()
516 /* Small variable length resource, length can be (Min) or (Min-1) */ in AcpiUtValidateResource()
543 "Invalid/unsupported SerialBus resource descriptor: BusType 0x%2.2X", in AcpiUtValidateResource()
550 /* Optionally return the resource table index */ in AcpiUtValidateResource()
565 "Invalid/unsupported resource descriptor: Type 0x%2.2X", in AcpiUtValidateResource()
575 "Invalid resource descriptor length: Type " in AcpiUtValidateResource()
587 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
589 * RETURN: The Resource Type with no extraneous bits (except the
592 * DESCRIPTION: Extract the Resource Type/Name from the first byte of
593 * a resource descriptor.
605 * Byte 0 contains the descriptor name (Resource Type) in AcpiUtGetResourceType()
606 * Examine the large/small bit in the resource header in AcpiUtGetResourceType()
610 /* Large Resource Type -- bits 6:0 contain the name */ in AcpiUtGetResourceType()
616 /* Small Resource Type -- bits 6:3 contain the name */ in AcpiUtGetResourceType()
627 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
631 * DESCRIPTION: Get the "Resource Length" of a raw AML descriptor. By
648 * Byte 0 contains the descriptor name (Resource Type) in AcpiUtGetResourceLength()
649 * Examine the large/small bit in the resource header in AcpiUtGetResourceLength()
653 /* Large Resource type -- bytes 1-2 contain the 16-bit length */ in AcpiUtGetResourceLength()
660 /* Small Resource type -- bits 2:0 of byte 0 contain the length */ in AcpiUtGetResourceLength()
674 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
678 * DESCRIPTION: Get the length of the header for this resource.
689 /* Examine the large/small bit in the resource header */ in AcpiUtGetResourceHeaderLength()
706 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor
724 * Get the Resource Length (does not include header length) and add in AcpiUtGetDescriptorLength()
725 * the header length (depends on if this is a small or large resource) in AcpiUtGetDescriptorLength()
736 * PARAMETERS: ObjDesc - The resource template buffer object
741 * DESCRIPTION: Find the EndTag resource descriptor in an AML resource template