Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
exynos_drm_drv.h File Reference
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  exynos_drm_overlay_ops
 
struct  exynos_drm_overlay
 
struct  exynos_drm_display_ops
 
struct  exynos_drm_manager_ops
 
struct  exynos_drm_manager
 
struct  exynos_drm_g2d_private
 
struct  drm_exynos_file_private
 
struct  exynos_drm_private
 
struct  exynos_drm_subdrv
 

Macros

#define MAX_CRTC   3
 
#define MAX_PLANE   5
 
#define MAX_FB_BUFFER   4
 
#define DEFAULT_ZPOS   -1
 
#define _wait_for(COND, MS)
 
#define wait_for(COND, MS)   _wait_for(COND, MS)
 

Enumerations

enum  exynos_drm_output_type { EXYNOS_DISPLAY_TYPE_NONE, EXYNOS_DISPLAY_TYPE_LCD, EXYNOS_DISPLAY_TYPE_HDMI, EXYNOS_DISPLAY_TYPE_VIDI }
 

Functions

int exynos_drm_device_register (struct drm_device *dev)
 
int exynos_drm_device_unregister (struct drm_device *dev)
 
int exynos_drm_subdrv_register (struct exynos_drm_subdrv *drm_subdrv)
 
int exynos_drm_subdrv_unregister (struct exynos_drm_subdrv *drm_subdrv)
 
int exynos_drm_subdrv_open (struct drm_device *dev, struct drm_file *file)
 
void exynos_drm_subdrv_close (struct drm_device *dev, struct drm_file *file)
 

Variables

unsigned int drm_vblank_offdelay
 
struct platform_driver fimd_driver
 
struct platform_driver hdmi_driver
 
struct platform_driver mixer_driver
 
struct platform_driver exynos_drm_common_hdmi_driver
 
struct platform_driver vidi_driver
 
struct platform_driver g2d_driver
 

Macro Definition Documentation

#define _wait_for (   COND,
  MS 
)
Value:
({ \
unsigned long timeout__ = jiffies + msecs_to_jiffies(MS); \
int ret__ = 0; \
while (!(COND)) { \
if (time_after(jiffies, timeout__)) { \
ret__ = -ETIMEDOUT; \
break; \
} \
} \
ret__; \
})

Definition at line 39 of file exynos_drm_drv.h.

#define DEFAULT_ZPOS   -1

Definition at line 37 of file exynos_drm_drv.h.

#define MAX_CRTC   3

Definition at line 34 of file exynos_drm_drv.h.

#define MAX_FB_BUFFER   4

Definition at line 36 of file exynos_drm_drv.h.

#define MAX_PLANE   5

Definition at line 35 of file exynos_drm_drv.h.

#define wait_for (   COND,
  MS 
)    _wait_for(COND, MS)

Definition at line 51 of file exynos_drm_drv.h.

Enumeration Type Documentation

Enumerator:
EXYNOS_DISPLAY_TYPE_NONE 
EXYNOS_DISPLAY_TYPE_LCD 
EXYNOS_DISPLAY_TYPE_HDMI 
EXYNOS_DISPLAY_TYPE_VIDI 

Definition at line 60 of file exynos_drm_drv.h.

Function Documentation

int exynos_drm_device_register ( struct drm_device dev)

Definition at line 125 of file exynos_drm_core.c.

int exynos_drm_device_unregister ( struct drm_device dev)

Definition at line 171 of file exynos_drm_core.c.

void exynos_drm_subdrv_close ( struct drm_device dev,
struct drm_file *  file 
)

Definition at line 241 of file exynos_drm_core.c.

int exynos_drm_subdrv_open ( struct drm_device dev,
struct drm_file *  file 
)

Definition at line 217 of file exynos_drm_core.c.

int exynos_drm_subdrv_register ( struct exynos_drm_subdrv drm_subdrv)

Definition at line 191 of file exynos_drm_core.c.

int exynos_drm_subdrv_unregister ( struct exynos_drm_subdrv drm_subdrv)

Definition at line 204 of file exynos_drm_core.c.

Variable Documentation

unsigned int drm_vblank_offdelay

Definition at line 43 of file drm_stub.c.

struct platform_driver exynos_drm_common_hdmi_driver

Definition at line 390 of file exynos_drm_hdmi.c.

struct platform_driver fimd_driver

Definition at line 1051 of file exynos_drm_fimd.c.

struct platform_driver g2d_driver

Definition at line 900 of file exynos_drm_g2d.c.

struct platform_driver hdmi_driver

Definition at line 2537 of file exynos_hdmi.c.

struct platform_driver mixer_driver

Definition at line 1213 of file exynos_mixer.c.

struct platform_driver vidi_driver

Definition at line 706 of file exynos_drm_vidi.c.