Lines Matching refs:resource

36 	struct acpi_resource *resource;  in acpi_rs_convert_aml_to_resources()  local
47 resource = *resource_ptr; in acpi_rs_convert_aml_to_resources()
48 if (ACPI_IS_MISALIGNED(resource)) { in acpi_rs_convert_aml_to_resources()
50 "Misaligned resource pointer %p", resource)); in acpi_rs_convert_aml_to_resources()
89 acpi_rs_convert_aml_to_resource(resource, aml_resource, in acpi_rs_convert_aml_to_resources()
98 if (!resource->length) { in acpi_rs_convert_aml_to_resources()
106 resource->length)); in acpi_rs_convert_aml_to_resources()
110 *resource_ptr = ACPI_NEXT_RESOURCE(resource); in acpi_rs_convert_aml_to_resources()
134 acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resources_to_aml() argument
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()
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()
190 status = acpi_rs_convert_resource_to_aml(resource, in acpi_rs_convert_resources_to_aml()
198 resource->type)); in acpi_rs_convert_resources_to_aml()
214 if (resource->type == ACPI_RESOURCE_TYPE_END_TAG) { in acpi_rs_convert_resources_to_aml()
229 resource = ACPI_NEXT_RESOURCE(resource); in acpi_rs_convert_resources_to_aml()