Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
fujitsu-tablet.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/dmi.h>

Go to the source code of this file.

Data Structures

struct  fujitsu_config
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define MODULENAME   "fujitsu-tablet"
 
#define ACPI_FUJITSU_CLASS   "fujitsu"
 
#define INVERT_TABLET_MODE_BIT   0x01
 
#define INVERT_DOCK_STATE_BIT   0x02
 
#define FORCE_TABLET_MODE_IF_UNDOCK   0x04
 
#define KEYMAP_LEN   16
 

Functions

 module_init (fujitsu_module_init)
 
 module_exit (fujitsu_module_exit)
 
 MODULE_AUTHOR ("Robert Gerlach <[email protected]>")
 
 MODULE_DESCRIPTION ("Fujitsu tablet pc extras driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("2.5")
 
 MODULE_DEVICE_TABLE (acpi, fujitsu_ids)
 

Macro Definition Documentation

#define ACPI_FUJITSU_CLASS   "fujitsu"

Definition at line 36 of file fujitsu-tablet.c.

#define FORCE_TABLET_MODE_IF_UNDOCK   0x04

Definition at line 40 of file fujitsu-tablet.c.

#define INVERT_DOCK_STATE_BIT   0x02

Definition at line 39 of file fujitsu-tablet.c.

#define INVERT_TABLET_MODE_BIT   0x01

Definition at line 38 of file fujitsu-tablet.c.

#define KEYMAP_LEN   16

Definition at line 42 of file fujitsu-tablet.c.

#define MODULENAME   "fujitsu-tablet"

Definition at line 34 of file fujitsu-tablet.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 19 of file fujitsu-tablet.c.

Function Documentation

MODULE_AUTHOR ( "Robert Gerlach <[email protected]>"  )
MODULE_DESCRIPTION ( "Fujitsu tablet pc extras driver )
MODULE_DEVICE_TABLE ( acpi  ,
fujitsu_ids   
)
module_exit ( fujitsu_module_exit  )
module_init ( fujitsu_module_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.5"  )

Variable Documentation

Definition at line 133 of file fujitsu-tablet.c.

struct input_dev* idev

Definition at line 132 of file fujitsu-tablet.c.

int io_base

Definition at line 139 of file fujitsu-tablet.c.

int io_length

Definition at line 140 of file fujitsu-tablet.c.

int irq

Definition at line 138 of file fujitsu-tablet.c.

char phys[21]

Definition at line 136 of file fujitsu-tablet.c.

unsigned long prev_keymask

Definition at line 134 of file fujitsu-tablet.c.