Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rsxface.c File Reference
#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acresrc.h"
#include "acnamesp.h"

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_RESOURCES
 
#define ACPI_COPY_FIELD(out, in, field)   ((out)->field = (in)->field)
 
#define ACPI_COPY_ADDRESS(out, in)
 

Functions

acpi_status acpi_get_irq_routing_table (acpi_handle device_handle, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_get_current_resources (acpi_handle device_handle, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_set_current_resources (acpi_handle device_handle, struct acpi_buffer *in_buffer)
 
acpi_status acpi_get_event_resources (acpi_handle device_handle, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_resource_to_address64 (struct acpi_resource *resource, struct acpi_resource_address64 *out)
 
acpi_status acpi_get_vendor_resource (acpi_handle device_handle, char *name, struct acpi_vendor_uuid *uuid, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_walk_resources (acpi_handle device_handle, char *name, acpi_walk_resource_callback user_function, void *context)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_RESOURCES

Definition at line 50 of file rsxface.c.

#define ACPI_COPY_ADDRESS (   out,
  in 
)
Value:
ACPI_COPY_FIELD(out, in, producer_consumer); \
ACPI_COPY_FIELD(out, in, decode); \
ACPI_COPY_FIELD(out, in, min_address_fixed); \
ACPI_COPY_FIELD(out, in, max_address_fixed); \
ACPI_COPY_FIELD(out, in, info); \
ACPI_COPY_FIELD(out, in, granularity); \
ACPI_COPY_FIELD(out, in, minimum); \
ACPI_COPY_FIELD(out, in, maximum); \
ACPI_COPY_FIELD(out, in, translation_offset); \
ACPI_COPY_FIELD(out, in, address_length); \
ACPI_COPY_FIELD(out, in, resource_source);

Definition at line 55 of file rsxface.c.

#define ACPI_COPY_FIELD (   out,
  in,
  field 
)    ((out)->field = (in)->field)

Definition at line 54 of file rsxface.c.

Function Documentation

acpi_status acpi_get_current_resources ( acpi_handle  device_handle,
struct acpi_buffer ret_buffer 
)

Definition at line 202 of file rsxface.c.

acpi_status acpi_get_event_resources ( acpi_handle  device_handle,
struct acpi_buffer ret_buffer 
)

Definition at line 329 of file rsxface.c.

acpi_status acpi_get_irq_routing_table ( acpi_handle  device_handle,
struct acpi_buffer ret_buffer 
)

Definition at line 157 of file rsxface.c.

acpi_status acpi_get_vendor_resource ( acpi_handle  device_handle,
char name,
struct acpi_vendor_uuid uuid,
struct acpi_buffer ret_buffer 
)

Definition at line 432 of file rsxface.c.

acpi_status acpi_resource_to_address64 ( struct acpi_resource resource,
struct acpi_resource_address64 out 
)

Definition at line 367 of file rsxface.c.

acpi_status acpi_set_current_resources ( acpi_handle  device_handle,
struct acpi_buffer in_buffer 
)

Definition at line 283 of file rsxface.c.

acpi_status acpi_walk_resources ( acpi_handle  device_handle,
char name,
acpi_walk_resource_callback  user_function,
void context 
)

Definition at line 543 of file rsxface.c.