Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
omap_vout.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/irq.h>
#include <linux/videodev2.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <media/videobuf-dma-contig.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <plat/cpu.h>
#include <plat/dma.h>
#include <plat/vrfb.h>
#include <video/omapdss.h>
#include "omap_voutlib.h"
#include "omap_voutdef.h"
#include "omap_vout_vrfb.h"

Go to the source code of this file.

Macros

#define VOUT_NAME   "omap_vout"
 
#define NUM_OUTPUT_FORMATS   (ARRAY_SIZE(omap_formats))
 

Enumerations

enum  omap_vout_channels { OMAP_VIDEO1, OMAP_VIDEO2 }
 

Functions

 MODULE_AUTHOR ("Texas Instruments")
 
 MODULE_DESCRIPTION ("OMAP Video for Linux Video out driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param (video1_numbuffers, uint, S_IRUGO)
 
 MODULE_PARM_DESC (video1_numbuffers,"Number of buffers to be allocated at init time for Video1 device.")
 
 module_param (video2_numbuffers, uint, S_IRUGO)
 
 MODULE_PARM_DESC (video2_numbuffers,"Number of buffers to be allocated at init time for Video2 device.")
 
 module_param (video1_bufsize, uint, S_IRUGO)
 
 MODULE_PARM_DESC (video1_bufsize,"Size of the buffer to be allocated for video1 device")
 
 module_param (video2_bufsize, uint, S_IRUGO)
 
 MODULE_PARM_DESC (video2_bufsize,"Size of the buffer to be allocated for video2 device")
 
 module_param (vid1_static_vrfb_alloc, bool, S_IRUGO)
 
 MODULE_PARM_DESC (vid1_static_vrfb_alloc,"Static allocation of the VRFB buffer for video1 device")
 
 module_param (vid2_static_vrfb_alloc, bool, S_IRUGO)
 
 MODULE_PARM_DESC (vid2_static_vrfb_alloc,"Static allocation of the VRFB buffer for video2 device")
 
 module_param (debug, bool, S_IRUGO)
 
 MODULE_PARM_DESC (debug,"Debug level (0-1)")
 
void omap_vout_free_buffers (struct omap_vout_device *vout)
 
 late_initcall (omap_vout_init)
 
 module_exit (omap_vout_cleanup)
 

Macro Definition Documentation

#define NUM_OUTPUT_FORMATS   (ARRAY_SIZE(omap_formats))

Definition at line 147 of file omap_vout.c.

#define VOUT_NAME   "omap_vout"

Definition at line 61 of file omap_vout.c.

Enumeration Type Documentation

Enumerator:
OMAP_VIDEO1 
OMAP_VIDEO2 

Definition at line 63 of file omap_vout.c.

Function Documentation

late_initcall ( omap_vout_init  )
MODULE_AUTHOR ( "Texas Instruments"  )
MODULE_DESCRIPTION ( "OMAP Video for Linux Video out driver )
module_exit ( omap_vout_cleanup  )
MODULE_LICENSE ( "GPL"  )
module_param ( video1_numbuffers  ,
uint  ,
S_IRUGO   
)
module_param ( video2_numbuffers  ,
uint  ,
S_IRUGO   
)
module_param ( video1_bufsize  ,
uint  ,
S_IRUGO   
)
module_param ( video2_bufsize  ,
uint  ,
S_IRUGO   
)
module_param ( vid1_static_vrfb_alloc  ,
bool  ,
S_IRUGO   
)
module_param ( vid2_static_vrfb_alloc  ,
bool  ,
S_IRUGO   
)
module_param ( debug  ,
bool  ,
S_IRUGO   
)
MODULE_PARM_DESC ( video1_numbuffers  ,
"Number of buffers to be allocated at init time for Video1 device."   
)
MODULE_PARM_DESC ( video2_numbuffers  ,
"Number of buffers to be allocated at init time for Video2 device."   
)
MODULE_PARM_DESC ( video1_bufsize  ,
"Size of the buffer to be allocated for video1 device  
)
MODULE_PARM_DESC ( video2_bufsize  ,
"Size of the buffer to be allocated for video2 device  
)
MODULE_PARM_DESC ( vid1_static_vrfb_alloc  ,
"Static allocation of the VRFB buffer for video1 device  
)
MODULE_PARM_DESC ( vid2_static_vrfb_alloc  ,
"Static allocation of the VRFB buffer for video2 device  
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0-1)"   
)
void omap_vout_free_buffers ( struct omap_vout_device vout)

Definition at line 244 of file omap_vout.c.