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.
70 * Resource types, used to validate the resource length field.
73 * Zero indicates a reserved (and therefore invalid) resource type.
123 * PARAMETERS: aml - Pointer to the raw AML resource template
131 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called
132 * once for each resource found.
151 /* The absolute minimum resource template is one end_tag descriptor */ in acpi_ut_walk_aml_resources()
157 /* Point to the end of the resource template buffer */ in acpi_ut_walk_aml_resources()
165 /* Validate the Resource Type and Resource Length */ in acpi_ut_walk_aml_resources()
192 /* An end_tag descriptor terminates this resource template */ in acpi_ut_walk_aml_resources()
249 * aml - Pointer to the raw AML resource descriptor
250 * return_index - Where the resource index is returned. NULL
253 * RETURN: Status, and optionally the Index into the global resource tables
255 * DESCRIPTION: Validate an AML resource descriptor by checking the Resource
256 * Type and Resource Length. Returns an index into the global
257 * resource information/dispatch tables for later use.
279 * Byte 0 contains the descriptor name (Resource Type) in acpi_ut_validate_resource()
280 * Examine the large/small bit in the resource header in acpi_ut_validate_resource()
284 /* Verify the large resource type (name) against the max */ in acpi_ut_validate_resource()
291 * Large Resource Type -- bits 6:0 contain the name in acpi_ut_validate_resource()
297 * Small Resource Type -- bits 6:3 contain the name in acpi_ut_validate_resource()
305 * Check validity of the resource type, via acpi_gbl_resource_types. in acpi_ut_validate_resource()
306 * Zero indicates an invalid resource. in acpi_ut_validate_resource()
319 /* Validate based upon the type of resource - fixed length or variable */ in acpi_ut_validate_resource()
324 /* Fixed length resource, length must match exactly */ in acpi_ut_validate_resource()
333 /* Variable length resource, length must be at least the minimum */ in acpi_ut_validate_resource()
342 /* Small variable length resource, length can be (Min) or (Min-1) */ in acpi_ut_validate_resource()
367 "Invalid/unsupported SerialBus resource descriptor: BusType 0x%2.2X", in acpi_ut_validate_resource()
375 /* Optionally return the resource table index */ in acpi_ut_validate_resource()
387 "Invalid/unsupported resource descriptor: Type 0x%2.2X", in acpi_ut_validate_resource()
396 "Invalid resource descriptor length: Type " in acpi_ut_validate_resource()
408 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
410 * RETURN: The Resource Type with no extraneous bits (except the
413 * DESCRIPTION: Extract the Resource Type/Name from the first byte of
414 * a resource descriptor.
423 * Byte 0 contains the descriptor name (Resource Type) in acpi_ut_get_resource_type()
424 * Examine the large/small bit in the resource header in acpi_ut_get_resource_type()
428 /* Large Resource Type -- bits 6:0 contain the name */ in acpi_ut_get_resource_type()
432 /* Small Resource Type -- bits 6:3 contain the name */ in acpi_ut_get_resource_type()
442 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
446 * DESCRIPTION: Get the "Resource Length" of a raw AML descriptor. By
459 * Byte 0 contains the descriptor name (Resource Type) in acpi_ut_get_resource_length()
460 * Examine the large/small bit in the resource header in acpi_ut_get_resource_length()
464 /* Large Resource type -- bytes 1-2 contain the 16-bit length */ in acpi_ut_get_resource_length()
469 /* Small Resource type -- bits 2:0 of byte 0 contain the length */ in acpi_ut_get_resource_length()
482 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
486 * DESCRIPTION: Get the length of the header for this resource.
494 /* Examine the large/small bit in the resource header */ in acpi_ut_get_resource_header_length()
507 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
522 * Get the Resource Length (does not include header length) and add in acpi_ut_get_descriptor_length()
523 * the header length (depends on if this is a small or large resource) in acpi_ut_get_descriptor_length()
533 * PARAMETERS: obj_desc - The resource template buffer object
538 * DESCRIPTION: Find the end_tag resource descriptor in an AML resource template