Lines Matching refs:resource
35 acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, in acpi_rs_convert_aml_to_resource() argument
54 if (((acpi_size)resource) & 0x3) { in acpi_rs_convert_aml_to_resource()
60 resource, resource->type, resource->length)); in acpi_rs_convert_aml_to_resource()
81 ACPI_ADD_PTR(void, resource, info->resource_offset); in acpi_rs_convert_aml_to_resource()
88 memset(resource, 0, INIT_RESOURCE_LENGTH(info)); in acpi_rs_convert_aml_to_resource()
89 resource->type = INIT_RESOURCE_TYPE(info); in acpi_rs_convert_aml_to_resource()
90 resource->length = INIT_RESOURCE_LENGTH(info); in acpi_rs_convert_aml_to_resource()
138 resource->length = resource->length + in acpi_rs_convert_aml_to_resource()
147 resource->length = resource->length + in acpi_rs_convert_aml_to_resource()
156 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
166 resource->length = in acpi_rs_convert_aml_to_resource()
167 resource->length + (info->value * item_count); in acpi_rs_convert_aml_to_resource()
191 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
199 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
209 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
215 resource->length = resource->length + info->value; in acpi_rs_convert_aml_to_resource()
237 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
238 (resource->length - in acpi_rs_convert_aml_to_resource()
253 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
254 (resource->length - in acpi_rs_convert_aml_to_resource()
269 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
270 (resource->length - in acpi_rs_convert_aml_to_resource()
285 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
286 (resource->length - in acpi_rs_convert_aml_to_resource()
306 target = ACPI_ADD_PTR(char, resource, info->value); in acpi_rs_convert_aml_to_resource()
314 if (!acpi_rs_get_address_common(resource, aml)) { in acpi_rs_convert_aml_to_resource()
324 resource->length += in acpi_rs_convert_aml_to_resource()
335 target = ACPI_ADD_PTR(char, resource, in acpi_rs_convert_aml_to_resource()
339 resource->length += in acpi_rs_convert_aml_to_resource()
357 resource->length += (item_count - 1); in acpi_rs_convert_aml_to_resource()
360 target = ACPI_ADD_PTR(char, resource, info->value); in acpi_rs_convert_aml_to_resource()
373 resource->length += (item_count - 1); in acpi_rs_convert_aml_to_resource()
376 target = ACPI_ADD_PTR(char, resource, info->value); in acpi_rs_convert_aml_to_resource()
422 resource->length = (u32) in acpi_rs_convert_aml_to_resource()
423 ACPI_ROUND_UP_TO_NATIVE_WORD(resource->length); in acpi_rs_convert_aml_to_resource()
444 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resource_to_aml() argument
473 source = ACPI_ADD_PTR(void, resource, info->resource_offset); in acpi_rs_convert_resource_to_aml()
665 acpi_rs_set_address_common(aml, resource); in acpi_rs_convert_resource_to_aml()
697 resource, in acpi_rs_convert_resource_to_aml()
708 *ACPI_ADD_PTR(u8, resource, in acpi_rs_convert_resource_to_aml()
729 if (*ACPI_ADD_PTR(u8, resource, in acpi_rs_convert_resource_to_aml()
748 if (*ACPI_ADD_PTR(u8, resource, in acpi_rs_convert_resource_to_aml()
776 if (resource->data.start_dpf.performance_robustness >= 3) {
792 resource->data.extended_irq.interrupt_count = temp8;
800 if (resource->data.dma.transfer == 0x03) {