Lines Matching defs:resource
3 * Module Name: rsaddr - Address resource descriptors (16/32/64)
296 * PARAMETERS: Resource - Pointer to the internal resource struct
297 * Aml - Pointer to the AML resource descriptor
301 * DESCRIPTION: Convert common flag fields from a raw AML resource descriptor
302 * to an internal resource descriptor
307 acpi_rs_get_address_common(struct acpi_resource *resource,
321 (void)acpi_rs_convert_aml_to_resource(resource, aml,
326 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) {
327 (void)acpi_rs_convert_aml_to_resource(resource, aml,
329 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) {
330 (void)acpi_rs_convert_aml_to_resource(resource, aml,
333 /* Generic resource type, just grab the type_specific byte */
335 resource->data.address.info.type_specific =
346 * PARAMETERS: Aml - Pointer to the AML resource descriptor
347 * Resource - Pointer to the internal resource struct
351 * DESCRIPTION: Convert common flag fields from a resource descriptor to an
358 struct acpi_resource *resource)
364 (void)acpi_rs_convert_resource_to_aml(resource, aml,
369 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) {
370 (void)acpi_rs_convert_resource_to_aml(resource, aml,
372 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) {
373 (void)acpi_rs_convert_resource_to_aml(resource, aml,
376 /* Generic resource type, just copy the type_specific byte */
379 resource->data.address.info.type_specific;