#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/string.h>
#include <linux/videodev2.h>
#include <linux/wait.h>
#include <linux/time.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <asm/irq.h>
#include <asm/page.h>
#include <media/adv7343.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-chip-ident.h>
#include "vpif_display.h"
#include "vpif.h"
Go to the source code of this file.
|
#define | VPIF_V4L2_STD (V4L2_STD_525_60 | V4L2_STD_625_50) |
|
#define | vpif_err(fmt, arg...) v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg) |
|
#define | vpif_dbg(level, debug, fmt, arg...) v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) |
|
#define | vpif_pm_ops NULL |
|
|
| MODULE_DESCRIPTION ("TI DaVinci VPIF Display driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (VPIF_DISPLAY_VERSION) |
|
| module_param (debug, int, 0644) |
|
| module_param (ch2_numbuffers, uint, S_IRUGO) |
|
| module_param (ch3_numbuffers, uint, S_IRUGO) |
|
| module_param (ch2_bufsize, uint, S_IRUGO) |
|
| module_param (ch3_bufsize, uint, S_IRUGO) |
|
| MODULE_PARM_DESC (debug,"Debug level 0-1") |
|
| MODULE_PARM_DESC (ch2_numbuffers,"Channel2 buffer count (default:3)") |
|
| MODULE_PARM_DESC (ch3_numbuffers,"Channel3 buffer count (default:3)") |
|
| MODULE_PARM_DESC (ch2_bufsize,"Channel2 buffer size (default:1920 x 1080 x 2)") |
|
| MODULE_PARM_DESC (ch3_bufsize,"Channel3 buffer size (default:720 x 576 x 2)") |
|
| module_init (vpif_init) |
|
| module_exit (vpif_cleanup) |
|
MODULE_DESCRIPTION |
( |
"TI DaVinci VPIF Display driver" |
| ) |
|
module_exit |
( |
vpif_cleanup |
| ) |
|
module_init |
( |
vpif_init |
| ) |
|
MODULE_PARM_DESC |
( |
ch2_numbuffers |
, |
|
|
"Channel2 buffer count (default:3)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
ch3_numbuffers |
, |
|
|
"Channel3 buffer count (default:3)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
ch2_bufsize |
, |
|
|
"Channel2 buffer size (default:1920 x 1080 x 2)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
ch3_bufsize |
, |
|
|
"Channel3 buffer size (default:720 x 576 x 2)" |
|
|
) |
| |