Lines Matching refs:resource
35 acpi_rs_match_vendor_resource(struct acpi_resource *resource, void *context);
332 acpi_resource_to_address64(struct acpi_resource *resource, in ACPI_EXPORT_SYMBOL()
338 if (!resource || !out) { in ACPI_EXPORT_SYMBOL()
344 switch (resource->type) { in ACPI_EXPORT_SYMBOL()
349 &resource->data); in ACPI_EXPORT_SYMBOL()
357 &resource->data); in ACPI_EXPORT_SYMBOL()
365 memcpy(out, &resource->data, in ACPI_EXPORT_SYMBOL()
442 acpi_rs_match_vendor_resource(struct acpi_resource *resource, void *context) in ACPI_EXPORT_SYMBOL()
451 if (resource->type != ACPI_RESOURCE_TYPE_VENDOR) { in ACPI_EXPORT_SYMBOL()
455 vendor = &resource->data.vendor_typed; in ACPI_EXPORT_SYMBOL()
473 status = acpi_ut_initialize_buffer(buffer, resource->length); in ACPI_EXPORT_SYMBOL()
480 memcpy(buffer->pointer, resource, resource->length); in ACPI_EXPORT_SYMBOL()
481 buffer->length = resource->length; in ACPI_EXPORT_SYMBOL()
511 struct acpi_resource *resource; in acpi_walk_resource_buffer() local
524 resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer); in acpi_walk_resource_buffer()
530 while (resource < resource_end) { in acpi_walk_resource_buffer()
534 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { in acpi_walk_resource_buffer()
541 if (!resource->length) { in acpi_walk_resource_buffer()
547 status = user_function(resource, context); in acpi_walk_resource_buffer()
560 if (resource->type == ACPI_RESOURCE_TYPE_END_TAG) { in acpi_walk_resource_buffer()
566 resource = ACPI_NEXT_RESOURCE(resource); in acpi_walk_resource_buffer()