|
Linux Kernel
3.7.1
|
#include <linux/delay.h>#include <linux/module.h>#include <linux/slab.h>#include <linux/interrupt.h>#include <linux/input.h>#include <linux/serio.h>#include <linux/init.h>Go to the source code of this file.
Data Structures | |
| struct | vsxxxaa |
Macros | |
| #define | DRIVER_DESC "Driver for DEC VSXXX-AA and -GA mice and VSXXX-AB tablet" |
| #define | DBG(x...) do {} while (0) |
| #define | VSXXXAA_INTRO_MASK 0x80 |
| #define | VSXXXAA_INTRO_HEAD 0x80 |
| #define | IS_HDR_BYTE(x) (((x) & VSXXXAA_INTRO_MASK) == VSXXXAA_INTRO_HEAD) |
| #define | VSXXXAA_PACKET_MASK 0xe0 |
| #define | VSXXXAA_PACKET_REL 0x80 |
| #define | VSXXXAA_PACKET_ABS 0xc0 |
| #define | VSXXXAA_PACKET_POR 0xa0 |
| #define | MATCH_PACKET_TYPE(data, type) (((data) & VSXXXAA_PACKET_MASK) == (type)) |
| #define | BUFLEN 15 /* At least 5 is needed for a full tablet packet */ |
Functions | |
| MODULE_AUTHOR ("Jan-Benedict Glaw <[email protected]>") | |
| MODULE_DESCRIPTION (DRIVER_DESC) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DEVICE_TABLE (serio, vsxxaa_serio_ids) | |
| module_serio_driver (vsxxxaa_drv) | |
| #define IS_HDR_BYTE | ( | x | ) | (((x) & VSXXXAA_INTRO_MASK) == VSXXXAA_INTRO_HEAD) |
| #define MATCH_PACKET_TYPE | ( | data, | |
| type | |||
| ) | (((data) & VSXXXAA_PACKET_MASK) == (type)) |
| MODULE_AUTHOR | ( | "Jan-Benedict Glaw <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
| MODULE_DEVICE_TABLE | ( | serio | , |
| vsxxaa_serio_ids | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_serio_driver | ( | vsxxxaa_drv | ) |
1.8.2