Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tps6507x-ts.c File Reference
#include <linux/module.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/mfd/tps6507x.h>
#include <linux/input/tps6507x-ts.h>
#include <linux/delay.h>

Go to the source code of this file.

Data Structures

struct  ts_event
 
struct  tps6507x_ts
 

Macros

#define TSC_DEFAULT_POLL_PERIOD   30 /* ms */
 
#define TPS_DEFAULT_MIN_PRESSURE   0x30
 
#define MAX_10BIT   ((1 << 10) - 1)
 
#define TPS6507X_ADCONFIG_CONVERT_TS
 
#define TPS6507X_ADCONFIG_POWER_DOWN_TS   (TPS6507X_ADCONFIG_INPUT_REAL_TSC)
 

Functions

 module_platform_driver (tps6507x_ts_driver)
 
 MODULE_AUTHOR ("Todd Fischer <[email protected]>")
 
 MODULE_DESCRIPTION ("TPS6507x - TouchScreen driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("platform:tps6507x-ts")
 

Macro Definition Documentation

#define MAX_10BIT   ((1 << 10) - 1)

Definition at line 27 of file tps6507x-ts.c.

#define TPS6507X_ADCONFIG_CONVERT_TS
Value:
TPS6507X_ADCONFIG_START_CONVERSION | \
TPS6507X_ADCONFIG_INPUT_REAL_TSC)

Definition at line 29 of file tps6507x-ts.c.

#define TPS6507X_ADCONFIG_POWER_DOWN_TS   (TPS6507X_ADCONFIG_INPUT_REAL_TSC)

Definition at line 32 of file tps6507x-ts.c.

#define TPS_DEFAULT_MIN_PRESSURE   0x30

Definition at line 26 of file tps6507x-ts.c.

#define TSC_DEFAULT_POLL_PERIOD   30 /* ms */

Definition at line 25 of file tps6507x-ts.c.

Function Documentation

MODULE_ALIAS ( "platform:tps6507x-ts )
MODULE_AUTHOR ( "Todd Fischer <[email protected]>"  )
MODULE_DESCRIPTION ( "TPS6507x - TouchScreen driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( tps6507x_ts_driver  )