Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
vpif_capture.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/string.h>
#include <linux/videodev2.h>
#include <linux/wait.h>
#include <linux/time.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-chip-ident.h>
#include "vpif_capture.h"
#include "vpif.h"

Go to the source code of this file.

Macros

#define vpif_err(fmt, arg...)   v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg)
 
#define vpif_dbg(level, debug, fmt, arg...)   v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg)
 
#define vpif_pm_ops   NULL
 

Functions

 MODULE_DESCRIPTION ("TI DaVinci VPIF Capture driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (VPIF_CAPTURE_VERSION)
 
 module_param (debug, int, 0644)
 
 module_param (ch0_numbuffers, uint, S_IRUGO)
 
 module_param (ch1_numbuffers, uint, S_IRUGO)
 
 module_param (ch0_bufsize, uint, S_IRUGO)
 
 module_param (ch1_bufsize, uint, S_IRUGO)
 
 MODULE_PARM_DESC (debug,"Debug level 0-1")
 
 MODULE_PARM_DESC (ch2_numbuffers,"Channel0 buffer count (default:3)")
 
 MODULE_PARM_DESC (ch3_numbuffers,"Channel1 buffer count (default:3)")
 
 MODULE_PARM_DESC (ch2_bufsize,"Channel0 buffer size (default:1920 x 1080 x 2)")
 
 MODULE_PARM_DESC (ch3_bufsize,"Channel1 buffer size (default:720 x 576 x 2)")
 
 module_init (vpif_init)
 
 module_exit (vpif_cleanup)
 

Macro Definition Documentation

#define vpif_dbg (   level,
  debug,
  fmt,
  arg... 
)    v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg)

Definition at line 49 of file vpif_capture.c.

#define vpif_err (   fmt,
  arg... 
)    v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg)

Definition at line 48 of file vpif_capture.c.

#define vpif_pm_ops   NULL

Definition at line 2304 of file vpif_capture.c.

Function Documentation

MODULE_DESCRIPTION ( "TI DaVinci VPIF Capture driver )
module_exit ( vpif_cleanup  )
module_init ( vpif_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
module_param ( ch0_numbuffers  ,
uint  ,
S_IRUGO   
)
module_param ( ch1_numbuffers  ,
uint  ,
S_IRUGO   
)
module_param ( ch0_bufsize  ,
uint  ,
S_IRUGO   
)
module_param ( ch1_bufsize  ,
uint  ,
S_IRUGO   
)
MODULE_PARM_DESC ( debug  ,
"Debug level 0-1"   
)
MODULE_PARM_DESC ( ch2_numbuffers  ,
"Channel0 buffer count (default:3)"   
)
MODULE_PARM_DESC ( ch3_numbuffers  ,
"Channel1 buffer count (default:3)"   
)
MODULE_PARM_DESC ( ch2_bufsize  ,
"Channel0 buffer size (default:1920 x 1080 x 2)"   
)
MODULE_PARM_DESC ( ch3_bufsize  ,
"Channel1 buffer size (default:720 x 576 x 2)"   
)
MODULE_VERSION ( VPIF_CAPTURE_VERSION  )