#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.
|
| 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) |
|
#define NUM_OUTPUT_FORMATS (ARRAY_SIZE(omap_formats)) |
#define VOUT_NAME "omap_vout" |
late_initcall |
( |
omap_vout_init |
| ) |
|
MODULE_AUTHOR |
( |
"Texas Instruments" |
| ) |
|
MODULE_DESCRIPTION |
( |
"OMAP Video for Linux Video out driver" |
| ) |
|
module_exit |
( |
omap_vout_cleanup |
| ) |
|
module_param |
( |
vid1_static_vrfb_alloc |
, |
|
|
bool |
, |
|
|
S_IRUGO |
|
|
) |
| |
module_param |
( |
vid2_static_vrfb_alloc |
, |
|
|
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" |
|
|
) |
| |