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,
291 (void)acpi_rs_convert_aml_to_resource(resource, aml,
296 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) {
297 (void)acpi_rs_convert_aml_to_resource(resource, aml,
299 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) {
300 (void)acpi_rs_convert_aml_to_resource(resource, aml,
303 /* Generic resource type, just grab the type_specific byte */
305 resource->data.address.info.type_specific =
316 * PARAMETERS: aml - Pointer to the AML resource descriptor
317 * resource - Pointer to the internal resource struct
321 * DESCRIPTION: Convert common flag fields from a resource descriptor to an
328 struct acpi_resource *resource)
334 (void)acpi_rs_convert_resource_to_aml(resource, aml,
339 if (resource->data.address.resource_type == ACPI_MEMORY_RANGE) {
340 (void)acpi_rs_convert_resource_to_aml(resource, aml,
342 } else if (resource->data.address.resource_type == ACPI_IO_RANGE) {
343 (void)acpi_rs_convert_resource_to_aml(resource, aml,
346 /* Generic resource type, just copy the type_specific byte */
349 resource->data.address.info.type_specific;