|
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/mutex.h>#include <linux/usb/input.h>#include <linux/wait.h>#include <linux/jiffies.h>#include <media/rc-core.h>Go to the source code of this file.
Data Structures | |
| struct | ati_receiver_type |
| struct | ati_remote |
Macros | |
| #define | ATI_REMOTE_VENDOR_ID 0x0bc7 |
| #define | LOLA_REMOTE_PRODUCT_ID 0x0002 |
| #define | LOLA2_REMOTE_PRODUCT_ID 0x0003 |
| #define | ATI_REMOTE_PRODUCT_ID 0x0004 |
| #define | NVIDIA_REMOTE_PRODUCT_ID 0x0005 |
| #define | MEDION_REMOTE_PRODUCT_ID 0x0006 |
| #define | FIREFLY_REMOTE_PRODUCT_ID 0x0008 |
| #define | DRIVER_VERSION "2.2.1" |
| #define | DRIVER_AUTHOR "Torrey Hoffman <[email protected]>" |
| #define | DRIVER_DESC "ATI/X10 RF USB Remote Control" |
| #define | NAME_BUFSIZE 80 /* size of product name, path buffers */ |
| #define | DATA_BUFSIZE 63 /* size of URB data buffers */ |
| #define | FILTER_TIME 60 /* msec */ |
| #define | REPEAT_DELAY 500 /* msec */ |
| #define | dbginfo(dev, format, arg...) do { if (debug) dev_info(dev , format , ## arg); } while (0) |
| #define | err(format, arg...) printk(KERN_ERR format , ## arg) |
| #define | HI(a) ((unsigned char)((a) >> 8)) |
| #define | LO(a) ((unsigned char)((a) & 0xff)) |
| #define | SEND_FLAG_IN_PROGRESS 1 |
| #define | SEND_FLAG_COMPLETE 2 |
| #define | KIND_END 0 |
| #define | KIND_LITERAL 1 /* Simply pass to input system */ |
| #define | KIND_FILTERED 2 /* Add artificial key-up events, drop keyrepeats */ |
| #define | KIND_LU 3 /* Directional keypad diagonals - left up, */ |
| #define | KIND_RU 4 /* right up, */ |
| #define | KIND_LD 5 /* left down, */ |
| #define | KIND_RD 6 /* right down */ |
| #define | KIND_ACCEL 7 /* Directional keypad - left, right, up, down.*/ |
Functions | |
| module_param (channel_mask, ulong, 0644) | |
| MODULE_PARM_DESC (channel_mask,"Bitmask of remote control channels to ignore") | |
| module_param (debug, int, 0644) | |
| MODULE_PARM_DESC (debug,"Enable extra debug messages and information") | |
| module_param (repeat_filter, int, 0644) | |
| MODULE_PARM_DESC (repeat_filter,"Repeat filter time, default = 60 msec") | |
| module_param (repeat_delay, int, 0644) | |
| MODULE_PARM_DESC (repeat_delay,"Delay before sending repeats, default = 500 msec") | |
| module_param (mouse, bool, 0444) | |
| MODULE_PARM_DESC (mouse,"Enable mouse device, default = yes") | |
| MODULE_DEVICE_TABLE (usb, ati_remote_table) | |
| module_usb_driver (ati_remote_driver) | |
| MODULE_AUTHOR (DRIVER_AUTHOR) | |
| MODULE_DESCRIPTION (DRIVER_DESC) | |
| MODULE_LICENSE ("GPL") | |
Variables | |
| struct ati_receiver_type | __attribute__ |
| #define ATI_REMOTE_PRODUCT_ID 0x0004 |
Definition at line 107 of file ati_remote.c.
| #define ATI_REMOTE_VENDOR_ID 0x0bc7 |
Definition at line 104 of file ati_remote.c.
Definition at line 117 of file ati_remote.c.
| #define dbginfo | ( | dev, | |
| format, | |||
| arg... | |||
| ) | do { if (debug) dev_info(dev , format , ## arg); } while (0) |
Definition at line 150 of file ati_remote.c.
| #define DRIVER_AUTHOR "Torrey Hoffman <[email protected]>" |
Definition at line 113 of file ati_remote.c.
Definition at line 114 of file ati_remote.c.
| #define DRIVER_VERSION "2.2.1" |
Definition at line 112 of file ati_remote.c.
Definition at line 153 of file ati_remote.c.
| #define FILTER_TIME 60 /* msec */ |
Definition at line 127 of file ati_remote.c.
| #define FIREFLY_REMOTE_PRODUCT_ID 0x0008 |
Definition at line 110 of file ati_remote.c.
Definition at line 236 of file ati_remote.c.
Definition at line 288 of file ati_remote.c.
| #define KIND_END 0 |
Definition at line 281 of file ati_remote.c.
Definition at line 283 of file ati_remote.c.
Definition at line 286 of file ati_remote.c.
Definition at line 282 of file ati_remote.c.
Definition at line 284 of file ati_remote.c.
Definition at line 287 of file ati_remote.c.
Definition at line 285 of file ati_remote.c.
Definition at line 237 of file ati_remote.c.
| #define LOLA2_REMOTE_PRODUCT_ID 0x0003 |
Definition at line 106 of file ati_remote.c.
| #define LOLA_REMOTE_PRODUCT_ID 0x0002 |
Definition at line 105 of file ati_remote.c.
| #define MEDION_REMOTE_PRODUCT_ID 0x0006 |
Definition at line 109 of file ati_remote.c.
Definition at line 116 of file ati_remote.c.
| #define NVIDIA_REMOTE_PRODUCT_ID 0x0005 |
Definition at line 108 of file ati_remote.c.
| #define REPEAT_DELAY 500 /* msec */ |
Definition at line 128 of file ati_remote.c.
| #define SEND_FLAG_COMPLETE 2 |
Definition at line 240 of file ati_remote.c.
| #define SEND_FLAG_IN_PROGRESS 1 |
Definition at line 239 of file ati_remote.c.
| MODULE_AUTHOR | ( | DRIVER_AUTHOR | ) |
| MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
| MODULE_DEVICE_TABLE | ( | usb | , |
| ati_remote_table | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | channel_mask | , |
| ulong | , | ||
| 0644 | |||
| ) |
| module_param | ( | repeat_filter | , |
| int | , | ||
| 0644 | |||
| ) |
| module_param | ( | repeat_delay | , |
| int | , | ||
| 0644 | |||
| ) |
| module_param | ( | mouse | , |
| bool | , | ||
| 0444 | |||
| ) |
| MODULE_PARM_DESC | ( | repeat_filter | , |
| "Repeat filter | time | ||
| ) |
| MODULE_PARM_DESC | ( | repeat_delay | , |
| "Delay before sending | repeats | ||
| ) |
| MODULE_PARM_DESC | ( | mouse | , |
| "Enable mouse | device | ||
| ) |
| module_usb_driver | ( | ati_remote_driver | ) |
Definition at line 295 of file ati_remote.c.
Definition at line 293 of file ati_remote.c.
| short kind |
Definition at line 292 of file ati_remote.c.
Definition at line 294 of file ati_remote.c.
| int value |
Definition at line 296 of file ati_remote.c.
1.8.2