Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cm.h File Reference

Go to the source code of this file.

Macros

#define CM_CTRL   __io_address(INTEGRATOR_HDR_CTRL)
 
#define CM_CTRL_LED   (1 << 0)
 
#define CM_CTRL_nMBDET   (1 << 1)
 
#define CM_CTRL_REMAP   (1 << 2)
 
#define CM_CTRL_RESET   (1 << 3)
 
#define CM_CTRL_HIGHVECTORS   (1 << 4)
 
#define CM_CTRL_BIGENDIAN   (1 << 5)
 
#define CM_CTRL_FASTBUS   (1 << 6)
 
#define CM_CTRL_SYNC   (1 << 7)
 
#define CM_CTRL_LCDBIASEN   (1 << 8)
 
#define CM_CTRL_LCDBIASUP   (1 << 9)
 
#define CM_CTRL_LCDBIASDN   (1 << 10)
 
#define CM_CTRL_LCDMUXSEL_MASK   (7 << 11)
 
#define CM_CTRL_LCDMUXSEL_GENLCD   (1 << 11)
 
#define CM_CTRL_LCDMUXSEL_VGA565_TFT555   (2 << 11)
 
#define CM_CTRL_LCDMUXSEL_SHARPLCD   (3 << 11)
 
#define CM_CTRL_LCDMUXSEL_VGA555_TFT555   (4 << 11)
 
#define CM_CTRL_LCDEN0   (1 << 14)
 
#define CM_CTRL_LCDEN1   (1 << 15)
 
#define CM_CTRL_STATIC1   (1 << 16)
 
#define CM_CTRL_STATIC2   (1 << 17)
 
#define CM_CTRL_STATIC   (1 << 18)
 
#define CM_CTRL_n24BITEN   (1 << 19)
 
#define CM_CTRL_EBIWP   (1 << 20)
 

Functions

void cm_control (u32, u32)
 

Macro Definition Documentation

#define CM_CTRL   __io_address(INTEGRATOR_HDR_CTRL)

Definition at line 6 of file cm.h.

#define CM_CTRL_BIGENDIAN   (1 << 5)

Definition at line 17 of file cm.h.

#define CM_CTRL_EBIWP   (1 << 20)

Definition at line 38 of file cm.h.

#define CM_CTRL_FASTBUS   (1 << 6)

Definition at line 18 of file cm.h.

#define CM_CTRL_HIGHVECTORS   (1 << 4)

Definition at line 16 of file cm.h.

#define CM_CTRL_LCDBIASDN   (1 << 10)

Definition at line 26 of file cm.h.

#define CM_CTRL_LCDBIASEN   (1 << 8)

Definition at line 24 of file cm.h.

#define CM_CTRL_LCDBIASUP   (1 << 9)

Definition at line 25 of file cm.h.

#define CM_CTRL_LCDEN0   (1 << 14)

Definition at line 32 of file cm.h.

#define CM_CTRL_LCDEN1   (1 << 15)

Definition at line 33 of file cm.h.

#define CM_CTRL_LCDMUXSEL_GENLCD   (1 << 11)

Definition at line 28 of file cm.h.

#define CM_CTRL_LCDMUXSEL_MASK   (7 << 11)

Definition at line 27 of file cm.h.

#define CM_CTRL_LCDMUXSEL_SHARPLCD   (3 << 11)

Definition at line 30 of file cm.h.

#define CM_CTRL_LCDMUXSEL_VGA555_TFT555   (4 << 11)

Definition at line 31 of file cm.h.

#define CM_CTRL_LCDMUXSEL_VGA565_TFT555   (2 << 11)

Definition at line 29 of file cm.h.

#define CM_CTRL_LED   (1 << 0)

Definition at line 8 of file cm.h.

#define CM_CTRL_n24BITEN   (1 << 19)

Definition at line 37 of file cm.h.

#define CM_CTRL_nMBDET   (1 << 1)

Definition at line 9 of file cm.h.

#define CM_CTRL_REMAP   (1 << 2)

Definition at line 10 of file cm.h.

#define CM_CTRL_RESET   (1 << 3)

Definition at line 11 of file cm.h.

#define CM_CTRL_STATIC   (1 << 18)

Definition at line 36 of file cm.h.

#define CM_CTRL_STATIC1   (1 << 16)

Definition at line 34 of file cm.h.

#define CM_CTRL_STATIC2   (1 << 17)

Definition at line 35 of file cm.h.

#define CM_CTRL_SYNC   (1 << 7)

Definition at line 19 of file cm.h.

Function Documentation

void cm_control ( u32  mask,
u32  set 
)

cm_control - update the CM_CTRL register. : bits to change : bits to set

Definition at line 142 of file core.c.