Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
v4l2.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-common.h>
#include <media/videobuf-dma-sg.h>
#include "solo6x10.h"
#include "tw28.h"

Go to the source code of this file.

Data Structures

struct  solo_filehandle
 

Macros

#define SOLO_HW_BPL   2048
 
#define SOLO_DISP_PIX_FIELD   V4L2_FIELD_INTERLACED
 
#define solo_vlines(__solo)   (__solo->video_vsize * 2)
 
#define solo_image_size(__solo)
 
#define solo_bytesperline(__solo)   (__solo->video_hsize * 2)
 
#define MIN_VID_BUFFERS   4
 

Functions

 module_param (video_nr, uint, 0644)
 
 MODULE_PARM_DESC (video_nr,"videoX start number, -1 is autodetect (default)")
 
void solo_video_in_isr (struct solo_dev *solo_dev)
 
int solo_v4l2_init (struct solo_dev *solo_dev)
 
void solo_v4l2_exit (struct solo_dev *solo_dev)
 

Variables

unsigned video_nr = -1
 

Macro Definition Documentation

#define MIN_VID_BUFFERS   4

Definition at line 39 of file v4l2.c.

#define solo_bytesperline (   __solo)    (__solo->video_hsize * 2)

Definition at line 37 of file v4l2.c.

#define SOLO_DISP_PIX_FIELD   V4L2_FIELD_INTERLACED

Definition at line 31 of file v4l2.c.

#define SOLO_HW_BPL   2048

Definition at line 30 of file v4l2.c.

#define solo_image_size (   __solo)
Value:
(solo_bytesperline(__solo) * \
solo_vlines(__solo))

Definition at line 35 of file v4l2.c.

#define solo_vlines (   __solo)    (__solo->video_vsize * 2)

Definition at line 34 of file v4l2.c.

Function Documentation

module_param ( video_nr  ,
uint  ,
0644   
)
MODULE_PARM_DESC ( video_nr  ,
"videoX start  number,
-1 is autodetect(default)"   
)
void solo_v4l2_exit ( struct solo_dev solo_dev)

Definition at line 957 of file v4l2.c.

int solo_v4l2_init ( struct solo_dev solo_dev)

Definition at line 907 of file v4l2.c.

void solo_video_in_isr ( struct solo_dev solo_dev)

Definition at line 79 of file v4l2.c.

Variable Documentation

unsigned video_nr = -1

Definition at line 53 of file v4l2.c.