Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dt3155v4l.c File Reference
#include <linux/module.h>
#include <linux/version.h>
#include <linux/stringify.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/slab.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-dma-contig.h>
#include "dt3155v4l.h"

Go to the source code of this file.

Data Structures

struct  dma_coherent_mem
 

Macros

#define DT3155_VENDOR_ID   0x8086
 
#define DT3155_DEVICE_ID   0x1223
 
#define DT3155_CHUNK_SIZE   (1U << 22)
 
#define DT3155_COH_FLAGS   (GFP_KERNEL | GFP_DMA32 | __GFP_COLD | __GFP_NOWARN)
 
#define DT3155_BUF_SIZE   (768 * 576)
 
#define DT3155_CAPTURE_METHOD   V4L2_CAP_READWRITE
 
#define DT3155_CURRENT_NORM   V4L2_STD_525_60
 
#define NUM_OF_FORMATS   ARRAY_SIZE(frame_std)
 

Functions

 MODULE_DEVICE_TABLE (pci, pci_ids)
 
 module_pci_driver (pci_driver)
 
 MODULE_DESCRIPTION ("video4linux pci-driver for dt3155 frame grabber")
 
 MODULE_AUTHOR ("Marin Mitov <mitov@issp.bas.bg>")
 
 MODULE_VERSION (DT3155_VERSION)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct vb2_ops q_ops
 

Macro Definition Documentation

#define DT3155_BUF_SIZE   (768 * 576)

Definition at line 41 of file dt3155v4l.c.

#define DT3155_CAPTURE_METHOD   V4L2_CAP_READWRITE

Definition at line 46 of file dt3155v4l.c.

#define DT3155_CHUNK_SIZE   (1U << 22)

Definition at line 37 of file dt3155v4l.c.

#define DT3155_COH_FLAGS   (GFP_KERNEL | GFP_DMA32 | __GFP_COLD | __GFP_NOWARN)

Definition at line 39 of file dt3155v4l.c.

#define DT3155_CURRENT_NORM   V4L2_STD_525_60

Definition at line 67 of file dt3155v4l.c.

#define DT3155_DEVICE_ID   0x1223

Definition at line 34 of file dt3155v4l.c.

#define DT3155_VENDOR_ID   0x8086

Definition at line 33 of file dt3155v4l.c.

#define NUM_OF_FORMATS   ARRAY_SIZE(frame_std)

Definition at line 82 of file dt3155v4l.c.

Function Documentation

MODULE_AUTHOR ( "Marin Mitov <mitov@issp.bas.bg>"  )
MODULE_DESCRIPTION ( "video4linux pci-driver for dt3155 frame grabber"  )
MODULE_DEVICE_TABLE ( pci  ,
pci_ids   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( pci_driver  )
MODULE_VERSION ( DT3155_VERSION  )

Variable Documentation

struct vb2_ops q_ops
Initial value:
= {
.queue_setup = dt3155_queue_setup,
.wait_prepare = dt3155_wait_prepare,
.wait_finish = dt3155_wait_finish,
.buf_prepare = dt3155_buf_prepare,
.stop_streaming = dt3155_stop_streaming,
.buf_queue = dt3155_buf_queue,
}

Definition at line 301 of file dt3155v4l.c.