Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tm6000-video.c File Reference
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/random.h>
#include <linux/usb.h>
#include <linux/videodev2.h>
#include <media/v4l2-ioctl.h>
#include <media/tuner.h>
#include <linux/interrupt.h>
#include <linux/kthread.h>
#include <linux/highmem.h>
#include <linux/freezer.h>
#include "tm6000-regs.h"
#include "tm6000.h"

Go to the source code of this file.

Macros

#define BUFFER_TIMEOUT   msecs_to_jiffies(2000) /* 2 seconds */
 
#define TM6000_MIN_BUF   4
 
#define TM6000_DEF_BUF   8
 
#define TM6000_MAX_ISO_PACKETS   46 /* Max number of ISO packets */
 
#define norm_maxw(a)   720
 
#define norm_maxh(a)   576
 
#define norm_minw(a)   norm_maxw(a)
 
#define norm_minh(a)   norm_maxh(a)
 

Functions

 EXPORT_SYMBOL_GPL (tm6000_debug)
 
int tm6000_v4l2_register (struct tm6000_core *dev)
 
int tm6000_v4l2_unregister (struct tm6000_core *dev)
 
int tm6000_v4l2_exit (void)
 
 module_param (video_nr, int, 0)
 
 MODULE_PARM_DESC (video_nr,"Allow changing video device number")
 
 module_param_named (debug, tm6000_debug, int, 0444)
 
 MODULE_PARM_DESC (debug,"activates debug info")
 
 module_param (vid_limit, int, 0644)
 
 MODULE_PARM_DESC (vid_limit,"capture memory limit in megabytes")
 

Variables

int tm6000_debug
 

Macro Definition Documentation

#define BUFFER_TIMEOUT   msecs_to_jiffies(2000) /* 2 seconds */

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

#define norm_maxh (   a)    576

Definition at line 160 of file tm6000-video.c.

#define norm_maxw (   a)    720

Definition at line 159 of file tm6000-video.c.

#define norm_minh (   a)    norm_maxh(a)

Definition at line 163 of file tm6000-video.c.

#define norm_minw (   a)    norm_maxw(a)

Definition at line 162 of file tm6000-video.c.

#define TM6000_DEF_BUF   8

Definition at line 50 of file tm6000-video.c.

#define TM6000_MAX_ISO_PACKETS   46 /* Max number of ISO packets */

Definition at line 52 of file tm6000-video.c.

#define TM6000_MIN_BUF   4

Definition at line 49 of file tm6000-video.c.

Function Documentation

EXPORT_SYMBOL_GPL ( tm6000_debug  )
module_param ( video_nr  ,
int  ,
 
)
module_param ( vid_limit  ,
int  ,
0644   
)
module_param_named ( debug  ,
tm6000_debug  ,
int  ,
0444   
)
MODULE_PARM_DESC ( video_nr  ,
"Allow changing video device number  
)
MODULE_PARM_DESC ( debug  ,
"activates debug info  
)
MODULE_PARM_DESC ( vid_limit  ,
"capture memory limit in megabytes"   
)
int tm6000_v4l2_exit ( void  )

Definition at line 1839 of file tm6000-video.c.

int tm6000_v4l2_register ( struct tm6000_core dev)

Definition at line 1772 of file tm6000-video.c.

int tm6000_v4l2_unregister ( struct tm6000_core dev)

Definition at line 1824 of file tm6000-video.c.

Variable Documentation

int tm6000_debug

Definition at line 60 of file tm6000-video.c.