Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lirc_imon.c File Reference
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <media/lirc.h>
#include <media/lirc_dev.h>

Go to the source code of this file.

Data Structures

struct  imon_context
 
struct  imon_context::rx_data
 
struct  imon_context::tx_t
 

Macros

#define MOD_AUTHOR   "Venky Raju <dev@venky.ws>"
 
#define MOD_DESC   "Driver for SoundGraph iMON MultiMedia IR/Display"
 
#define MOD_NAME   "lirc_imon"
 
#define MOD_VERSION   "0.8"
 
#define DISPLAY_MINOR_BASE   144
 
#define DEVICE_NAME   "lcd%d"
 
#define BUF_CHUNK_SIZE   4
 
#define BUF_SIZE   128
 
#define BIT_DURATION   250 /* each bit received is 250us */
 
#define IMON_DATA_BUF_SZ   35
 

Functions

 MODULE_AUTHOR (MOD_AUTHOR)
 
 MODULE_DESCRIPTION (MOD_DESC)
 
 MODULE_VERSION (MOD_VERSION)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, imon_usb_id_table)
 
 module_param (debug, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug,"Debug messages: 0=no, 1=yes(default: no)")
 
 module_usb_driver (imon_driver)
 

Macro Definition Documentation

#define BIT_DURATION   250 /* each bit received is 250us */

Definition at line 46 of file lirc_imon.c.

#define BUF_CHUNK_SIZE   4

Definition at line 43 of file lirc_imon.c.

#define BUF_SIZE   128

Definition at line 44 of file lirc_imon.c.

#define DEVICE_NAME   "lcd%d"

Definition at line 41 of file lirc_imon.c.

#define DISPLAY_MINOR_BASE   144

Definition at line 40 of file lirc_imon.c.

#define IMON_DATA_BUF_SZ   35

Definition at line 74 of file lirc_imon.c.

#define MOD_AUTHOR   "Venky Raju <dev@venky.ws>"

Definition at line 35 of file lirc_imon.c.

#define MOD_DESC   "Driver for SoundGraph iMON MultiMedia IR/Display"

Definition at line 36 of file lirc_imon.c.

#define MOD_NAME   "lirc_imon"

Definition at line 37 of file lirc_imon.c.

#define MOD_VERSION   "0.8"

Definition at line 38 of file lirc_imon.c.

Function Documentation

MODULE_AUTHOR ( MOD_AUTHOR  )
MODULE_DESCRIPTION ( MOD_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
imon_usb_id_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( debug  ,
"Debug messages:  0 = no 
)
module_usb_driver ( imon_driver  )
MODULE_VERSION ( MOD_VERSION  )