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()
83 acpi_rs_convert_aml_to_resource(resource, aml_resource, in acpi_rs_convert_aml_to_resources()
95 resource->length)); in acpi_rs_convert_aml_to_resources()
99 *resource_ptr = ACPI_NEXT_RESOURCE(resource); in acpi_rs_convert_aml_to_resources()
123 acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resources_to_aml() argument
139 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_convert_resources_to_aml()
142 resource->type)); in acpi_rs_convert_resources_to_aml()
148 if (!resource->length) { in acpi_rs_convert_resources_to_aml()
156 if (resource->type == ACPI_RESOURCE_TYPE_SERIAL_BUS) { in acpi_rs_convert_resources_to_aml()
157 if (resource->data.common_serial_bus.type > in acpi_rs_convert_resources_to_aml()
165 [resource->data.common_serial_bus.type]; in acpi_rs_convert_resources_to_aml()
169 acpi_gbl_set_resource_dispatch[resource->type]; in acpi_rs_convert_resources_to_aml()
175 resource->type)); in acpi_rs_convert_resources_to_aml()
179 status = acpi_rs_convert_resource_to_aml(resource, in acpi_rs_convert_resources_to_aml()
187 resource->type)); in acpi_rs_convert_resources_to_aml()
203 if (resource->type == ACPI_RESOURCE_TYPE_END_TAG) { in acpi_rs_convert_resources_to_aml()
218 resource = ACPI_NEXT_RESOURCE(resource); in acpi_rs_convert_resources_to_aml()