Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
grip.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/gameport.h>
#include <linux/input.h>
#include <linux/jiffies.h>

Go to the source code of this file.

Data Structures

struct  grip
 

Macros

#define DRIVER_DESC   "Gravis GrIP protocol joystick driver"
 
#define GRIP_MODE_GPP   1
 
#define GRIP_MODE_BD   2
 
#define GRIP_MODE_XT   3
 
#define GRIP_MODE_DC   4
 
#define GRIP_LENGTH_GPP   24
 
#define GRIP_STROBE_GPP   200 /* 200 us */
 
#define GRIP_LENGTH_XT   4
 
#define GRIP_STROBE_XT   64 /* 64 us */
 
#define GRIP_MAX_CHUNKS_XT   10
 
#define GRIP_MAX_BITS_XT   30
 

Functions

 MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 module_gameport_driver (grip_drv)
 

Macro Definition Documentation

#define DRIVER_DESC   "Gravis GrIP protocol joystick driver"

Definition at line 37 of file grip.c.

#define GRIP_LENGTH_GPP   24

Definition at line 48 of file grip.c.

#define GRIP_LENGTH_XT   4

Definition at line 50 of file grip.c.

#define GRIP_MAX_BITS_XT   30

Definition at line 53 of file grip.c.

#define GRIP_MAX_CHUNKS_XT   10

Definition at line 52 of file grip.c.

#define GRIP_MODE_BD   2

Definition at line 44 of file grip.c.

#define GRIP_MODE_DC   4

Definition at line 46 of file grip.c.

#define GRIP_MODE_GPP   1

Definition at line 43 of file grip.c.

#define GRIP_MODE_XT   3

Definition at line 45 of file grip.c.

#define GRIP_STROBE_GPP   200 /* 200 us */

Definition at line 49 of file grip.c.

#define GRIP_STROBE_XT   64 /* 64 us */

Definition at line 51 of file grip.c.

Function Documentation

MODULE_AUTHOR ( "Vojtech Pavlik <[email protected]>"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_gameport_driver ( grip_drv  )
MODULE_LICENSE ( "GPL"  )