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()
98 if (!resource->length) { in acpi_rs_convert_aml_to_resources()
100 "Zero-length resource returned from RsConvertAmlToResource")); in acpi_rs_convert_aml_to_resources()
106 resource->length)); in acpi_rs_convert_aml_to_resources()
118 * PARAMETERS: resource - Pointer to the resource linked list
119 * aml_size_needed - Calculated size of the byte stream
121 * The size of the output_buffer is
123 * output_buffer - Pointer to the buffer that will
129 * byte stream of resources in the caller's output buffer
150 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_convert_resources_to_aml()
153 resource->type)); in acpi_rs_convert_resources_to_aml()
159 if (!resource->length) { in acpi_rs_convert_resources_to_aml()
165 /* Perform the conversion */ in acpi_rs_convert_resources_to_aml()
167 if (resource->type == ACPI_RESOURCE_TYPE_SERIAL_BUS) { in acpi_rs_convert_resources_to_aml()
168 if (resource->data.common_serial_bus.type > in acpi_rs_convert_resources_to_aml()
176 [resource->data.common_serial_bus.type]; in acpi_rs_convert_resources_to_aml()
180 acpi_gbl_set_resource_dispatch[resource->type]; in acpi_rs_convert_resources_to_aml()
186 resource->type)); in acpi_rs_convert_resources_to_aml()
198 resource->type)); in acpi_rs_convert_resources_to_aml()
212 /* Check for end-of-list, normal exit */ in acpi_rs_convert_resources_to_aml()
214 if (resource->type == ACPI_RESOURCE_TYPE_END_TAG) { in acpi_rs_convert_resources_to_aml()
216 /* An End Tag indicates the end of the input Resource Template */ in acpi_rs_convert_resources_to_aml()
222 * Extract the total length of the new descriptor and set the in acpi_rs_convert_resources_to_aml()