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

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_RESOURCES
 

Functions

u8 acpi_rs_decode_bitmask (u16 mask, u8 *list)
 
u16 acpi_rs_encode_bitmask (u8 *list, u8 count)
 
void acpi_rs_move_data (void *destination, void *source, u16 item_count, u8 move_type)
 
void acpi_rs_set_resource_length (acpi_rsdesc_size total_length, union aml_resource *aml)
 
void acpi_rs_set_resource_header (u8 descriptor_type, acpi_rsdesc_size total_length, union aml_resource *aml)
 
acpi_rs_length acpi_rs_get_resource_source (acpi_rs_length resource_length, acpi_rs_length minimum_length, struct acpi_resource_source *resource_source, union aml_resource *aml, char *string_ptr)
 
acpi_rsdesc_size acpi_rs_set_resource_source (union aml_resource *aml, acpi_rs_length minimum_length, struct acpi_resource_source *resource_source)
 
acpi_status acpi_rs_get_prt_method_data (struct acpi_namespace_node *node, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_rs_get_crs_method_data (struct acpi_namespace_node *node, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_rs_get_aei_method_data (struct acpi_namespace_node *node, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_rs_get_method_data (acpi_handle handle, char *path, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_rs_set_srs_method_data (struct acpi_namespace_node *node, struct acpi_buffer *in_buffer)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_RESOURCES

Definition at line 49 of file rsutils.c.

Function Documentation

u8 acpi_rs_decode_bitmask ( u16  mask,
u8 list 
)

Definition at line 64 of file rsutils.c.

u16 acpi_rs_encode_bitmask ( u8 list,
u8  count 
)

Definition at line 98 of file rsutils.c.

acpi_status acpi_rs_get_aei_method_data ( struct acpi_namespace_node node,
struct acpi_buffer ret_buffer 
)

Definition at line 614 of file rsutils.c.

acpi_status acpi_rs_get_crs_method_data ( struct acpi_namespace_node node,
struct acpi_buffer ret_buffer 
)

Definition at line 512 of file rsutils.c.

acpi_status acpi_rs_get_method_data ( acpi_handle  handle,
char path,
struct acpi_buffer ret_buffer 
)

Definition at line 665 of file rsutils.c.

acpi_status acpi_rs_get_prt_method_data ( struct acpi_namespace_node node,
struct acpi_buffer ret_buffer 
)

Definition at line 463 of file rsutils.c.

acpi_rs_length acpi_rs_get_resource_source ( acpi_rs_length  resource_length,
acpi_rs_length  minimum_length,
struct acpi_resource_source resource_source,
union aml_resource aml,
char string_ptr 
)

Definition at line 316 of file rsutils.c.

void acpi_rs_move_data ( void destination,
void source,
u16  item_count,
u8  move_type 
)

Definition at line 132 of file rsutils.c.

void acpi_rs_set_resource_header ( u8  descriptor_type,
acpi_rsdesc_size  total_length,
union aml_resource aml 
)

Definition at line 249 of file rsutils.c.

void acpi_rs_set_resource_length ( acpi_rsdesc_size  total_length,
union aml_resource aml 
)

Definition at line 198 of file rsutils.c.

acpi_rsdesc_size acpi_rs_set_resource_source ( union aml_resource aml,
acpi_rs_length  minimum_length,
struct acpi_resource_source resource_source 
)

Definition at line 403 of file rsutils.c.

acpi_status acpi_rs_set_srs_method_data ( struct acpi_namespace_node node,
struct acpi_buffer in_buffer 
)

Definition at line 717 of file rsutils.c.