Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pvrusb2-v4l2.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/version.h>
#include "pvrusb2-context.h"
#include "pvrusb2-hdw.h"
#include "pvrusb2.h"
#include "pvrusb2-debug.h"
#include "pvrusb2-v4l2.h"
#include "pvrusb2-ioread.h"
#include <linux/videodev2.h>
#include <linux/module.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>

Go to the source code of this file.

Data Structures

struct  pvr2_v4l2_dev
 
struct  pvr2_v4l2_fh
 
struct  pvr2_v4l2
 

Macros

#define PVR_FORMAT_PIX   0
 
#define PVR_FORMAT_VBI   1
 

Functions

 module_param_array (video_nr, int, NULL, 0444)
 
 MODULE_PARM_DESC (video_nr,"Offset for device's video dev minor")
 
 module_param_array (radio_nr, int, NULL, 0444)
 
 MODULE_PARM_DESC (radio_nr,"Offset for device's radio dev minor")
 
 module_param_array (vbi_nr, int, NULL, 0444)
 
 MODULE_PARM_DESC (vbi_nr,"Offset for device's vbi dev minor")
 
int pvr2_s_std (struct file *file, void *priv, v4l2_std_id *std)
 
int pvr2_s_frequency (struct file *file, void *priv, struct v4l2_frequency *vf)
 
struct pvr2_v4l2pvr2_v4l2_create (struct pvr2_context *mnp)
 

Macro Definition Documentation

#define PVR_FORMAT_PIX   0

Definition at line 113 of file pvrusb2-v4l2.c.

#define PVR_FORMAT_VBI   1

Definition at line 114 of file pvrusb2-v4l2.c.

Function Documentation

module_param_array ( video_nr  ,
int  ,
NULL  ,
0444   
)
module_param_array ( radio_nr  ,
int  ,
NULL  ,
0444   
)
module_param_array ( vbi_nr  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( video_nr  ,
"Offset for device's video dev minor  
)
MODULE_PARM_DESC ( radio_nr  ,
"Offset for device's radio dev minor  
)
MODULE_PARM_DESC ( vbi_nr  ,
"Offset for device's vbi dev minor  
)
int pvr2_s_frequency ( struct file file,
void priv,
struct v4l2_frequency vf 
)

Definition at line 368 of file pvrusb2-v4l2.c.

int pvr2_s_std ( struct file file,
void priv,
v4l2_std_id std 
)

Definition at line 199 of file pvrusb2-v4l2.c.

struct pvr2_v4l2* pvr2_v4l2_create ( struct pvr2_context mnp)
read

Definition at line 1376 of file pvrusb2-v4l2.c.