Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wistron_btns.c File Reference
#include <linux/io.h>
#include <linux/dmi.h>
#include <linux/init.h>
#include <linux/input-polldev.h>
#include <linux/input/sparse-keymap.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/mc146818rtc.h>
#include <linux/module.h>
#include <linux/preempt.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/leds.h>

Go to the source code of this file.

Data Structures

struct  regs
 

Macros

#define POLL_INTERVAL_DEFAULT   500 /* when idle */
 
#define POLL_INTERVAL_BURST   100 /* when a key was recently pressed */
 
#define WIFI   0x35
 
#define BLUETOOTH   0x34
 
#define MAIL_LED   0x31
 
#define KE_WIFI   (KE_LAST + 1)
 
#define KE_BLUETOOTH   (KE_LAST + 2)
 
#define FE_MAIL_LED   0x01
 
#define FE_WIFI_LED   0x02
 
#define FE_UNTESTED   0x80
 

Functions

 MODULE_AUTHOR ("Miloslav Trmac <[email protected]>")
 
 MODULE_DESCRIPTION ("Wistron laptop button driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_VERSION ("0.3")
 
 module_param (force, bool, 0)
 
 MODULE_PARM_DESC (force,"Load even if computer is not in database")
 
 module_param_named (keymap, keymap_name, charp, 0)
 
 MODULE_PARM_DESC (keymap,"Keymap name, if it can't be autodetected [generic, 1557/MS2141]")
 
 module_init (wb_module_init)
 
 module_exit (wb_module_exit)
 

Macro Definition Documentation

#define BLUETOOTH   0x34

Definition at line 43 of file wistron_btns.c.

#define FE_MAIL_LED   0x01

Definition at line 232 of file wistron_btns.c.

#define FE_UNTESTED   0x80

Definition at line 234 of file wistron_btns.c.

#define FE_WIFI_LED   0x02

Definition at line 233 of file wistron_btns.c.

#define KE_BLUETOOTH   (KE_LAST + 2)

Definition at line 230 of file wistron_btns.c.

#define KE_WIFI   (KE_LAST + 1)

Definition at line 229 of file wistron_btns.c.

#define MAIL_LED   0x31

Definition at line 44 of file wistron_btns.c.

#define POLL_INTERVAL_BURST   100 /* when a key was recently pressed */

Definition at line 39 of file wistron_btns.c.

#define POLL_INTERVAL_DEFAULT   500 /* when idle */

Definition at line 38 of file wistron_btns.c.

#define WIFI   0x35

Definition at line 42 of file wistron_btns.c.

Function Documentation

MODULE_AUTHOR ( "Miloslav Trmac <[email protected]>"  )
MODULE_DESCRIPTION ( "Wistron laptop button driver )
module_exit ( wb_module_exit  )
module_init ( wb_module_init  )
MODULE_LICENSE ( "GPL v2 )
module_param ( force  ,
bool  ,
 
)
module_param_named ( keymap  ,
keymap_name  ,
charp  ,
 
)
MODULE_PARM_DESC ( force  ,
"Load even if computer is not in database"   
)
MODULE_PARM_DESC ( keymap  ,
"Keymap  name,
if it can't be autodetected"  [generic, 1557/MS2141] 
)
MODULE_VERSION ( "0.3"  )