Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
apanel.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/input-polldev.h>
#include <linux/i2c.h>
#include <linux/workqueue.h>
#include <linux/leds.h>

Go to the source code of this file.

Data Structures

struct  apanel
 

Macros

#define APANEL_NAME   "Fujitsu Application Panel"
 
#define APANEL_VERSION   "1.3.1"
 
#define APANEL   "apanel"
 
#define POLL_INTERVAL_DEFAULT   1000
 
#define MAX_PANEL_KEYS   12
 

Enumerations

enum  apanel_devid {
  APANEL_DEV_NONE = 0, APANEL_DEV_APPBTN = 1, APANEL_DEV_CDBTN = 2, APANEL_DEV_LCD = 3,
  APANEL_DEV_LED = 4, APANEL_DEV_MAX
}
 
enum  apanel_chip { CHIP_NONE = 0, CHIP_OZ992C = 1, CHIP_OZ163T = 2, CHIP_OZ711M3 = 4 }
 

Functions

 MODULE_DEVICE_TABLE (i2c, apanel_id)
 
 module_init (apanel_init)
 
 module_exit (apanel_cleanup)
 
 MODULE_AUTHOR ("Stephen Hemminger <[email protected]>")
 
 MODULE_DESCRIPTION (APANEL_NAME" driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (APANEL_VERSION)
 
 MODULE_ALIAS ("dmi:*:svnFUJITSU:pnLifeBook*:pvr*:rvnFUJITSU:*")
 
 MODULE_ALIAS ("dmi:*:svnFUJITSU:pnLifebook*:pvr*:rvnFUJITSU:*")
 

Macro Definition Documentation

#define APANEL   "apanel"

Definition at line 30 of file apanel.c.

#define APANEL_NAME   "Fujitsu Application Panel"

Definition at line 28 of file apanel.c.

#define APANEL_VERSION   "1.3.1"

Definition at line 29 of file apanel.c.

#define MAX_PANEL_KEYS   12

Definition at line 56 of file apanel.c.

#define POLL_INTERVAL_DEFAULT   1000

Definition at line 33 of file apanel.c.

Enumeration Type Documentation

Enumerator:
CHIP_NONE 
CHIP_OZ992C 
CHIP_OZ163T 
CHIP_OZ711M3 

Definition at line 46 of file apanel.c.

Enumerator:
APANEL_DEV_NONE 
APANEL_DEV_APPBTN 
APANEL_DEV_CDBTN 
APANEL_DEV_LCD 
APANEL_DEV_LED 
APANEL_DEV_MAX 

Definition at line 36 of file apanel.c.

Function Documentation

MODULE_ALIAS ( "dmi:*:svnFUJITSU:pnLifeBook*:pvr*:rvnFUJITSU:*"  )
MODULE_ALIAS ( "dmi:*:svnFUJITSU:pnLifebook*:pvr*:rvnFUJITSU:*"  )
MODULE_AUTHOR ( "Stephen Hemminger <[email protected]>"  )
MODULE_DESCRIPTION ( APANEL_NAME" driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
apanel_id   
)
module_exit ( apanel_cleanup  )
module_init ( apanel_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( APANEL_VERSION  )