Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
utils.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/types.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include "internal.h"

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_BUS_COMPONENT
 

Functions

 ACPI_MODULE_NAME ("utils")
 
acpi_status acpi_extract_package (union acpi_object *package, struct acpi_buffer *format, struct acpi_buffer *buffer)
 
 EXPORT_SYMBOL (acpi_extract_package)
 
acpi_status acpi_evaluate_integer (acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, unsigned long long *data)
 
 EXPORT_SYMBOL (acpi_evaluate_integer)
 
acpi_status acpi_evaluate_reference (acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list)
 
 EXPORT_SYMBOL (acpi_evaluate_reference)
 
acpi_status acpi_get_physical_device_location (acpi_handle handle, struct acpi_pld_info **pld)
 
 EXPORT_SYMBOL (acpi_get_physical_device_location)
 
acpi_status acpi_evaluate_hotplug_ost (acpi_handle handle, u32 source_event, u32 status_code, struct acpi_buffer *status_buf)
 
 EXPORT_SYMBOL (acpi_evaluate_hotplug_ost)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_BUS_COMPONENT

Definition at line 36 of file utils.c.

Function Documentation

acpi_status acpi_evaluate_hotplug_ost ( acpi_handle  handle,
u32  source_event,
u32  status_code,
struct acpi_buffer status_buf 
)

acpi_evaluate_hotplug_ost: Evaluate _OST for hotplug operations : ACPI device handle : source event code : status code : optional detailed information (NULL if none)

Evaluate _OST for hotplug operations. All ACPI hotplug handlers must call this function when evaluating _OST for hotplug operations. When the platform does not support _OST, this function has no effect.

Definition at line 431 of file utils.c.

acpi_status acpi_evaluate_integer ( acpi_handle  handle,
acpi_string  pathname,
struct acpi_object_list arguments,
unsigned long long data 
)

Definition at line 260 of file utils.c.

acpi_status acpi_evaluate_reference ( acpi_handle  handle,
acpi_string  pathname,
struct acpi_object_list arguments,
struct acpi_handle_list list 
)

Definition at line 294 of file utils.c.

acpi_status acpi_extract_package ( union acpi_object package,
struct acpi_buffer format,
struct acpi_buffer buffer 
)

Definition at line 57 of file utils.c.

acpi_status acpi_get_physical_device_location ( acpi_handle  handle,
struct acpi_pld_info **  pld 
)

Definition at line 387 of file utils.c.

ACPI_MODULE_NAME ( "utils"  )
EXPORT_SYMBOL ( acpi_extract_package  )
EXPORT_SYMBOL ( acpi_evaluate_integer  )
EXPORT_SYMBOL ( acpi_evaluate_reference  )
EXPORT_SYMBOL ( acpi_get_physical_device_location  )
EXPORT_SYMBOL ( acpi_evaluate_hotplug_ost  )