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

Go to the source code of this file.

Data Structures

struct  loopback_dev
 

Macros

#define DRIVER_NAME   "rc-loopback"
 
#define dprintk(x...)   if (debug) printk(KERN_INFO DRIVER_NAME ": " x)
 
#define RXMASK_REGULAR   0x1
 
#define RXMASK_LEARNING   0x2
 

Functions

 module_init (loop_init)
 
 module_exit (loop_exit)
 
 module_param (debug, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug,"Enable debug messages")
 
 MODULE_DESCRIPTION ("Loopback device for rc-core debugging")
 
 MODULE_AUTHOR ("David Härdeman <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   x...)    if (debug) printk(KERN_INFO DRIVER_NAME ": " x)

Definition at line 32 of file rc-loopback.c.

#define DRIVER_NAME   "rc-loopback"

Definition at line 31 of file rc-loopback.c.

#define RXMASK_LEARNING   0x2

Definition at line 34 of file rc-loopback.c.

#define RXMASK_REGULAR   0x1

Definition at line 33 of file rc-loopback.c.

Function Documentation

MODULE_AUTHOR ( "David Härdeman <[email protected]>"  )
MODULE_DESCRIPTION ( "Loopback device for rc-core debugging"  )
module_exit ( loop_exit  )
module_init ( loop_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( debug  ,
"Enable debug messages"   
)