Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
iris.c File Reference
#include <linux/moduleparam.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/pm.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define IRIS_GIO_BASE   0x340
 
#define IRIS_GIO_INPUT   IRIS_GIO_BASE
 
#define IRIS_GIO_OUTPUT   (IRIS_GIO_BASE + 1)
 
#define IRIS_GIO_PULSE   0x80 /* First byte to send */
 
#define IRIS_GIO_REST   0x00 /* Second byte to send */
 
#define IRIS_GIO_NODEV   0xff /* Likely not an Iris */
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Sébastien Hinderer <[email protected]>")
 
 MODULE_DESCRIPTION ("A power_off handler for Iris devices from EuroBraille")
 
 MODULE_SUPPORTED_DEVICE ("Eurobraille/Iris")
 
 module_param (force, bool, 0)
 
 MODULE_PARM_DESC (force,"Set to one to force poweroff handler installation.")
 
 module_init (iris_init)
 
 module_exit (iris_exit)
 

Macro Definition Documentation

#define IRIS_GIO_BASE   0x340

Definition at line 33 of file iris.c.

#define IRIS_GIO_INPUT   IRIS_GIO_BASE

Definition at line 34 of file iris.c.

#define IRIS_GIO_NODEV   0xff /* Likely not an Iris */

Definition at line 38 of file iris.c.

#define IRIS_GIO_OUTPUT   (IRIS_GIO_BASE + 1)

Definition at line 35 of file iris.c.

#define IRIS_GIO_PULSE   0x80 /* First byte to send */

Definition at line 36 of file iris.c.

#define IRIS_GIO_REST   0x00 /* Second byte to send */

Definition at line 37 of file iris.c.

Function Documentation

MODULE_AUTHOR ( "Sébastien Hinderer <[email protected]>"  )
MODULE_DESCRIPTION ( "A power_off handler for Iris devices from EuroBraille"  )
module_exit ( iris_exit  )
module_init ( iris_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( force  ,
bool  ,
 
)
MODULE_PARM_DESC ( force  ,
"Set to one to force poweroff handler installation."   
)
MODULE_SUPPORTED_DEVICE ( "Eurobraille/Iris"  )