Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cm.h
Go to the documentation of this file.
1 /*
2  * update the core module control register.
3  */
4 void cm_control(u32, u32);
5 
6 #define CM_CTRL __io_address(INTEGRATOR_HDR_CTRL)
7 
8 #define CM_CTRL_LED (1 << 0)
9 #define CM_CTRL_nMBDET (1 << 1)
10 #define CM_CTRL_REMAP (1 << 2)
11 #define CM_CTRL_RESET (1 << 3)
12 
13 /*
14  * Integrator/AP,PP2 specific
15  */
16 #define CM_CTRL_HIGHVECTORS (1 << 4)
17 #define CM_CTRL_BIGENDIAN (1 << 5)
18 #define CM_CTRL_FASTBUS (1 << 6)
19 #define CM_CTRL_SYNC (1 << 7)
20 
21 /*
22  * ARM926/946/966 Integrator/CP specific
23  */
24 #define CM_CTRL_LCDBIASEN (1 << 8)
25 #define CM_CTRL_LCDBIASUP (1 << 9)
26 #define CM_CTRL_LCDBIASDN (1 << 10)
27 #define CM_CTRL_LCDMUXSEL_MASK (7 << 11)
28 #define CM_CTRL_LCDMUXSEL_GENLCD (1 << 11)
29 #define CM_CTRL_LCDMUXSEL_VGA565_TFT555 (2 << 11)
30 #define CM_CTRL_LCDMUXSEL_SHARPLCD (3 << 11)
31 #define CM_CTRL_LCDMUXSEL_VGA555_TFT555 (4 << 11)
32 #define CM_CTRL_LCDEN0 (1 << 14)
33 #define CM_CTRL_LCDEN1 (1 << 15)
34 #define CM_CTRL_STATIC1 (1 << 16)
35 #define CM_CTRL_STATIC2 (1 << 17)
36 #define CM_CTRL_STATIC (1 << 18)
37 #define CM_CTRL_n24BITEN (1 << 19)
38 #define CM_CTRL_EBIWP (1 << 20)