Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
classmate-laptop.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <acpi/acpi_drivers.h>
#include <linux/backlight.h>
#include <linux/input.h>
#include <linux/rfkill.h>

Go to the source code of this file.

Data Structures

struct  cmpc_accel
 
struct  ipml200_dev
 

Macros

#define CMPC_ACCEL_DEV_STATE_CLOSED   0
 
#define CMPC_ACCEL_DEV_STATE_OPEN   1
 
#define CMPC_ACCEL_SENSITIVITY_DEFAULT   5
 
#define CMPC_ACCEL_G_SELECT_DEFAULT   0
 
#define CMPC_ACCEL_HID   "ACCE0000"
 
#define CMPC_ACCEL_HID_V4   "ACCE0001"
 
#define CMPC_TABLET_HID   "TBLT0000"
 
#define CMPC_IPML_HID   "IPML200"
 
#define CMPC_KEYS_HID   "FNBT0000"
 

Typedefs

typedef void(* input_device_init )(struct input_dev *dev)
 

Functions

 MODULE_LICENSE ("GPL")
 
 module_init (cmpc_init)
 
 module_exit (cmpc_exit)
 
 MODULE_DEVICE_TABLE (acpi, cmpc_device_ids)
 

Macro Definition Documentation

#define CMPC_ACCEL_DEV_STATE_CLOSED   0

Definition at line 38 of file classmate-laptop.c.

#define CMPC_ACCEL_DEV_STATE_OPEN   1

Definition at line 39 of file classmate-laptop.c.

#define CMPC_ACCEL_G_SELECT_DEFAULT   0

Definition at line 42 of file classmate-laptop.c.

#define CMPC_ACCEL_HID   "ACCE0000"

Definition at line 44 of file classmate-laptop.c.

#define CMPC_ACCEL_HID_V4   "ACCE0001"

Definition at line 45 of file classmate-laptop.c.

#define CMPC_ACCEL_SENSITIVITY_DEFAULT   5

Definition at line 41 of file classmate-laptop.c.

#define CMPC_IPML_HID   "IPML200"

Definition at line 47 of file classmate-laptop.c.

#define CMPC_KEYS_HID   "FNBT0000"

Definition at line 48 of file classmate-laptop.c.

#define CMPC_TABLET_HID   "TBLT0000"

Definition at line 46 of file classmate-laptop.c.

Typedef Documentation

typedef void(* input_device_init)(struct input_dev *dev)

Definition at line 54 of file classmate-laptop.c.

Function Documentation

MODULE_DEVICE_TABLE ( acpi  ,
cmpc_device_ids   
)
module_exit ( cmpc_exit  )
module_init ( cmpc_init  )
MODULE_LICENSE ( "GPL"  )