Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
shmob_drm_crtc.c File Reference
#include <linux/backlight.h>
#include <linux/clk.h>
#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_backlight.h"
#include "shmob_drm_crtc.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.

Macros

#define to_shmob_crtc(c)   container_of(c, struct shmob_drm_crtc, crtc)
 
#define to_shmob_encoder(e)   container_of(e, struct shmob_drm_encoder, encoder)
 
#define to_shmob_connector(c)   container_of(c, struct shmob_drm_connector, connector)
 

Functions

void shmob_drm_crtc_suspend (struct shmob_drm_crtc *scrtc)
 
void shmob_drm_crtc_resume (struct shmob_drm_crtc *scrtc)
 
void shmob_drm_crtc_cancel_page_flip (struct shmob_drm_crtc *scrtc, struct drm_file *file)
 
void shmob_drm_crtc_finish_page_flip (struct shmob_drm_crtc *scrtc)
 
int shmob_drm_crtc_create (struct shmob_drm_device *sdev)
 
int shmob_drm_encoder_create (struct shmob_drm_device *sdev)
 
void shmob_drm_crtc_enable_vblank (struct shmob_drm_device *sdev, bool enable)
 
int shmob_drm_connector_create (struct shmob_drm_device *sdev, struct drm_encoder *encoder)
 

Macro Definition Documentation

#define to_shmob_connector (   c)    container_of(c, struct shmob_drm_connector, connector)

Definition at line 644 of file shmob_drm_crtc.c.

#define to_shmob_crtc (   c)    container_of(c, struct shmob_drm_crtc, crtc)

Definition at line 334 of file shmob_drm_crtc.c.

#define to_shmob_encoder (   e)    container_of(e, struct shmob_drm_encoder, encoder)

Definition at line 532 of file shmob_drm_crtc.c.

Function Documentation

int shmob_drm_connector_create ( struct shmob_drm_device sdev,
struct drm_encoder encoder 
)

Definition at line 719 of file shmob_drm_crtc.c.

void shmob_drm_crtc_cancel_page_flip ( struct shmob_drm_crtc scrtc,
struct drm_file *  file 
)

Definition at line 430 of file shmob_drm_crtc.c.

int shmob_drm_crtc_create ( struct shmob_drm_device sdev)

Definition at line 512 of file shmob_drm_crtc.c.

void shmob_drm_crtc_enable_vblank ( struct shmob_drm_device sdev,
bool  enable 
)

Definition at line 624 of file shmob_drm_crtc.c.

void shmob_drm_crtc_finish_page_flip ( struct shmob_drm_crtc scrtc)

Definition at line 450 of file shmob_drm_crtc.c.

void shmob_drm_crtc_resume ( struct shmob_drm_crtc scrtc)

Definition at line 284 of file shmob_drm_crtc.c.

void shmob_drm_crtc_suspend ( struct shmob_drm_crtc scrtc)

Definition at line 279 of file shmob_drm_crtc.c.

int shmob_drm_encoder_create ( struct shmob_drm_device sdev)

Definition at line 605 of file shmob_drm_crtc.c.