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

Go to the source code of this file.

Data Structures

struct  dcon_priv
 
struct  dcon_platform_data
 

Macros

#define DCON_REG_ID   0
 
#define DCON_REG_MODE   1
 
#define MODE_PASSTHRU   (1<<0)
 
#define MODE_SLEEP   (1<<1)
 
#define MODE_SLEEP_AUTO   (1<<2)
 
#define MODE_BL_ENABLE   (1<<3)
 
#define MODE_BLANK   (1<<4)
 
#define MODE_CSWIZZLE   (1<<5)
 
#define MODE_COL_AA   (1<<6)
 
#define MODE_MONO_LUMA   (1<<7)
 
#define MODE_SCAN_INT   (1<<8)
 
#define MODE_CLOCKDIV   (1<<9)
 
#define MODE_DEBUG   (1<<14)
 
#define MODE_SELFTEST   (1<<15)
 
#define DCON_REG_HRES   2
 
#define DCON_REG_HTOTAL   3
 
#define DCON_REG_HSYNC_WIDTH   4
 
#define DCON_REG_VRES   5
 
#define DCON_REG_VTOTAL   6
 
#define DCON_REG_VSYNC_WIDTH   7
 
#define DCON_REG_TIMEOUT   8
 
#define DCON_REG_SCAN_INT   9
 
#define DCON_REG_BRIGHT   10
 
#define DCONSTAT_SCANINT   0
 
#define DCONSTAT_SCANINT_DCON   1
 
#define DCONSTAT_DISPLAYLOAD   2
 
#define DCONSTAT_MISSED   3
 
#define DCON_SOURCE_DCON   0
 
#define DCON_SOURCE_CPU   1
 
#define DCON_IRQ   6
 

Functions

irqreturn_t dcon_interrupt (int irq, void *id)
 

Macro Definition Documentation

#define DCON_IRQ   6

Definition at line 48 of file olpc_dcon.h.

#define DCON_REG_BRIGHT   10

Definition at line 33 of file olpc_dcon.h.

#define DCON_REG_HRES   2

Definition at line 25 of file olpc_dcon.h.

#define DCON_REG_HSYNC_WIDTH   4

Definition at line 27 of file olpc_dcon.h.

#define DCON_REG_HTOTAL   3

Definition at line 26 of file olpc_dcon.h.

#define DCON_REG_ID   0

Definition at line 9 of file olpc_dcon.h.

#define DCON_REG_MODE   1

Definition at line 10 of file olpc_dcon.h.

#define DCON_REG_SCAN_INT   9

Definition at line 32 of file olpc_dcon.h.

#define DCON_REG_TIMEOUT   8

Definition at line 31 of file olpc_dcon.h.

#define DCON_REG_VRES   5

Definition at line 28 of file olpc_dcon.h.

#define DCON_REG_VSYNC_WIDTH   7

Definition at line 30 of file olpc_dcon.h.

#define DCON_REG_VTOTAL   6

Definition at line 29 of file olpc_dcon.h.

#define DCON_SOURCE_CPU   1

Definition at line 45 of file olpc_dcon.h.

#define DCON_SOURCE_DCON   0

Definition at line 44 of file olpc_dcon.h.

#define DCONSTAT_DISPLAYLOAD   2

Definition at line 39 of file olpc_dcon.h.

#define DCONSTAT_MISSED   3

Definition at line 40 of file olpc_dcon.h.

#define DCONSTAT_SCANINT   0

Definition at line 37 of file olpc_dcon.h.

#define DCONSTAT_SCANINT_DCON   1

Definition at line 38 of file olpc_dcon.h.

#define MODE_BL_ENABLE   (1<<3)

Definition at line 15 of file olpc_dcon.h.

#define MODE_BLANK   (1<<4)

Definition at line 16 of file olpc_dcon.h.

#define MODE_CLOCKDIV   (1<<9)

Definition at line 21 of file olpc_dcon.h.

#define MODE_COL_AA   (1<<6)

Definition at line 18 of file olpc_dcon.h.

#define MODE_CSWIZZLE   (1<<5)

Definition at line 17 of file olpc_dcon.h.

#define MODE_DEBUG   (1<<14)

Definition at line 22 of file olpc_dcon.h.

#define MODE_MONO_LUMA   (1<<7)

Definition at line 19 of file olpc_dcon.h.

#define MODE_PASSTHRU   (1<<0)

Definition at line 12 of file olpc_dcon.h.

#define MODE_SCAN_INT   (1<<8)

Definition at line 20 of file olpc_dcon.h.

#define MODE_SELFTEST   (1<<15)

Definition at line 23 of file olpc_dcon.h.

#define MODE_SLEEP   (1<<1)

Definition at line 13 of file olpc_dcon.h.

#define MODE_SLEEP_AUTO   (1<<2)

Definition at line 14 of file olpc_dcon.h.

Function Documentation

irqreturn_t dcon_interrupt ( int  irq,
void id 
)

Definition at line 750 of file olpc_dcon.c.