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()
200 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
211 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
217 resource->length = resource->length + info->value; in acpi_rs_convert_aml_to_resource()
239 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
240 (resource->length - in acpi_rs_convert_aml_to_resource()
255 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
256 (resource->length - in acpi_rs_convert_aml_to_resource()
271 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
272 (resource->length - in acpi_rs_convert_aml_to_resource()
287 target = (char *)ACPI_ADD_PTR(void, resource, in acpi_rs_convert_aml_to_resource()
288 (resource->length - in acpi_rs_convert_aml_to_resource()
308 target = ACPI_ADD_PTR(char, resource, info->value); in acpi_rs_convert_aml_to_resource()
316 if (!acpi_rs_get_address_common(resource, aml)) { in acpi_rs_convert_aml_to_resource()
326 resource->length += in acpi_rs_convert_aml_to_resource()
337 target = ACPI_ADD_PTR(char, resource, in acpi_rs_convert_aml_to_resource()
341 resource->length += in acpi_rs_convert_aml_to_resource()
359 resource->length += (item_count - 1); in acpi_rs_convert_aml_to_resource()
362 target = ACPI_ADD_PTR(char, resource, info->value); in acpi_rs_convert_aml_to_resource()
375 resource->length += (item_count - 1); in acpi_rs_convert_aml_to_resource()
378 target = ACPI_ADD_PTR(char, resource, info->value); in acpi_rs_convert_aml_to_resource()
424 resource->length = (u32) in acpi_rs_convert_aml_to_resource()
425 ACPI_ROUND_UP_TO_NATIVE_WORD(resource->length); in acpi_rs_convert_aml_to_resource()
446 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resource_to_aml() argument
475 source = ACPI_ADD_PTR(void, resource, info->resource_offset); in acpi_rs_convert_resource_to_aml()
667 acpi_rs_set_address_common(aml, resource); in acpi_rs_convert_resource_to_aml()
699 resource, in acpi_rs_convert_resource_to_aml()
710 *ACPI_ADD_PTR(u8, resource, in acpi_rs_convert_resource_to_aml()
731 if (*ACPI_ADD_PTR(u8, resource, in acpi_rs_convert_resource_to_aml()
750 if (*ACPI_ADD_PTR(u8, resource, in acpi_rs_convert_resource_to_aml()
778 if (resource->data.start_dpf.performance_robustness >= 3) {
794 resource->data.extended_irq.interrupt_count = temp8;
802 if (resource->data.dma.transfer == 0x03) {