Lines Matching full:resource

4  * Module Name: utresrc - Resource management utilities
16 * Base sizes of the raw AML resource descriptors, indexed by resource type.
17 * Zero indicates a reserved (and therefore invalid) resource type.
73 * Resource types, used to validate the resource length field.
76 * Zero indicates a reserved (and therefore invalid) resource type.
127 * PARAMETERS: aml - Pointer to the raw AML resource template
135 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called
136 * once for each resource found.
155 /* The absolute minimum resource template is one end_tag descriptor */ in acpi_ut_walk_aml_resources()
161 /* Point to the end of the resource template buffer */ in acpi_ut_walk_aml_resources()
169 /* Validate the Resource Type and Resource Length */ in acpi_ut_walk_aml_resources()
196 /* An end_tag descriptor terminates this resource template */ in acpi_ut_walk_aml_resources()
253 * aml - Pointer to the raw AML resource descriptor
254 * return_index - Where the resource index is returned. NULL
257 * RETURN: Status, and optionally the Index into the global resource tables
259 * DESCRIPTION: Validate an AML resource descriptor by checking the Resource
260 * Type and Resource Length. Returns an index into the global
261 * resource information/dispatch tables for later use.
283 * Byte 0 contains the descriptor name (Resource Type) in acpi_ut_validate_resource()
284 * Examine the large/small bit in the resource header in acpi_ut_validate_resource()
288 /* Verify the large resource type (name) against the max */ in acpi_ut_validate_resource()
295 * Large Resource Type -- bits 6:0 contain the name in acpi_ut_validate_resource()
301 * Small Resource Type -- bits 6:3 contain the name in acpi_ut_validate_resource()
309 * Check validity of the resource type, via acpi_gbl_resource_types. in acpi_ut_validate_resource()
310 * Zero indicates an invalid resource. in acpi_ut_validate_resource()
323 /* Validate based upon the type of resource - fixed length or variable */ in acpi_ut_validate_resource()
328 /* Fixed length resource, length must match exactly */ in acpi_ut_validate_resource()
337 /* Variable length resource, length must be at least the minimum */ in acpi_ut_validate_resource()
346 /* Small variable length resource, length can be (Min) or (Min-1) */ in acpi_ut_validate_resource()
376 "Invalid/unsupported SerialBus resource descriptor: BusType 0x%2.2X", in acpi_ut_validate_resource()
383 /* Optionally return the resource table index */ in acpi_ut_validate_resource()
395 "Invalid/unsupported resource descriptor: Type 0x%2.2X", in acpi_ut_validate_resource()
404 "Invalid resource descriptor length: Type " in acpi_ut_validate_resource()
416 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
418 * RETURN: The Resource Type with no extraneous bits (except the
421 * DESCRIPTION: Extract the Resource Type/Name from the first byte of
422 * a resource descriptor.
431 * Byte 0 contains the descriptor name (Resource Type) in acpi_ut_get_resource_type()
432 * Examine the large/small bit in the resource header in acpi_ut_get_resource_type()
436 /* Large Resource Type -- bits 6:0 contain the name */ in acpi_ut_get_resource_type()
440 /* Small Resource Type -- bits 6:3 contain the name */ in acpi_ut_get_resource_type()
450 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
454 * DESCRIPTION: Get the "Resource Length" of a raw AML descriptor. By
467 * Byte 0 contains the descriptor name (Resource Type) in acpi_ut_get_resource_length()
468 * Examine the large/small bit in the resource header in acpi_ut_get_resource_length()
472 /* Large Resource type -- bytes 1-2 contain the 16-bit length */ in acpi_ut_get_resource_length()
477 /* Small Resource type -- bits 2:0 of byte 0 contain the length */ in acpi_ut_get_resource_length()
490 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
494 * DESCRIPTION: Get the length of the header for this resource.
502 /* Examine the large/small bit in the resource header */ in acpi_ut_get_resource_header_length()
515 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
530 * Get the Resource Length (does not include header length) and add in acpi_ut_get_descriptor_length()
531 * the header length (depends on if this is a small or large resource) in acpi_ut_get_descriptor_length()
541 * PARAMETERS: obj_desc - The resource template buffer object
546 * DESCRIPTION: Find the end_tag resource descriptor in an AML resource template