Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cx23885-video.c File Reference
#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kmod.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <asm/div64.h>
#include "cx23885.h"
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include "cx23885-ioctl.h"
#include "tuner-xc2028.h"
#include <media/cx25840.h>

Go to the source code of this file.

Macros

#define dprintk(level, fmt, arg...)
 
#define FORMAT_FLAGS_PACKED   0x01
 

Functions

 MODULE_DESCRIPTION ("v4l2 driver module for cx23885 based TV cards")
 
 MODULE_AUTHOR ("Steven Toth <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 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]")
 
 module_param (irq_debug, int, 0644)
 
 MODULE_PARM_DESC (irq_debug,"enable debug messages [IRQ handler]")
 
 module_param (vid_limit, int, 0644)
 
 MODULE_PARM_DESC (vid_limit,"capture memory limit in megabytes")
 
void cx23885_video_wakeup (struct cx23885_dev *dev, struct cx23885_dmaqueue *q, u32 count)
 
int cx23885_set_tvnorm (struct cx23885_dev *dev, v4l2_std_id norm)
 
int cx23885_get_control (struct cx23885_dev *dev, struct v4l2_control *ctl)
 
int cx23885_set_control (struct cx23885_dev *dev, struct v4l2_control *ctl)
 
int cx23885_enum_input (struct cx23885_dev *dev, struct v4l2_input *i)
 
int cx23885_get_input (struct file *file, void *priv, unsigned int *i)
 
int cx23885_set_input (struct file *file, void *priv, unsigned int i)
 
int cx23885_set_frequency (struct file *file, void *priv, struct v4l2_frequency *f)
 
int cx23885_video_irq (struct cx23885_dev *dev, u32 status)
 
void cx23885_video_unregister (struct cx23885_dev *dev)
 
int cx23885_video_register (struct cx23885_dev *dev)
 

Macro Definition Documentation

#define dprintk (   level,
  fmt,
  arg... 
)
Value:
do { if (video_debug >= level)\
printk(KERN_DEBUG "%s: " fmt, dev->name, ## arg);\
} while (0)

Definition at line 72 of file cx23885-video.c.

#define FORMAT_FLAGS_PACKED   0x01

Definition at line 80 of file cx23885-video.c.

Function Documentation

int cx23885_enum_input ( struct cx23885_dev dev,
struct v4l2_input i 
)

Definition at line 1273 of file cx23885-video.c.

int cx23885_get_control ( struct cx23885_dev dev,
struct v4l2_control ctl 
)

Definition at line 1024 of file cx23885-video.c.

int cx23885_get_input ( struct file file,
void priv,
unsigned int i 
)

Definition at line 1330 of file cx23885-video.c.

int cx23885_set_control ( struct cx23885_dev dev,
struct v4l2_control ctl 
)

Definition at line 1032 of file cx23885-video.c.

int cx23885_set_frequency ( struct file file,
void priv,
struct v4l2_frequency f 
)

Definition at line 1609 of file cx23885-video.c.

int cx23885_set_input ( struct file file,
void priv,
unsigned int  i 
)

Definition at line 1344 of file cx23885-video.c.

int cx23885_set_tvnorm ( struct cx23885_dev dev,
v4l2_std_id  norm 
)

Definition at line 319 of file cx23885-video.c.

int cx23885_video_irq ( struct cx23885_dev dev,
u32  status 
)

Definition at line 1659 of file cx23885-video.c.

int cx23885_video_register ( struct cx23885_dev dev)

Definition at line 1813 of file cx23885-video.c.

void cx23885_video_unregister ( struct cx23885_dev dev)

Definition at line 1786 of file cx23885-video.c.

void cx23885_video_wakeup ( struct cx23885_dev dev,
struct cx23885_dmaqueue q,
u32  count 
)

Definition at line 285 of file cx23885-video.c.

MODULE_AUTHOR ( "Steven Toth <[email protected]>"  )
MODULE_DESCRIPTION ( "v4l2 driver module for cx23885 based TV cards )
MODULE_LICENSE ( "GPL"  )
module_param ( video_debug  ,
int  ,
0644   
)
module_param ( irq_debug  ,
int  ,
0644   
)
module_param ( vid_limit  ,
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 ( 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_PARM_DESC ( irq_debug  ,
"enable debug messages "  [IRQ handler] 
)
MODULE_PARM_DESC ( vid_limit  ,
"capture memory limit in megabytes"   
)