Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/timer.h>
#include <linux/gpio.h>
#include <linux/input/eeti_ts.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | eeti_ts_priv |
Macros | |
#define | EETI_TS_BITDEPTH (11) |
#define | EETI_MAXVAL ((1 << (EETI_TS_BITDEPTH + 1)) - 1) |
#define | REPORT_BIT_PRESSED (1 << 0) |
#define | REPORT_BIT_AD0 (1 << 1) |
#define | REPORT_BIT_AD1 (1 << 2) |
#define | REPORT_BIT_HAS_PRESSURE (1 << 6) |
#define | REPORT_RES_BITS(v) (((v) >> 1) + EETI_TS_BITDEPTH) |
Functions | |
module_param (flip_x, bool, 0644) | |
MODULE_PARM_DESC (flip_x,"flip x coordinate") | |
module_param (flip_y, bool, 0644) | |
MODULE_PARM_DESC (flip_y,"flip y coordinate") | |
MODULE_DEVICE_TABLE (i2c, eeti_ts_id) | |
module_i2c_driver (eeti_ts_driver) | |
MODULE_DESCRIPTION ("EETI Touchscreen driver") | |
MODULE_AUTHOR ("Daniel Mack <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
#define EETI_MAXVAL ((1 << (EETI_TS_BITDEPTH + 1)) - 1) |
#define REPORT_RES_BITS | ( | v | ) | (((v) >> 1) + EETI_TS_BITDEPTH) |
MODULE_AUTHOR | ( | "Daniel Mack <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "EETI Touchscreen driver" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
eeti_ts_id | |||
) |
module_i2c_driver | ( | eeti_ts_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | flip_x | , |
bool | , | ||
0644 | |||
) |
module_param | ( | flip_y | , |
bool | , | ||
0644 | |||
) |
MODULE_PARM_DESC | ( | flip_x | , |
"flip x coordinate" | |||
) |
MODULE_PARM_DESC | ( | flip_y | , |
"flip y coordinate" | |||
) |