Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
acpi_ipmi.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <linux/ipmi.h>
#include <linux/device.h>
#include <linux/pnp.h>

Go to the source code of this file.

Data Structures

struct  acpi_ipmi_device
 
struct  ipmi_driver_data
 
struct  acpi_ipmi_msg
 
struct  acpi_ipmi_buffer
 

Macros

#define IPMI_FLAGS_HANDLER_INSTALL   0
 
#define ACPI_IPMI_OK   0
 
#define ACPI_IPMI_TIMEOUT   0x10
 
#define ACPI_IPMI_UNKNOWN   0x07
 
#define IPMI_TIMEOUT   (5 * HZ)
 
#define IPMI_OP_RGN_NETFN(offset)   ((offset >> 8) & 0xff)
 
#define IPMI_OP_RGN_CMD(offset)   (offset & 0xff)
 

Functions

 MODULE_AUTHOR ("Zhao Yakui")
 
 MODULE_DESCRIPTION ("ACPI IPMI Opregion driver")
 
 MODULE_LICENSE ("GPL")
 
 module_init (acpi_ipmi_init)
 
 module_exit (acpi_ipmi_exit)
 

Macro Definition Documentation

#define ACPI_IPMI_OK   0

Definition at line 49 of file acpi_ipmi.c.

#define ACPI_IPMI_TIMEOUT   0x10

Definition at line 50 of file acpi_ipmi.c.

#define ACPI_IPMI_UNKNOWN   0x07

Definition at line 51 of file acpi_ipmi.c.

#define IPMI_FLAGS_HANDLER_INSTALL   0

Definition at line 47 of file acpi_ipmi.c.

#define IPMI_OP_RGN_CMD (   offset)    (offset & 0xff)

Definition at line 142 of file acpi_ipmi.c.

#define IPMI_OP_RGN_NETFN (   offset)    ((offset >> 8) & 0xff)

Definition at line 141 of file acpi_ipmi.c.

#define IPMI_TIMEOUT   (5 * HZ)

Definition at line 53 of file acpi_ipmi.c.

Function Documentation

MODULE_AUTHOR ( "Zhao Yakui"  )
MODULE_DESCRIPTION ( "ACPI IPMI Opregion driver )
module_exit ( acpi_ipmi_exit  )
module_init ( acpi_ipmi_init  )
MODULE_LICENSE ( "GPL"  )