Lines Matching refs:acpi_resource
164 static acpi_status pnpacpi_allocated_resource(struct acpi_resource *res, in pnpacpi_allocated_resource()
405 struct acpi_resource *r) in pnpacpi_parse_address_option()
432 struct acpi_resource *r) in pnpacpi_parse_ext_address_option()
454 static __init acpi_status pnpacpi_option_resource(struct acpi_resource *res, in pnpacpi_option_resource()
573 static int pnpacpi_supported_resource(struct acpi_resource *res) in pnpacpi_supported_resource()
596 static acpi_status pnpacpi_count_resources(struct acpi_resource *res, in pnpacpi_count_resources()
606 static acpi_status pnpacpi_type_resources(struct acpi_resource *res, void *data) in pnpacpi_type_resources()
608 struct acpi_resource **resource = data; in pnpacpi_type_resources()
612 (*resource)->length = sizeof(struct acpi_resource); in pnpacpi_type_resources()
627 struct acpi_resource *resource; in pnpacpi_build_resource_template()
639 buffer->length = sizeof(struct acpi_resource) * (res_cnt + 1) + 1; in pnpacpi_build_resource_template()
644 resource = (struct acpi_resource *)buffer->pointer; in pnpacpi_build_resource_template()
654 resource->length = sizeof(struct acpi_resource); in pnpacpi_build_resource_template()
660 struct acpi_resource *resource, in pnpacpi_encode_irq()
689 struct acpi_resource *resource, in pnpacpi_encode_ext_irq()
717 struct acpi_resource *resource, in pnpacpi_encode_dma()
765 struct acpi_resource *resource, in pnpacpi_encode_io()
788 struct acpi_resource *resource, in pnpacpi_encode_fixed_io()
806 struct acpi_resource *resource, in pnpacpi_encode_mem24()
831 struct acpi_resource *resource, in pnpacpi_encode_mem32()
855 struct acpi_resource *resource, in pnpacpi_encode_fixed_mem32()
881 int res_cnt = (buffer->length - 1) / sizeof(struct acpi_resource) - 1; in pnpacpi_encode_resources()
882 struct acpi_resource *resource = buffer->pointer; in pnpacpi_encode_resources()