Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cx88-vbi.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include "cx88.h"

Go to the source code of this file.

Macros

#define dprintk(level, fmt, arg...)
 

Functions

 module_param (vbibufs, int, 0644)
 
 MODULE_PARM_DESC (vbibufs,"number of vbi buffers, range 2-32")
 
 module_param (vbi_debug, int, 0644)
 
 MODULE_PARM_DESC (vbi_debug,"enable debug messages [vbi]")
 
int cx8800_vbi_fmt (struct file *file, void *priv, struct v4l2_format *f)
 
int cx8800_stop_vbi_dma (struct cx8800_dev *dev)
 
int cx8800_restart_vbi_queue (struct cx8800_dev *dev, struct cx88_dmaqueue *q)
 
void cx8800_vbi_timeout (unsigned long data)
 

Variables

struct videobuf_queue_ops cx8800_vbi_qops
 

Macro Definition Documentation

#define dprintk (   level,
  fmt,
  arg... 
)
Value:
if (vbi_debug >= level) \
printk(KERN_DEBUG "%s: " fmt, dev->core->name , ## arg)

Definition at line 17 of file cx88-vbi.c.

Function Documentation

int cx8800_restart_vbi_queue ( struct cx8800_dev dev,
struct cx88_dmaqueue q 
)

Definition at line 97 of file cx88-vbi.c.

int cx8800_stop_vbi_dma ( struct cx8800_dev dev)

Definition at line 81 of file cx88-vbi.c.

int cx8800_vbi_fmt ( struct file file,
void priv,
struct v4l2_format f 
)

Definition at line 22 of file cx88-vbi.c.

void cx8800_vbi_timeout ( unsigned long  data)

Definition at line 115 of file cx88-vbi.c.

module_param ( vbibufs  ,
int  ,
0644   
)
module_param ( vbi_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( vbibufs  ,
"number of vbi  buffers,
range 2-32"   
)
MODULE_PARM_DESC ( vbi_debug  ,
"enable debug messages "  [vbi] 
)

Variable Documentation

struct videobuf_queue_ops cx8800_vbi_qops
Initial value:
= {
.buf_setup = vbi_setup,
.buf_prepare = vbi_prepare,
.buf_queue = vbi_queue,
.buf_release = vbi_release,
}

Definition at line 233 of file cx88-vbi.c.