#include <linux/module.h>
#include <linux/clk.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <media/v4l2-common.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf-dma-contig.h>
Go to the source code of this file.
|
enum | status_config {
SOFT_RST = 1 << 0,
ERR_MASK = 0x0f << 4,
ERR_NO = 0x00,
ERR_DMA_V = 0x01 << 4,
ERR_DMA_VB = 0x02 << 4,
ERR_LINE_TOO_LONG = 0x04 << 4,
ERR_TOO_MANG_LINES = 0x05 << 4,
ERR_LINE_TOO_SHORT = 0x06 << 4,
ERR_NOT_ENOUGH_LINE = 0x07 << 4,
ERR_FIFO_OVERFLOW = 0x08 << 4,
ERR_FIFO_UNDERFLOW = 0x09 << 4,
ERR_1bit_ECC = 0x0a << 4,
ERR_MORE_ECC = 0x0b << 4,
INT_FIELD_EN = 0x01 << 8,
INT_VSYNC_EN = 0x01 << 9,
INT_HSYNC_EN = 0x01 << 10,
INT_VSTART_EN = 0x01 << 11,
INT_DMA_END_EN = 0x01 << 12,
INT_ERROR_EN = 0x01 << 13,
INT_ECC_EN = 0x01 << 14,
INT_FIELD_STATUS = 0x01 << 16,
INT_VSYNC_STATUS = 0x01 << 17,
INT_HSYNC_STATUS = 0x01 << 18,
INT_VSTART_STATUS = 0x01 << 19,
INT_DMA_END_STATUS = 0x01 << 20,
INT_ERROR_STATUS = 0x01 << 21,
DMA_ACT = 0x01 << 27,
FIELD_NO = 0x01 << 28,
DITHER_ON = 0x01 << 29,
ROUND_ON = 0x01 << 30,
MODE_32BIT = 0x01 << 31
} |
|
Value:do { \
if (
level <= info_level) \
} while (0)
Definition at line 86 of file fsl-viu.c.
#define DRV_NAME "fsl_viu" |
#define norm_maxh |
( |
| ) |
576 |
#define norm_maxw |
( |
| ) |
720 |
#define VIU_VERSION "0.5.1" |
#define VIU_VIDEO_DECODER_ADDR 0x25 |
- Enumerator:
SOFT_RST |
|
ERR_MASK |
|
ERR_NO |
|
ERR_DMA_V |
|
ERR_DMA_VB |
|
ERR_LINE_TOO_LONG |
|
ERR_TOO_MANG_LINES |
|
ERR_LINE_TOO_SHORT |
|
ERR_NOT_ENOUGH_LINE |
|
ERR_FIFO_OVERFLOW |
|
ERR_FIFO_UNDERFLOW |
|
ERR_1bit_ECC |
|
ERR_MORE_ECC |
|
INT_FIELD_EN |
|
INT_VSYNC_EN |
|
INT_HSYNC_EN |
|
INT_VSTART_EN |
|
INT_DMA_END_EN |
|
INT_ERROR_EN |
|
INT_ECC_EN |
|
INT_FIELD_STATUS |
|
INT_VSYNC_STATUS |
|
INT_HSYNC_STATUS |
|
INT_VSTART_STATUS |
|
INT_DMA_END_STATUS |
|
INT_ERROR_STATUS |
|
DMA_ACT |
|
FIELD_NO |
|
DITHER_ON |
|
ROUND_ON |
|
MODE_32BIT |
|
Definition at line 219 of file fsl-viu.c.
MODULE_AUTHOR |
( |
"Hongjun Chen" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Freescale Video-In(VIU)" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
mpc512x_viu_of_match |
|
|
) |
| |
module_platform_driver |
( |
viu_of_platform_driver |
| ) |
|