Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sh_mipi_dsi.c File Reference
#include <linux/bitmap.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/module.h>
#include <video/mipi_display.h>
#include <video/sh_mipi_dsi.h>
#include <video/sh_mobile_lcdc.h>
#include "sh_mobile_lcdcfb.h"

Go to the source code of this file.

Data Structures

struct  sh_mipi
 

Macros

#define SYSCTRL   0x0000
 
#define SYSCONF   0x0004
 
#define TIMSET   0x0008
 
#define RESREQSET0   0x0018
 
#define RESREQSET1   0x001c
 
#define HSTTOVSET   0x0020
 
#define LPRTOVSET   0x0024
 
#define TATOVSET   0x0028
 
#define PRTOVSET   0x002c
 
#define DSICTRL   0x0030
 
#define DSIINTE   0x0060
 
#define PHYCTRL   0x0070
 
#define DTCTR   0x0000
 
#define VMCTR1   0x0020
 
#define VMCTR2   0x0024
 
#define VMLEN1   0x0028
 
#define VMLEN2   0x002c
 
#define CMTSRTREQ   0x0070
 
#define CMTSRTCTR   0x00d0
 
#define MAX_SH_MIPI_DSI   2
 
#define to_sh_mipi(e)   container_of(e, struct sh_mipi, entity)
 
#define LCD_CHAN2MIPI(c)
 

Functions

 module_init (sh_mipi_init)
 
 module_exit (sh_mipi_exit)
 
 MODULE_AUTHOR ("Guennadi Liakhovetski <[email protected]>")
 
 MODULE_DESCRIPTION ("SuperH / ARM-shmobile MIPI DSI driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define CMTSRTCTR   0x00d0

Definition at line 49 of file sh_mipi_dsi.c.

#define CMTSRTREQ   0x0070

Definition at line 48 of file sh_mipi_dsi.c.

#define DSICTRL   0x0030

Definition at line 38 of file sh_mipi_dsi.c.

#define DSIINTE   0x0060

Definition at line 39 of file sh_mipi_dsi.c.

#define DTCTR   0x0000

Definition at line 43 of file sh_mipi_dsi.c.

#define HSTTOVSET   0x0020

Definition at line 34 of file sh_mipi_dsi.c.

#define LCD_CHAN2MIPI (   c)
Value:
-EINVAL : (c) - 1)

Definition at line 94 of file sh_mipi_dsi.c.

#define LPRTOVSET   0x0024

Definition at line 35 of file sh_mipi_dsi.c.

#define MAX_SH_MIPI_DSI   2

Definition at line 52 of file sh_mipi_dsi.c.

#define PHYCTRL   0x0070

Definition at line 40 of file sh_mipi_dsi.c.

#define PRTOVSET   0x002c

Definition at line 37 of file sh_mipi_dsi.c.

#define RESREQSET0   0x0018

Definition at line 32 of file sh_mipi_dsi.c.

#define RESREQSET1   0x001c

Definition at line 33 of file sh_mipi_dsi.c.

#define SYSCONF   0x0004

Definition at line 30 of file sh_mipi_dsi.c.

#define SYSCTRL   0x0000

Definition at line 29 of file sh_mipi_dsi.c.

#define TATOVSET   0x0028

Definition at line 36 of file sh_mipi_dsi.c.

#define TIMSET   0x0008

Definition at line 31 of file sh_mipi_dsi.c.

#define to_sh_mipi (   e)    container_of(e, struct sh_mipi, entity)

Definition at line 63 of file sh_mipi_dsi.c.

#define VMCTR1   0x0020

Definition at line 44 of file sh_mipi_dsi.c.

#define VMCTR2   0x0024

Definition at line 45 of file sh_mipi_dsi.c.

#define VMLEN1   0x0028

Definition at line 46 of file sh_mipi_dsi.c.

#define VMLEN2   0x002c

Definition at line 47 of file sh_mipi_dsi.c.

Function Documentation

MODULE_AUTHOR ( "Guennadi Liakhovetski <[email protected]>"  )
MODULE_DESCRIPTION ( "SuperH / ARM-shmobile MIPI DSI driver )
module_exit ( sh_mipi_exit  )
module_init ( sh_mipi_init  )
MODULE_LICENSE ( "GPL v2 )