Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
ir-rc5-decoder.c File Reference
#include "rc-core-priv.h"
#include <linux/module.h>

Go to the source code of this file.

Macros

#define RC5_NBITS   14
 
#define RC5X_NBITS   20
 
#define CHECK_RC5X_NBITS   8
 
#define RC5_UNIT   888888 /* ns */
 
#define RC5_BIT_START   (1 * RC5_UNIT)
 
#define RC5_BIT_END   (1 * RC5_UNIT)
 
#define RC5X_SPACE   (4 * RC5_UNIT)
 

Enumerations

enum  rc5_state {
  STATE_INACTIVE, STATE_BIT_START, STATE_BIT_END, STATE_CHECK_RC5X,
  STATE_FINISHED
}
 

Functions

 module_init (ir_rc5_decode_init)
 
 module_exit (ir_rc5_decode_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>")
 
 MODULE_AUTHOR ("Red Hat Inc. (http://www.redhat.com)")
 
 MODULE_DESCRIPTION ("RC5(x) IR protocol decoder")
 

Macro Definition Documentation

#define CHECK_RC5X_NBITS   8

Definition at line 28 of file ir-rc5-decoder.c.

#define RC5_BIT_END   (1 * RC5_UNIT)

Definition at line 31 of file ir-rc5-decoder.c.

#define RC5_BIT_START   (1 * RC5_UNIT)

Definition at line 30 of file ir-rc5-decoder.c.

#define RC5_NBITS   14

Definition at line 26 of file ir-rc5-decoder.c.

#define RC5_UNIT   888888 /* ns */

Definition at line 29 of file ir-rc5-decoder.c.

#define RC5X_NBITS   20

Definition at line 27 of file ir-rc5-decoder.c.

#define RC5X_SPACE   (4 * RC5_UNIT)

Definition at line 32 of file ir-rc5-decoder.c.

Enumeration Type Documentation

enum rc5_state
Enumerator:
STATE_INACTIVE 
STATE_BIT_START 
STATE_BIT_END 
STATE_CHECK_RC5X 
STATE_FINISHED 

Definition at line 34 of file ir-rc5-decoder.c.

Function Documentation

MODULE_AUTHOR ( "Mauro Carvalho Chehab <[email protected]>"  )
MODULE_AUTHOR ( "Red Hat Inc. (http://www.redhat.com)"  )
MODULE_DESCRIPTION ( "RC5(x) IR protocol decoder"  )
module_exit ( ir_rc5_decode_exit  )
module_init ( ir_rc5_decode_init  )
MODULE_LICENSE ( "GPL"  )