Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
em28xx-video.c File Reference
#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/bitmap.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include "em28xx.h"
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-chip-ident.h>
#include <media/msp3400.h>
#include <media/tuner.h>

Go to the source code of this file.

Macros

#define DRIVER_AUTHOR
 
#define DRIVER_DESC   "Empia em28xx based USB video device driver"
 
#define EM28XX_VERSION   "0.1.3"
 
#define em28xx_videodbg(fmt, arg...)
 
#define em28xx_isocdbg(fmt, arg...)
 

Functions

 module_param (isoc_debug, int, 0644)
 
 MODULE_PARM_DESC (isoc_debug,"enable debug messages [isoc transfers]")
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (EM28XX_VERSION)
 
 module_param_array (video_nr, int, NULL, 0444)
 
 module_param_array (vbi_nr, int, NULL, 0444)
 
 module_param_array (radio_nr, int, NULL, 0444)
 
 MODULE_PARM_DESC (video_nr,"video device numbers")
 
 MODULE_PARM_DESC (vbi_nr,"vbi device numbers")
 
 MODULE_PARM_DESC (radio_nr,"radio device numbers")
 
 module_param (video_debug, int, 0644)
 
 MODULE_PARM_DESC (video_debug,"enable debug messages [video]")
 
void em28xx_release_analog_resources (struct em28xx *dev)
 
int em28xx_register_analog_devices (struct em28xx *dev)
 

Macro Definition Documentation

#define DRIVER_AUTHOR
Value:
"Ludovico Cavedon <[email protected]>, " \
"Markus Rechberger <[email protected]>, " \
"Mauro Carvalho Chehab <[email protected]>, " \
"Sascha Sommer <[email protected]>"

Definition at line 46 of file em28xx-video.c.

#define DRIVER_DESC   "Empia em28xx based USB video device driver"

Definition at line 51 of file em28xx-video.c.

#define em28xx_isocdbg (   fmt,
  arg... 
)
Value:
do {\
if (isoc_debug) { \
printk(KERN_INFO "%s %s :"fmt, \
dev->name, __func__ , ##arg); \
} \
} while (0)

Definition at line 64 of file em28xx-video.c.

#define EM28XX_VERSION   "0.1.3"

Definition at line 53 of file em28xx-video.c.

#define em28xx_videodbg (   fmt,
  arg... 
)
Value:
do {\
if (video_debug) \
printk(KERN_INFO "%s %s :"fmt, \
dev->name, __func__ , ##arg); } while (0)

Definition at line 55 of file em28xx-video.c.

Function Documentation

int em28xx_register_analog_devices ( struct em28xx dev)

Definition at line 2528 of file em28xx-video.c.

void em28xx_release_analog_resources ( struct em28xx dev)

Definition at line 2205 of file em28xx-video.c.

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_LICENSE ( "GPL"  )
module_param ( isoc_debug  ,
int  ,
0644   
)
module_param ( video_debug  ,
int  ,
0644   
)
module_param_array ( video_nr  ,
int  ,
NULL  ,
0444   
)
module_param_array ( vbi_nr  ,
int  ,
NULL  ,
0444   
)
module_param_array ( radio_nr  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( isoc_debug  ,
"enable debug messages "  [isoc transfers] 
)
MODULE_PARM_DESC ( video_nr  ,
"video device numbers"   
)
MODULE_PARM_DESC ( vbi_nr  ,
"vbi device numbers"   
)
MODULE_PARM_DESC ( radio_nr  ,
"radio device numbers"   
)
MODULE_PARM_DESC ( video_debug  ,
"enable debug messages "  [video] 
)
MODULE_VERSION ( EM28XX_VERSION  )