Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lirc_zilog.c File Reference
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/completion.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/firmware.h>
#include <linux/vmalloc.h>
#include <linux/mutex.h>
#include <linux/kthread.h>
#include <media/lirc_dev.h>
#include <media/lirc.h>

Go to the source code of this file.

Data Structures

struct  IR_rx
 
struct  IR_tx
 
struct  IR
 
struct  tx_data_struct
 

Macros

#define TX_BLOCK_SIZE   99
 
#define zilog_notify(s, args...)
 
#define zilog_error(s, args...)   printk(KERN_ERR KBUILD_MODNAME ": " s, ## args)
 
#define zilog_info(s, args...)   printk(KERN_INFO KBUILD_MODNAME ": " s, ## args)
 
#define dprintk(fmt, args...)
 
#define ID_FLAG_TX   0x01
 
#define ID_FLAG_HDPVR   0x02
 

Functions

 module_init (zilog_init)
 
 module_exit (zilog_exit)
 
 MODULE_DESCRIPTION ("Zilog/Hauppauge infrared transmitter driver (i2c stack)")
 
 MODULE_AUTHOR ("Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus, ""Ulrich Mueller, Stefan Jahn, Jerome Brock, Mark Weaver, ""Andy Walls")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("lirc_pvr150")
 
 module_param (minor, int, 0444)
 
 MODULE_PARM_DESC (minor,"Preferred minor device number")
 
 module_param (debug, bool, 0644)
 
 MODULE_PARM_DESC (debug,"Enable debugging messages")
 
 module_param (tx_only, bool, 0644)
 
 MODULE_PARM_DESC (tx_only,"Only handle the IR transmit function")
 

Macro Definition Documentation

#define dprintk (   fmt,
  args... 
)
Value:
do { \
if (debug) \
printk(KERN_DEBUG KBUILD_MODNAME ": " fmt, \
## args); \
} while (0)

Definition at line 162 of file lirc_zilog.c.

#define ID_FLAG_HDPVR   0x02

Definition at line 1343 of file lirc_zilog.c.

#define ID_FLAG_TX   0x01

Definition at line 1342 of file lirc_zilog.c.

#define TX_BLOCK_SIZE   99

Definition at line 126 of file lirc_zilog.c.

#define zilog_error (   s,
  args... 
)    printk(KERN_ERR KBUILD_MODNAME ": " s, ## args)

Definition at line 154 of file lirc_zilog.c.

#define zilog_info (   s,
  args... 
)    printk(KERN_INFO KBUILD_MODNAME ": " s, ## args)

Definition at line 155 of file lirc_zilog.c.

#define zilog_notify (   s,
  args... 
)
Value:
printk(KERN_NOTICE KBUILD_MODNAME ": " s, \
## args)

Definition at line 152 of file lirc_zilog.c.

Function Documentation

MODULE_ALIAS ( "lirc_pvr150"  )
MODULE_AUTHOR ( "Gerd  Knorr,
Michal  Kochanowicz,
Christoph  Bartelmus,
""Ulrich  Mueller,
Stefan  Jahn,
Jerome  Brock,
Mark  Weaver,
""Andy Walls"   
)
MODULE_DESCRIPTION ( "Zilog/Hauppauge infrared transmitter driver (i2c stack)"  )
module_exit ( zilog_exit  )
module_init ( zilog_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( minor  ,
int  ,
0444   
)
module_param ( debug  ,
bool  ,
0644   
)
module_param ( tx_only  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( minor  ,
"Preferred minor device number  
)
MODULE_PARM_DESC ( debug  ,
"Enable debugging messages"   
)
MODULE_PARM_DESC ( tx_only  ,
"Only handle the IR transmit function  
)