Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
display.c File Reference
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <video/omapdss.h>
#include <plat/omap_hwmod.h>
#include <plat/omap_device.h>
#include <plat/omap-pm.h>
#include "common.h"
#include "iomap.h"
#include "mux.h"
#include "control.h"
#include "display.h"

Go to the source code of this file.

Data Structures

struct  omap_dss_hwmod_data
 

Macros

#define DISPC_CONTROL   0x0040
 
#define DISPC_CONTROL2   0x0238
 
#define DISPC_CONTROL3   0x0848
 
#define DISPC_IRQSTATUS   0x0018
 
#define DSS_SYSCONFIG   0x10
 
#define DSS_SYSSTATUS   0x14
 
#define DSS_CONTROL   0x40
 
#define DSS_SDI_CONTROL   0x44
 
#define DSS_PLL_CONTROL   0x48
 
#define LCD_EN_MASK   (0x1 << 0)
 
#define DIGIT_EN_MASK   (0x1 << 1)
 
#define FRAMEDONE_IRQ_SHIFT   0
 
#define EVSYNC_EVEN_IRQ_SHIFT   2
 
#define EVSYNC_ODD_IRQ_SHIFT   3
 
#define FRAMEDONE2_IRQ_SHIFT   22
 
#define FRAMEDONE3_IRQ_SHIFT   30
 
#define FRAMEDONETV_IRQ_SHIFT   24
 
#define FRAMEDONE_IRQ_TIMEOUT   100
 
#define MAX_MODULE_SOFTRESET_WAIT   10000
 

Functions

int __init omap_hdmi_init (enum omap_hdmi_flags flags)
 
int __init omap_display_init (struct omap_dss_board_info *board_data)
 
int omap_dss_reset (struct omap_hwmod *oh)
 

Macro Definition Documentation

#define DIGIT_EN_MASK   (0x1 << 1)

Definition at line 50 of file display.c.

#define DISPC_CONTROL   0x0040

Definition at line 38 of file display.c.

#define DISPC_CONTROL2   0x0238

Definition at line 39 of file display.c.

#define DISPC_CONTROL3   0x0848

Definition at line 40 of file display.c.

#define DISPC_IRQSTATUS   0x0018

Definition at line 41 of file display.c.

#define DSS_CONTROL   0x40

Definition at line 45 of file display.c.

#define DSS_PLL_CONTROL   0x48

Definition at line 47 of file display.c.

#define DSS_SDI_CONTROL   0x44

Definition at line 46 of file display.c.

#define DSS_SYSCONFIG   0x10

Definition at line 43 of file display.c.

#define DSS_SYSSTATUS   0x14

Definition at line 44 of file display.c.

#define EVSYNC_EVEN_IRQ_SHIFT   2

Definition at line 53 of file display.c.

#define EVSYNC_ODD_IRQ_SHIFT   3

Definition at line 54 of file display.c.

#define FRAMEDONE2_IRQ_SHIFT   22

Definition at line 55 of file display.c.

#define FRAMEDONE3_IRQ_SHIFT   30

Definition at line 56 of file display.c.

#define FRAMEDONE_IRQ_SHIFT   0

Definition at line 52 of file display.c.

#define FRAMEDONE_IRQ_TIMEOUT   100

Definition at line 63 of file display.c.

#define FRAMEDONETV_IRQ_SHIFT   24

Definition at line 57 of file display.c.

#define LCD_EN_MASK   (0x1 << 0)

Definition at line 49 of file display.c.

#define MAX_MODULE_SOFTRESET_WAIT   10000

Definition at line 476 of file display.c.

Function Documentation

int __init omap_display_init ( struct omap_dss_board_info board_data)

Definition at line 287 of file display.c.

int omap_dss_reset ( struct omap_hwmod oh)

Definition at line 477 of file display.c.

int __init omap_hdmi_init ( enum omap_hdmi_flags  flags)

Definition at line 162 of file display.c.