Lines Matching +full:end +full:- +full:of +full:- +full:conversion
1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: rslist - Linked list utilities
20 * resource_ptr - Pointer to the buffer that will
25 * DESCRIPTION: Convert an AML resource to an internal representation of the
53 /* Get the appropriate conversion info table */ in acpi_rs_convert_aml_to_resources()
58 if (aml_resource->common_serial_bus.type > in acpi_rs_convert_aml_to_resources()
66 [aml_resource->common_serial_bus.type]; in acpi_rs_convert_aml_to_resources()
92 if (!resource->length) { in acpi_rs_convert_aml_to_resources()
94 "Zero-length resource returned from RsConvertAmlToResource")); in acpi_rs_convert_aml_to_resources()
100 resource->length)); in acpi_rs_convert_aml_to_resources()
112 * PARAMETERS: resource - Pointer to the resource linked list
113 * aml_size_needed - Calculated size of the byte stream
115 * The size of the output_buffer is
117 * output_buffer - Pointer to the buffer that will
123 * byte stream of resources in the caller's output buffer
144 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_convert_resources_to_aml()
147 resource->type)); in acpi_rs_convert_resources_to_aml()
153 if (!resource->length) { in acpi_rs_convert_resources_to_aml()
159 /* Perform the conversion */ in acpi_rs_convert_resources_to_aml()
161 if (resource->type == ACPI_RESOURCE_TYPE_SERIAL_BUS) { in acpi_rs_convert_resources_to_aml()
162 if (resource->data.common_serial_bus.type > in acpi_rs_convert_resources_to_aml()
170 [resource->data.common_serial_bus.type]; in acpi_rs_convert_resources_to_aml()
174 acpi_gbl_set_resource_dispatch[resource->type]; in acpi_rs_convert_resources_to_aml()
180 resource->type)); in acpi_rs_convert_resources_to_aml()
192 resource->type)); in acpi_rs_convert_resources_to_aml()
206 /* Check for end-of-list, normal exit */ in acpi_rs_convert_resources_to_aml()
208 if (resource->type == ACPI_RESOURCE_TYPE_END_TAG) { in acpi_rs_convert_resources_to_aml()
210 /* An End Tag indicates the end of the input Resource Template */ in acpi_rs_convert_resources_to_aml()
216 * Extract the total length of the new descriptor and set the in acpi_rs_convert_resources_to_aml()