Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
streamzap.c File Reference
#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <media/rc-core.h>

Go to the source code of this file.

Data Structures

struct  streamzap_ir
 

Macros

#define DRIVER_VERSION   "1.61"
 
#define DRIVER_NAME   "streamzap"
 
#define DRIVER_DESC   "Streamzap Remote Control driver"
 
#define USB_STREAMZAP_VENDOR_ID   0x0e9c
 
#define USB_STREAMZAP_PRODUCT_ID   0x0000
 
#define SZ_PULSE_MASK   0xf0
 
#define SZ_SPACE_MASK   0x0f
 
#define SZ_TIMEOUT   0xff
 
#define SZ_RESOLUTION   256
 
#define SZ_BUF_LEN   128
 
#define load_rc5_sz_decode()   {}
 

Enumerations

enum  StreamzapDecoderState { PulseSpace, FullPulse, FullSpace, IgnorePulse }
 

Functions

 MODULE_DEVICE_TABLE (usb, streamzap_table)
 
 module_usb_driver (streamzap_driver)
 
 MODULE_AUTHOR ("Jarod Wilson <[email protected]>")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug,"Enable debugging messages")
 

Macro Definition Documentation

#define DRIVER_DESC   "Streamzap Remote Control driver"

Definition at line 43 of file streamzap.c.

#define DRIVER_NAME   "streamzap"

Definition at line 42 of file streamzap.c.

#define DRIVER_VERSION   "1.61"

Definition at line 41 of file streamzap.c.

#define load_rc5_sz_decode ( )    {}

Definition at line 76 of file streamzap.c.

#define SZ_BUF_LEN   128

Definition at line 70 of file streamzap.c.

#define SZ_PULSE_MASK   0xf0

Definition at line 64 of file streamzap.c.

#define SZ_RESOLUTION   256

Definition at line 67 of file streamzap.c.

#define SZ_SPACE_MASK   0x0f

Definition at line 65 of file streamzap.c.

#define SZ_TIMEOUT   0xff

Definition at line 66 of file streamzap.c.

#define USB_STREAMZAP_PRODUCT_ID   0x0000

Definition at line 52 of file streamzap.c.

#define USB_STREAMZAP_VENDOR_ID   0x0e9c

Definition at line 51 of file streamzap.c.

Enumeration Type Documentation

Enumerator:
PulseSpace 
FullPulse 
FullSpace 
IgnorePulse 

Definition at line 79 of file streamzap.c.

Function Documentation

MODULE_AUTHOR ( "Jarod Wilson <[email protected]>"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
streamzap_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( debug  ,
"Enable debugging messages"   
)
module_usb_driver ( streamzap_driver  )