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

Go to the source code of this file.

Data Structures

struct  cx88_ctrl
 

Macros

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

Enumerations

enum  { CX8800_VID_CTLS = ARRAY_SIZE(cx8800_vid_ctls), CX8800_AUD_CTLS = ARRAY_SIZE(cx8800_aud_ctls) }
 

Functions

 MODULE_DESCRIPTION ("v4l2 driver module for cx2388x based TV cards")
 
 MODULE_AUTHOR ("Gerd Knorr <[email protected]> [SuSE Labs]")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (CX88_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]")
 
 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")
 
int cx88_video_mux (struct cx88_core *core, unsigned int input)
 
 EXPORT_SYMBOL (cx88_video_mux)
 
void cx88_querycap (struct file *file, struct cx88_core *core, struct v4l2_capability *cap)
 
 EXPORT_SYMBOL (cx88_querycap)
 
int cx88_enum_input (struct cx88_core *core, struct v4l2_input *i)
 
 EXPORT_SYMBOL (cx88_enum_input)
 
int cx88_set_freq (struct cx88_core *core, struct v4l2_frequency *f)
 
 EXPORT_SYMBOL (cx88_set_freq)
 
 MODULE_DEVICE_TABLE (pci, cx8800_pci_tbl)
 
 module_init (cx8800_init)
 
 module_exit (cx8800_fini)
 

Macro Definition Documentation

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

Definition at line 77 of file cx88-video.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
CX8800_VID_CTLS 
CX8800_AUD_CTLS 

Definition at line 295 of file cx88-video.c.

Function Documentation

int cx88_enum_input ( struct cx88_core core,
struct v4l2_input i 
)

Definition at line 1208 of file cx88-video.c.

void cx88_querycap ( struct file file,
struct cx88_core core,
struct v4l2_capability cap 
)

Definition at line 1082 of file cx88-video.c.

int cx88_set_freq ( struct cx88_core core,
struct v4l2_frequency f 
)

Definition at line 1323 of file cx88-video.c.

int cx88_video_mux ( struct cx88_core core,
unsigned int  input 
)

Definition at line 352 of file cx88-video.c.

EXPORT_SYMBOL ( cx88_video_mux  )
EXPORT_SYMBOL ( cx88_querycap  )
EXPORT_SYMBOL ( cx88_enum_input  )
EXPORT_SYMBOL ( cx88_set_freq  )
MODULE_AUTHOR ( "Gerd Knorr <[email protected]> "  [SuSE Labs])
MODULE_DESCRIPTION ( "v4l2 driver module for cx2388x based TV cards )
MODULE_DEVICE_TABLE ( pci  ,
cx8800_pci_tbl   
)
module_exit ( cx8800_fini  )
module_init ( cx8800_init  )
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"   
)
MODULE_VERSION ( CX88_VERSION  )