Lines Matching refs:acpi_resource

164 static acpi_status pnpacpi_allocated_resource(struct acpi_resource *res,  in pnpacpi_allocated_resource()
404 struct acpi_resource *r) in pnpacpi_parse_address_option()
431 struct acpi_resource *r) in pnpacpi_parse_ext_address_option()
453 static __init acpi_status pnpacpi_option_resource(struct acpi_resource *res, in pnpacpi_option_resource()
572 static int pnpacpi_supported_resource(struct acpi_resource *res) in pnpacpi_supported_resource()
595 static acpi_status pnpacpi_count_resources(struct acpi_resource *res, in pnpacpi_count_resources()
605 static acpi_status pnpacpi_type_resources(struct acpi_resource *res, void *data) in pnpacpi_type_resources()
607 struct acpi_resource **resource = data; in pnpacpi_type_resources()
611 (*resource)->length = sizeof(struct acpi_resource); in pnpacpi_type_resources()
626 struct acpi_resource *resource; in pnpacpi_build_resource_template()
638 buffer->length = sizeof(struct acpi_resource) * (res_cnt + 1) + 1; in pnpacpi_build_resource_template()
643 resource = (struct acpi_resource *)buffer->pointer; in pnpacpi_build_resource_template()
653 resource->length = sizeof(struct acpi_resource); in pnpacpi_build_resource_template()
659 struct acpi_resource *resource, in pnpacpi_encode_irq()
688 struct acpi_resource *resource, in pnpacpi_encode_ext_irq()
716 struct acpi_resource *resource, in pnpacpi_encode_dma()
764 struct acpi_resource *resource, in pnpacpi_encode_io()
787 struct acpi_resource *resource, in pnpacpi_encode_fixed_io()
805 struct acpi_resource *resource, in pnpacpi_encode_mem24()
830 struct acpi_resource *resource, in pnpacpi_encode_mem32()
854 struct acpi_resource *resource, in pnpacpi_encode_fixed_mem32()
880 int res_cnt = (buffer->length - 1) / sizeof(struct acpi_resource) - 1; in pnpacpi_encode_resources()
881 struct acpi_resource *resource = buffer->pointer; in pnpacpi_encode_resources()