Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ibm_rtl.c File Reference
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/dmi.h>
#include <linux/efi.h>
#include <linux/mutex.h>
#include <asm/bios_ebda.h>
#include <asm-generic/io-64-nonatomic-lo-hi.h>

Go to the source code of this file.

Data Structures

struct  ibm_rtl_table
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define RTL_ADDR_TYPE_IO   1
 
#define RTL_ADDR_TYPE_MMIO   2
 
#define RTL_CMD_ENTER_PRTM   1
 
#define RTL_CMD_EXIT_PRTM   2
 
#define RTL_SIGNATURE   0x0000005f4c54525fULL
 
#define RTL_MASK   0x000000ffffffffffULL
 
#define RTL_DEBUG(fmt,...)
 

Functions

 module_param (force, bool, 0)
 
 MODULE_PARM_DESC (force,"Force driver load, ignore DMI data")
 
 module_param (debug, bool, 0644)
 
 MODULE_PARM_DESC (debug,"Show debug output")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Keith Mannthey <[email protected]>")
 
 MODULE_AUTHOR ("Vernon Mauery <[email protected]>")
 
struct ibm_rtl_table __attribute__ ((packed))
 
 module_init (ibm_rtl_init)
 
 module_exit (ibm_rtl_exit)
 

Variables

char signature [5]
 
u8 version
 
u8 rt_status
 
u8 command
 
u8 command_status
 
u8 cmd_address_type
 
u8 cmd_granularity
 
u8 cmd_offset
 
u16 reserve1
 
u32 cmd_port_address
 
u32 cmd_port_value
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 25 of file ibm_rtl.c.

#define RTL_ADDR_TYPE_IO   1

Definition at line 50 of file ibm_rtl.c.

#define RTL_ADDR_TYPE_MMIO   2

Definition at line 51 of file ibm_rtl.c.

#define RTL_CMD_ENTER_PRTM   1

Definition at line 53 of file ibm_rtl.c.

#define RTL_CMD_EXIT_PRTM   2

Definition at line 54 of file ibm_rtl.c.

#define RTL_DEBUG (   fmt,
  ... 
)
Value:
do { \
if (debug) \
pr_info(fmt, ##__VA_ARGS__); \
} while (0)

Definition at line 75 of file ibm_rtl.c.

#define RTL_MASK   0x000000ffffffffffULL

Definition at line 73 of file ibm_rtl.c.

#define RTL_SIGNATURE   0x0000005f4c54525fULL

Definition at line 72 of file ibm_rtl.c.

Function Documentation

struct ibm_rtl_table __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

MODULE_AUTHOR ( "Keith Mannthey <[email protected]>"  )
MODULE_AUTHOR ( "Vernon Mauery <[email protected]>"  )
module_exit ( ibm_rtl_exit  )
module_init ( ibm_rtl_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( force  ,
bool  ,
 
)
module_param ( debug  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( force  ,
"Force driver  load,
ignore DMI data  
)
MODULE_PARM_DESC ( debug  ,
"Show debug output  
)

Variable Documentation

u8 cmd_address_type

Definition at line 75 of file ibm_rtl.c.

u8 cmd_granularity

Definition at line 76 of file ibm_rtl.c.

u8 cmd_offset

Definition at line 77 of file ibm_rtl.c.

u32 cmd_port_address

Definition at line 79 of file ibm_rtl.c.

u32 cmd_port_value

Definition at line 80 of file ibm_rtl.c.

Definition at line 73 of file ibm_rtl.c.

u8 command_status

Definition at line 74 of file ibm_rtl.c.

u16 reserve1

Definition at line 78 of file ibm_rtl.c.

Definition at line 72 of file ibm_rtl.c.

char signature[5]

Definition at line 70 of file ibm_rtl.c.

u8 version

Definition at line 71 of file ibm_rtl.c.