Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sh_vou.c File Reference
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <linux/module.h>
#include <media/sh_vou.h>
#include <media/v4l2-common.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-mediabus.h>
#include <media/videobuf-dma-contig.h>

Go to the source code of this file.

Data Structures

struct  sh_vou_device
 
struct  sh_vou_file
 
struct  sh_vou_fmt
 
struct  sh_vou_geometry
 

Macros

#define VOUER   0
 
#define VOUCR   4
 
#define VOUSTR   8
 
#define VOUVCR   0xc
 
#define VOUISR   0x10
 
#define VOUBCR   0x14
 
#define VOUDPR   0x18
 
#define VOUDSR   0x1c
 
#define VOUVPR   0x20
 
#define VOUIR   0x24
 
#define VOUSRR   0x28
 
#define VOUMSR   0x2c
 
#define VOUHIR   0x30
 
#define VOUDFR   0x34
 
#define VOUAD1R   0x38
 
#define VOUAD2R   0x3c
 
#define VOUAIR   0x40
 
#define VOUSWR   0x44
 
#define VOURCR   0x48
 
#define VOURPR   0x50
 
#define VOU_MAX_IMAGE_WIDTH   720
 
#define VOU_MAX_IMAGE_HEIGHT   576
 

Enumerations

enum  sh_vou_status { SH_VOU_IDLE, SH_VOU_INITIALISING, SH_VOU_RUNNING }
 

Functions

 module_init (sh_vou_init)
 
 module_exit (sh_vou_exit)
 
 MODULE_DESCRIPTION ("SuperH VOU driver")
 
 MODULE_AUTHOR ("Guennadi Liakhovetski <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_VERSION ("0.1.0")
 
 MODULE_ALIAS ("platform:sh-vou")
 

Macro Definition Documentation

#define VOU_MAX_IMAGE_HEIGHT   576

Definition at line 61 of file sh_vou.c.

#define VOU_MAX_IMAGE_WIDTH   720

Definition at line 60 of file sh_vou.c.

#define VOUAD1R   0x38

Definition at line 47 of file sh_vou.c.

#define VOUAD2R   0x3c

Definition at line 48 of file sh_vou.c.

#define VOUAIR   0x40

Definition at line 49 of file sh_vou.c.

#define VOUBCR   0x14

Definition at line 38 of file sh_vou.c.

#define VOUCR   4

Definition at line 34 of file sh_vou.c.

#define VOUDFR   0x34

Definition at line 46 of file sh_vou.c.

#define VOUDPR   0x18

Definition at line 39 of file sh_vou.c.

#define VOUDSR   0x1c

Definition at line 40 of file sh_vou.c.

#define VOUER   0

Definition at line 33 of file sh_vou.c.

#define VOUHIR   0x30

Definition at line 45 of file sh_vou.c.

#define VOUIR   0x24

Definition at line 42 of file sh_vou.c.

#define VOUISR   0x10

Definition at line 37 of file sh_vou.c.

#define VOUMSR   0x2c

Definition at line 44 of file sh_vou.c.

#define VOURCR   0x48

Definition at line 51 of file sh_vou.c.

#define VOURPR   0x50

Definition at line 52 of file sh_vou.c.

#define VOUSRR   0x28

Definition at line 43 of file sh_vou.c.

#define VOUSTR   8

Definition at line 35 of file sh_vou.c.

#define VOUSWR   0x44

Definition at line 50 of file sh_vou.c.

#define VOUVCR   0xc

Definition at line 36 of file sh_vou.c.

#define VOUVPR   0x20

Definition at line 41 of file sh_vou.c.

Enumeration Type Documentation

Enumerator:
SH_VOU_IDLE 
SH_VOU_INITIALISING 
SH_VOU_RUNNING 

Definition at line 54 of file sh_vou.c.

Function Documentation

MODULE_ALIAS ( "platform:sh-vou"  )
MODULE_AUTHOR ( "Guennadi Liakhovetski <[email protected]>"  )
MODULE_DESCRIPTION ( "SuperH VOU driver )
module_exit ( sh_vou_exit  )
module_init ( sh_vou_init  )
MODULE_LICENSE ( "GPL v2 )
MODULE_VERSION ( "0.1.0"  )