Lines Matching defs:resource
4 * Module Name: rsaddr - Address resource descriptors (16/32/64)
261 * PARAMETERS: resource - Pointer to the internal resource struct
262 * aml - Pointer to the AML resource descriptor
266 * DESCRIPTION: Convert common flag fields from a raw AML resource descriptor
267 * to an internal resource descriptor
272 acpi_rs_get_address_common(struct acpi_resource *resource,
286 (void)acpi_rs_convert_aml_to_resource(resource, aml,
291 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) {
292 (void)acpi_rs_convert_aml_to_resource(resource, aml,
294 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) {
295 (void)acpi_rs_convert_aml_to_resource(resource, aml,
298 /* Generic resource type, just grab the type_specific byte */
300 resource->data.address.info.type_specific =
311 * PARAMETERS: aml - Pointer to the AML resource descriptor
312 * resource - Pointer to the internal resource struct
316 * DESCRIPTION: Convert common flag fields from a resource descriptor to an
323 struct acpi_resource *resource)
329 (void)acpi_rs_convert_resource_to_aml(resource, aml,
334 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) {
335 (void)acpi_rs_convert_resource_to_aml(resource, aml,
337 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) {
338 (void)acpi_rs_convert_resource_to_aml(resource, aml,
341 /* Generic resource type, just copy the type_specific byte */
344 resource->data.address.info.type_specific;