Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb/input.h>
Go to the source code of this file.
Data Structures | |
struct | keyspan_message |
struct | bit_tester |
struct | usb_keyspan |
Macros | |
#define | DRIVER_VERSION "v0.1" |
#define | DRIVER_AUTHOR "Michael Downey <[email protected]>" |
#define | DRIVER_DESC "Driver for the USB Keyspan remote control." |
#define | DRIVER_LICENSE "GPL" |
#define | USB_KEYSPAN_VENDOR_ID 0x06CD |
#define | USB_KEYSPAN_PRODUCT_UIA11 0x0202 |
#define | ZERO 0x18 |
#define | ZERO_MASK 0x1F /* 5 bits for a 0 */ |
#define | ONE 0x3C |
#define | ONE_MASK 0x3F /* 6 bits for a 1 */ |
#define | SYNC 0x3F80 |
#define | SYNC_MASK 0x3FFF /* 14 bits for a SYNC sequence */ |
#define | STOP 0x00 |
#define | STOP_MASK 0x1F /* 5 bits for the STOP sequence */ |
#define | GAP 0xFF |
#define | RECV_SIZE 8 /* The UIA-11 type have a 8 byte limit. */ |
Functions | |
module_param (debug, int, 0444) | |
MODULE_PARM_DESC (debug,"Enable extra debug messages and information") | |
module_usb_driver (keyspan_driver) | |
MODULE_DEVICE_TABLE (usb, keyspan_table) | |
MODULE_AUTHOR (DRIVER_AUTHOR) | |
MODULE_DESCRIPTION (DRIVER_DESC) | |
MODULE_LICENSE (DRIVER_LICENSE) | |
#define DRIVER_AUTHOR "Michael Downey <[email protected]>" |
Definition at line 22 of file keyspan_remote.c.
Definition at line 23 of file keyspan_remote.c.
#define DRIVER_LICENSE "GPL" |
Definition at line 24 of file keyspan_remote.c.
#define DRIVER_VERSION "v0.1" |
Definition at line 21 of file keyspan_remote.c.
#define GAP 0xFF |
Definition at line 44 of file keyspan_remote.c.
#define ONE 0x3C |
Definition at line 38 of file keyspan_remote.c.
#define ONE_MASK 0x3F /* 6 bits for a 1 */ |
Definition at line 39 of file keyspan_remote.c.
Definition at line 46 of file keyspan_remote.c.
#define STOP 0x00 |
Definition at line 42 of file keyspan_remote.c.
#define STOP_MASK 0x1F /* 5 bits for the STOP sequence */ |
Definition at line 43 of file keyspan_remote.c.
#define SYNC 0x3F80 |
Definition at line 40 of file keyspan_remote.c.
#define SYNC_MASK 0x3FFF /* 14 bits for a SYNC sequence */ |
Definition at line 41 of file keyspan_remote.c.
#define USB_KEYSPAN_PRODUCT_UIA11 0x0202 |
Definition at line 33 of file keyspan_remote.c.
#define USB_KEYSPAN_VENDOR_ID 0x06CD |
Definition at line 32 of file keyspan_remote.c.
#define ZERO 0x18 |
Definition at line 36 of file keyspan_remote.c.
#define ZERO_MASK 0x1F /* 5 bits for a 0 */ |
Definition at line 37 of file keyspan_remote.c.
MODULE_AUTHOR | ( | DRIVER_AUTHOR | ) |
MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
MODULE_DEVICE_TABLE | ( | usb | , |
keyspan_table | |||
) |
MODULE_LICENSE | ( | DRIVER_LICENSE | ) |
module_usb_driver | ( | keyspan_driver | ) |