Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
atmel-isi.c File Reference
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <media/atmel-isi.h>
#include <media/soc_camera.h>
#include <media/soc_mediabus.h>
#include <media/videobuf2-dma-contig.h>

Go to the source code of this file.

Data Structures

struct  fbd
 
struct  isi_dma_desc
 
struct  frame_buffer
 
struct  atmel_isi
 

Macros

#define MAX_BUFFER_NUM   32
 
#define MAX_SUPPORT_WIDTH   2048
 
#define MAX_SUPPORT_HEIGHT   2048
 
#define VID_LIMIT_BYTES   (16 * 1024 * 1024)
 
#define MIN_FRAME_RATE   15
 
#define FRAME_INTERVAL_MILLI_SEC   (1000 / MIN_FRAME_RATE)
 
#define WAIT_ISI_RESET   1
 
#define WAIT_ISI_DISABLE   0
 
#define ISI_BUS_PARAM
 

Enumerations

enum  { ISI_STATE_IDLE = 0, ISI_STATE_READY, ISI_STATE_WAIT_SOF }
 

Functions

 module_init (atmel_isi_init_module)
 
 module_exit (atmel_isi_exit)
 
 MODULE_AUTHOR ("Josh Wu <[email protected]>")
 
 MODULE_DESCRIPTION ("The V4L2 driver for Atmel Linux")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("video")
 

Macro Definition Documentation

#define FRAME_INTERVAL_MILLI_SEC   (1000 / MIN_FRAME_RATE)

Definition at line 35 of file atmel-isi.c.

#define ISI_BUS_PARAM
Value:
V4L2_MBUS_HSYNC_ACTIVE_HIGH | \
V4L2_MBUS_HSYNC_ACTIVE_LOW | \
V4L2_MBUS_VSYNC_ACTIVE_HIGH | \
V4L2_MBUS_VSYNC_ACTIVE_LOW | \
V4L2_MBUS_PCLK_SAMPLE_RISING | \
V4L2_MBUS_PCLK_SAMPLE_FALLING | \
V4L2_MBUS_DATA_ACTIVE_HIGH)

Definition at line 644 of file atmel-isi.c.

#define MAX_BUFFER_NUM   32

Definition at line 30 of file atmel-isi.c.

#define MAX_SUPPORT_HEIGHT   2048

Definition at line 32 of file atmel-isi.c.

#define MAX_SUPPORT_WIDTH   2048

Definition at line 31 of file atmel-isi.c.

#define MIN_FRAME_RATE   15

Definition at line 34 of file atmel-isi.c.

#define VID_LIMIT_BYTES   (16 * 1024 * 1024)

Definition at line 33 of file atmel-isi.c.

#define WAIT_ISI_DISABLE   0

Definition at line 226 of file atmel-isi.c.

#define WAIT_ISI_RESET   1

Definition at line 225 of file atmel-isi.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
ISI_STATE_IDLE 
ISI_STATE_READY 
ISI_STATE_WAIT_SOF 

Definition at line 38 of file atmel-isi.c.

Function Documentation

MODULE_AUTHOR ( "Josh Wu <[email protected]>"  )
MODULE_DESCRIPTION ( "The V4L2 driver for Atmel Linux"  )
module_exit ( atmel_isi_exit  )
module_init ( atmel_isi_init_module  )
MODULE_LICENSE ( "GPL"  )
MODULE_SUPPORTED_DEVICE ( "video"  )