Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
shmob_drm_plane.c File Reference
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_cma_helper.h>
#include <drm/drm_gem_cma_helper.h>
#include <video/sh_mobile_meram.h>
#include "shmob_drm_drv.h"
#include "shmob_drm_kms.h"
#include "shmob_drm_plane.h"
#include "shmob_drm_regs.h"

Go to the source code of this file.

Data Structures

struct  shmob_drm_plane
 

Macros

#define to_shmob_plane(p)   container_of(p, struct shmob_drm_plane, plane)
 
#define plane_reg_dump(sdev, splane, reg)
 

Functions

void shmob_drm_plane_setup (struct drm_plane *plane)
 
int shmob_drm_plane_create (struct shmob_drm_device *sdev, unsigned int index)
 

Macro Definition Documentation

#define plane_reg_dump (   sdev,
  splane,
  reg 
)
Value:
dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x 0x%08x\n", __func__, \
splane->index, #reg, \
lcdc_read(sdev, reg(splane->index)), \
lcdc_read(sdev, reg(splane->index) + LCDC_SIDE_B_OFFSET))
#define to_shmob_plane (   p)    container_of(p, struct shmob_drm_plane, plane)

Definition at line 43 of file shmob_drm_plane.c.

Function Documentation

int shmob_drm_plane_create ( struct shmob_drm_device sdev,
unsigned int  index 
)

Definition at line 249 of file shmob_drm_plane.c.

void shmob_drm_plane_setup ( struct drm_plane plane)

Definition at line 165 of file shmob_drm_plane.c.