Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pcap_ts.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/pm.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/mfd/ezx-pcap.h>

Go to the source code of this file.

Data Structures

struct  pcap_ts
 

Macros

#define SAMPLE_DELAY   20 /* msecs */
 
#define X_AXIS_MIN   0
 
#define X_AXIS_MAX   1023
 
#define Y_AXIS_MAX   X_AXIS_MAX
 
#define Y_AXIS_MIN   X_AXIS_MIN
 
#define PRESSURE_MAX   X_AXIS_MAX
 
#define PRESSURE_MIN   X_AXIS_MIN
 
#define PCAP_TS_PM_OPS   NULL
 

Functions

 module_platform_driver (pcap_ts_driver)
 
 MODULE_DESCRIPTION ("Motorola PCAP2 touchscreen driver")
 
 MODULE_AUTHOR ("Daniel Ribeiro / Harald Welte")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:pcap_ts")
 

Macro Definition Documentation

#define PCAP_TS_PM_OPS   NULL

Definition at line 243 of file pcap_ts.c.

#define PRESSURE_MAX   X_AXIS_MAX

Definition at line 40 of file pcap_ts.c.

#define PRESSURE_MIN   X_AXIS_MIN

Definition at line 41 of file pcap_ts.c.

#define SAMPLE_DELAY   20 /* msecs */

Definition at line 34 of file pcap_ts.c.

#define X_AXIS_MAX   1023

Definition at line 37 of file pcap_ts.c.

#define X_AXIS_MIN   0

Definition at line 36 of file pcap_ts.c.

#define Y_AXIS_MAX   X_AXIS_MAX

Definition at line 38 of file pcap_ts.c.

#define Y_AXIS_MIN   X_AXIS_MIN

Definition at line 39 of file pcap_ts.c.

Function Documentation

MODULE_ALIAS ( "platform:pcap_ts"  )
MODULE_AUTHOR ( "Daniel Ribeiro / Harald Welte"  )
MODULE_DESCRIPTION ( "Motorola PCAP2 touchscreen driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( pcap_ts_driver  )