Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
exynos_drm_fimd.c File Reference
#include <drm/drmP.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <video/samsung_fimd.h>
#include <drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_fbdev.h"
#include "exynos_drm_crtc.h"

Go to the source code of this file.

Data Structures

struct  fimd_driver_data
 
struct  fimd_win_data
 
struct  fimd_context
 

Macros

#define VIDOSD_A(win)   (VIDOSD_BASE + 0x00 + (win) * 16)
 
#define VIDOSD_B(win)   (VIDOSD_BASE + 0x04 + (win) * 16)
 
#define VIDOSD_C_SIZE_W0   (VIDOSD_BASE + 0x08)
 
#define VIDOSD_C(win)   (VIDOSD_BASE + 0x18 + (win) * 16)
 
#define VIDOSD_D(win)   (VIDOSD_BASE + 0x0C + (win) * 16)
 
#define VIDWx_BUF_START(win, buf)   (VIDW_BUF_START(buf) + (win) * 8)
 
#define VIDWx_BUF_END(win, buf)   (VIDW_BUF_END(buf) + (win) * 8)
 
#define VIDWx_BUF_SIZE(win, buf)   (VIDW_BUF_SIZE(buf) + (win) * 4)
 
#define WKEYCON0_BASE(x)   ((WKEYCON0 + 0x140) + (x * 8))
 
#define WKEYCON1_BASE(x)   ((WKEYCON1 + 0x140) + (x * 8))
 
#define WINDOWS_NR   5
 
#define get_fimd_context(dev)   platform_get_drvdata(to_platform_device(dev))
 

Functions

 MODULE_DEVICE_TABLE (platform, fimd_driver_ids)
 

Variables

struct platform_driver fimd_driver
 

Macro Definition Documentation

#define get_fimd_context (   dev)    platform_get_drvdata(to_platform_device(dev))

Definition at line 58 of file exynos_drm_fimd.c.

#define VIDOSD_A (   win)    (VIDOSD_BASE + 0x00 + (win) * 16)

Definition at line 37 of file exynos_drm_fimd.c.

#define VIDOSD_B (   win)    (VIDOSD_BASE + 0x04 + (win) * 16)

Definition at line 38 of file exynos_drm_fimd.c.

#define VIDOSD_C (   win)    (VIDOSD_BASE + 0x18 + (win) * 16)

Definition at line 42 of file exynos_drm_fimd.c.

#define VIDOSD_C_SIZE_W0   (VIDOSD_BASE + 0x08)

Definition at line 40 of file exynos_drm_fimd.c.

#define VIDOSD_D (   win)    (VIDOSD_BASE + 0x0C + (win) * 16)

Definition at line 44 of file exynos_drm_fimd.c.

#define VIDWx_BUF_END (   win,
  buf 
)    (VIDW_BUF_END(buf) + (win) * 8)

Definition at line 47 of file exynos_drm_fimd.c.

#define VIDWx_BUF_SIZE (   win,
  buf 
)    (VIDW_BUF_SIZE(buf) + (win) * 4)

Definition at line 48 of file exynos_drm_fimd.c.

#define VIDWx_BUF_START (   win,
  buf 
)    (VIDW_BUF_START(buf) + (win) * 8)

Definition at line 46 of file exynos_drm_fimd.c.

#define WINDOWS_NR   5

Definition at line 56 of file exynos_drm_fimd.c.

#define WKEYCON0_BASE (   x)    ((WKEYCON0 + 0x140) + (x * 8))

Definition at line 51 of file exynos_drm_fimd.c.

#define WKEYCON1_BASE (   x)    ((WKEYCON1 + 0x140) + (x * 8))

Definition at line 53 of file exynos_drm_fimd.c.

Function Documentation

MODULE_DEVICE_TABLE ( platform  ,
fimd_driver_ids   
)

Variable Documentation

struct platform_driver fimd_driver
Initial value:
= {
.probe = fimd_probe,
.remove = __devexit_p(fimd_remove),
.id_table = fimd_driver_ids,
.driver = {
.name = "exynos4-fb",
.owner = THIS_MODULE,
.pm = &fimd_pm_ops,
},
}

Definition at line 1051 of file exynos_drm_fimd.c.