Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/serio.h>
#include <linux/init.h>
Go to the source code of this file.
Data Structures | |
struct | tr |
Macros | |
#define | DRIVER_DESC "Touchright serial touchscreen driver" |
#define | TR_FORMAT_TOUCH_BIT 0x01 |
#define | TR_FORMAT_STATUS_BYTE 0x40 |
#define | TR_FORMAT_STATUS_MASK ~TR_FORMAT_TOUCH_BIT |
#define | TR_LENGTH 5 |
#define | TR_MIN_XC 0 |
#define | TR_MAX_XC 0x1ff |
#define | TR_MIN_YC 0 |
#define | TR_MAX_YC 0x1ff |
Functions | |
MODULE_AUTHOR ("Rick Koch <[email protected]>") | |
MODULE_DESCRIPTION (DRIVER_DESC) | |
MODULE_LICENSE ("GPL") | |
MODULE_DEVICE_TABLE (serio, tr_serio_ids) | |
module_serio_driver (tr_drv) | |
Definition at line 25 of file touchright.c.
#define TR_FORMAT_STATUS_BYTE 0x40 |
Definition at line 36 of file touchright.c.
#define TR_FORMAT_STATUS_MASK ~TR_FORMAT_TOUCH_BIT |
Definition at line 37 of file touchright.c.
#define TR_FORMAT_TOUCH_BIT 0x01 |
Definition at line 35 of file touchright.c.
#define TR_LENGTH 5 |
Definition at line 39 of file touchright.c.
#define TR_MAX_XC 0x1ff |
Definition at line 42 of file touchright.c.
#define TR_MAX_YC 0x1ff |
Definition at line 44 of file touchright.c.
#define TR_MIN_XC 0 |
Definition at line 41 of file touchright.c.
#define TR_MIN_YC 0 |
Definition at line 43 of file touchright.c.
MODULE_AUTHOR | ( | "Rick Koch <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
MODULE_DEVICE_TABLE | ( | serio | , |
tr_serio_ids | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_serio_driver | ( | tr_drv | ) |