Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
em28xx-input.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include "em28xx.h"

Go to the source code of this file.

Data Structures

struct  em28xx_ir_poll_result
 
struct  em28xx_IR
 

Macros

#define EM28XX_SNAPSHOT_KEY   KEY_CAMERA
 
#define EM28XX_SBUTTON_QUERY_INTERVAL   500
 
#define EM28XX_R0C_USBSUSP_SNAPSHOT   0x20
 
#define MODULE_NAME   "em28xx"
 
#define i2cdprintk(fmt, arg...)
 
#define dprintk(fmt, arg...)
 

Functions

 module_param (ir_debug, int, 0644)
 
 MODULE_PARM_DESC (ir_debug,"enable debug messages [IR]")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>")
 
 MODULE_DESCRIPTION ("Em28xx Input driver")
 
 module_init (em28xx_rc_register)
 
 module_exit (em28xx_rc_unregister)
 

Macro Definition Documentation

#define dprintk (   fmt,
  arg... 
)
Value:
if (ir_debug) { \
printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \
}

Definition at line 48 of file em28xx-input.c.

#define EM28XX_R0C_USBSUSP_SNAPSHOT   0x20

Definition at line 35 of file em28xx-input.c.

#define EM28XX_SBUTTON_QUERY_INTERVAL   500

Definition at line 34 of file em28xx-input.c.

#define EM28XX_SNAPSHOT_KEY   KEY_CAMERA

Definition at line 33 of file em28xx-input.c.

#define i2cdprintk (   fmt,
  arg... 
)
Value:
if (ir_debug) { \
printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \
}

Definition at line 43 of file em28xx-input.c.

#define MODULE_NAME   "em28xx"

Definition at line 41 of file em28xx-input.c.

Function Documentation

MODULE_AUTHOR ( "Mauro Carvalho Chehab <[email protected]>"  )
MODULE_DESCRIPTION ( "Em28xx Input driver )
module_exit ( em28xx_rc_unregister  )
module_init ( em28xx_rc_register  )
MODULE_LICENSE ( "GPL"  )
module_param ( ir_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( ir_debug  ,
"enable debug messages "  [IR] 
)