Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/slab.h>
#include <mach/cputype.h>
#include <mach/hardware.h>
#include <media/davinci/vpss.h>
#include <media/v4l2-device.h>
#include <media/davinci/vpbe_types.h>
#include <media/davinci/vpbe_osd.h>
#include <linux/io.h>
#include "vpbe_osd_regs.h"
Go to the source code of this file.
Macros | |
#define | MODULE_NAME VPBE_OSD_SUBDEV_NAME |
#define | is_osd_win(layer) (((layer) == WIN_OSD0) || ((layer) == WIN_OSD1)) |
#define | is_vid_win(layer) (((layer) == WIN_VID0) || ((layer) == WIN_VID1)) |
#define | is_rgb_pixfmt(pixfmt) (((pixfmt) == PIXFMT_RGB565) || ((pixfmt) == PIXFMT_RGB888)) |
#define | is_yc_pixfmt(pixfmt) |
#define | MAX_WIN_SIZE OSD_VIDWIN0XP_V0X |
#define | MAX_LINE_LENGTH (OSD_VIDWIN0OFST_V0LO << 5) |
#define | OSD_SRC_ADDR_HIGH4 0x7800000 |
#define | OSD_SRC_ADDR_HIGH7 0x7F0000 |
#define | OSD_SRCADD_OFSET_SFT 23 |
#define | OSD_SRCADD_ADD_SFT 16 |
#define | OSD_WINADL_MASK 0xFFFF |
#define | OSD_WINOFST_MASK 0x1000 |
#define | VPBE_REG_BASE 0x80000000 |
Functions | |
module_platform_driver (osd_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("DaVinci OSD Manager Driver") | |
MODULE_AUTHOR ("Texas Instruments") | |
Definition at line 99 of file vpbe_osd.c.
#define is_rgb_pixfmt | ( | pixfmt | ) | (((pixfmt) == PIXFMT_RGB565) || ((pixfmt) == PIXFMT_RGB888)) |
Definition at line 101 of file vpbe_osd.c.
Definition at line 100 of file vpbe_osd.c.
#define is_yc_pixfmt | ( | pixfmt | ) |
Definition at line 103 of file vpbe_osd.c.
#define MAX_LINE_LENGTH (OSD_VIDWIN0OFST_V0LO << 5) |
Definition at line 107 of file vpbe_osd.c.
#define MAX_WIN_SIZE OSD_VIDWIN0XP_V0X |
Definition at line 106 of file vpbe_osd.c.
#define MODULE_NAME VPBE_OSD_SUBDEV_NAME |
Definition at line 42 of file vpbe_osd.c.
#define OSD_SRC_ADDR_HIGH4 0x7800000 |
Definition at line 546 of file vpbe_osd.c.
#define OSD_SRC_ADDR_HIGH7 0x7F0000 |
Definition at line 547 of file vpbe_osd.c.
#define OSD_SRCADD_ADD_SFT 16 |
Definition at line 549 of file vpbe_osd.c.
#define OSD_SRCADD_OFSET_SFT 23 |
Definition at line 548 of file vpbe_osd.c.
#define OSD_WINADL_MASK 0xFFFF |
Definition at line 550 of file vpbe_osd.c.
#define OSD_WINOFST_MASK 0x1000 |
Definition at line 551 of file vpbe_osd.c.
#define VPBE_REG_BASE 0x80000000 |
Definition at line 552 of file vpbe_osd.c.
MODULE_AUTHOR | ( | "Texas Instruments" | ) |
MODULE_DESCRIPTION | ( | "DaVinci OSD Manager Driver" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | osd_driver | ) |