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

Go to the source code of this file.

Macros

#define SOFT_RESET_REG   0x0000 /* Software reset reg */
 
#define INTEN_REG   0x0004 /* Interrupt Enable reg */
 
#define INTC_PEND_REG   0x000C /* Interrupt Control Pending reg */
 
#define FIFO_STAT_REG   0x0010 /* Command FIFO Status reg */
 
#define AXI_ID_MODE_REG   0x0014 /* AXI Read ID Mode reg */
 
#define CACHECTL_REG   0x0018 /* Cache & Buffer clear reg */
 
#define AXI_MODE_REG   0x001C /* AXI Mode reg */
 
#define BITBLT_START_REG   0x0100 /* BitBLT Start reg */
 
#define BITBLT_COMMAND_REG   0x0104 /* Command reg for BitBLT */
 
#define ROTATE_REG   0x0200 /* Rotation reg */
 
#define SRC_MSK_DIRECT_REG   0x0204 /* Src and Mask Direction reg */
 
#define DST_PAT_DIRECT_REG   0x0208 /* Dest and Pattern Direction reg */
 
#define SRC_SELECT_REG   0x0300 /* Src Image Selection reg */
 
#define SRC_BASE_ADDR_REG   0x0304 /* Src Image Base Address reg */
 
#define SRC_STRIDE_REG   0x0308 /* Src Stride reg */
 
#define SRC_COLOR_MODE_REG   0x030C /* Src Image Color Mode reg */
 
#define SRC_LEFT_TOP_REG   0x0310 /* Src Left Top Coordinate reg */
 
#define SRC_RIGHT_BOTTOM_REG   0x0314 /* Src Right Bottom Coordinate reg */
 
#define DST_SELECT_REG   0x0400 /* Dest Image Selection reg */
 
#define DST_BASE_ADDR_REG   0x0404 /* Dest Image Base Address reg */
 
#define DST_STRIDE_REG   0x0408 /* Dest Stride reg */
 
#define DST_COLOR_MODE_REG   0x040C /* Dest Image Color Mode reg */
 
#define DST_LEFT_TOP_REG   0x0410 /* Dest Left Top Coordinate reg */
 
#define DST_RIGHT_BOTTOM_REG   0x0414 /* Dest Right Bottom Coordinate reg */
 
#define PAT_BASE_ADDR_REG   0x0500 /* Pattern Image Base Address reg */
 
#define PAT_SIZE_REG   0x0504 /* Pattern Image Size reg */
 
#define PAT_COLOR_MODE_REG   0x0508 /* Pattern Image Color Mode reg */
 
#define PAT_OFFSET_REG   0x050C /* Pattern Left Top Coordinate reg */
 
#define PAT_STRIDE_REG   0x0510 /* Pattern Stride reg */
 
#define MASK_BASE_ADDR_REG   0x0520 /* Mask Base Address reg */
 
#define MASK_STRIDE_REG   0x0524 /* Mask Stride reg */
 
#define CW_LT_REG   0x0600 /* LeftTop coordinates of Clip Window */
 
#define CW_RB_REG
 
#define THIRD_OPERAND_REG   0x0610 /* Third Operand Selection reg */
 
#define ROP4_REG   0x0614 /* Raster Operation reg */
 
#define ALPHA_REG   0x0618 /* Alpha value, Fading offset value */
 
#define FG_COLOR_REG   0x0700 /* Foreground Color reg */
 
#define BG_COLOR_REG   0x0704 /* Background Color reg */
 
#define BS_COLOR_REG   0x0708 /* Blue Screen Color reg */
 
#define SRC_COLORKEY_CTRL_REG   0x0710 /* Src Colorkey control reg */
 
#define SRC_COLORKEY_DR_MIN_REG
 
#define SRC_COLORKEY_DR_MAX_REG
 
#define DST_COLORKEY_CTRL_REG   0x071C /* Dest Colorkey control reg */
 
#define DST_COLORKEY_DR_MIN_REG
 
#define DST_COLORKEY_DR_MAX_REG
 
#define ORDER_XRGB   0
 
#define ORDER_RGBX   1
 
#define ORDER_XBGR   2
 
#define ORDER_BGRX   3
 
#define MODE_XRGB_8888   0
 
#define MODE_ARGB_8888   1
 
#define MODE_RGB_565   2
 
#define MODE_XRGB_1555   3
 
#define MODE_ARGB_1555   4
 
#define MODE_XRGB_4444   5
 
#define MODE_ARGB_4444   6
 
#define MODE_PACKED_RGB_888   7
 
#define COLOR_MODE(o, m)   (((o) << 4) | (m))
 
#define ROP4_COPY   0xCCCC
 
#define ROP4_INVERT   0x3333
 
#define MAX_WIDTH   8000
 
#define MAX_HEIGHT   8000
 
#define G2D_TIMEOUT   500
 
#define DEFAULT_WIDTH   100
 
#define DEFAULT_HEIGHT   100
 

Macro Definition Documentation

#define ALPHA_REG   0x0618 /* Alpha value, Fading offset value */

Definition at line 65 of file g2d-regs.h.

#define AXI_ID_MODE_REG   0x0014 /* AXI Read ID Mode reg */

Definition at line 18 of file g2d-regs.h.

#define AXI_MODE_REG   0x001C /* AXI Mode reg */

Definition at line 20 of file g2d-regs.h.

#define BG_COLOR_REG   0x0704 /* Background Color reg */

Definition at line 69 of file g2d-regs.h.

#define BITBLT_COMMAND_REG   0x0104 /* Command reg for BitBLT */

Definition at line 24 of file g2d-regs.h.

#define BITBLT_START_REG   0x0100 /* BitBLT Start reg */

Definition at line 23 of file g2d-regs.h.

#define BS_COLOR_REG   0x0708 /* Blue Screen Color reg */

Definition at line 70 of file g2d-regs.h.

#define CACHECTL_REG   0x0018 /* Cache & Buffer clear reg */

Definition at line 19 of file g2d-regs.h.

#define COLOR_MODE (   o,
  m 
)    (((o) << 4) | (m))

Definition at line 96 of file g2d-regs.h.

#define CW_LT_REG   0x0600 /* LeftTop coordinates of Clip Window */

Definition at line 59 of file g2d-regs.h.

#define CW_RB_REG
Value:
0x0604 /* RightBottom coordinates of Clip
Window */

Definition at line 60 of file g2d-regs.h.

#define DEFAULT_HEIGHT   100

Definition at line 109 of file g2d-regs.h.

#define DEFAULT_WIDTH   100

Definition at line 108 of file g2d-regs.h.

#define DST_BASE_ADDR_REG   0x0404 /* Dest Image Base Address reg */

Definition at line 41 of file g2d-regs.h.

#define DST_COLOR_MODE_REG   0x040C /* Dest Image Color Mode reg */

Definition at line 43 of file g2d-regs.h.

#define DST_COLORKEY_CTRL_REG   0x071C /* Dest Colorkey control reg */

Definition at line 76 of file g2d-regs.h.

#define DST_COLORKEY_DR_MAX_REG
Value:
0x0724 /* Dest Colorkey Decision Reference
Max reg */

Definition at line 78 of file g2d-regs.h.

#define DST_COLORKEY_DR_MIN_REG
Value:
0x0720 /* Dest Colorkey Decision Reference
Min reg */

Definition at line 77 of file g2d-regs.h.

#define DST_LEFT_TOP_REG   0x0410 /* Dest Left Top Coordinate reg */

Definition at line 44 of file g2d-regs.h.

#define DST_PAT_DIRECT_REG   0x0208 /* Dest and Pattern Direction reg */

Definition at line 29 of file g2d-regs.h.

#define DST_RIGHT_BOTTOM_REG   0x0414 /* Dest Right Bottom Coordinate reg */

Definition at line 45 of file g2d-regs.h.

#define DST_SELECT_REG   0x0400 /* Dest Image Selection reg */

Definition at line 40 of file g2d-regs.h.

#define DST_STRIDE_REG   0x0408 /* Dest Stride reg */

Definition at line 42 of file g2d-regs.h.

#define FG_COLOR_REG   0x0700 /* Foreground Color reg */

Definition at line 68 of file g2d-regs.h.

#define FIFO_STAT_REG   0x0010 /* Command FIFO Status reg */

Definition at line 17 of file g2d-regs.h.

#define G2D_TIMEOUT   500

Definition at line 106 of file g2d-regs.h.

#define INTC_PEND_REG   0x000C /* Interrupt Control Pending reg */

Definition at line 16 of file g2d-regs.h.

#define INTEN_REG   0x0004 /* Interrupt Enable reg */

Definition at line 15 of file g2d-regs.h.

#define MASK_BASE_ADDR_REG   0x0520 /* Mask Base Address reg */

Definition at line 55 of file g2d-regs.h.

#define MASK_STRIDE_REG   0x0524 /* Mask Stride reg */

Definition at line 56 of file g2d-regs.h.

#define MAX_HEIGHT   8000

Definition at line 104 of file g2d-regs.h.

#define MAX_WIDTH   8000

Definition at line 103 of file g2d-regs.h.

#define MODE_ARGB_1555   4

Definition at line 91 of file g2d-regs.h.

#define MODE_ARGB_4444   6

Definition at line 93 of file g2d-regs.h.

#define MODE_ARGB_8888   1

Definition at line 88 of file g2d-regs.h.

#define MODE_PACKED_RGB_888   7

Definition at line 94 of file g2d-regs.h.

#define MODE_RGB_565   2

Definition at line 89 of file g2d-regs.h.

#define MODE_XRGB_1555   3

Definition at line 90 of file g2d-regs.h.

#define MODE_XRGB_4444   5

Definition at line 92 of file g2d-regs.h.

#define MODE_XRGB_8888   0

Definition at line 87 of file g2d-regs.h.

#define ORDER_BGRX   3

Definition at line 85 of file g2d-regs.h.

#define ORDER_RGBX   1

Definition at line 83 of file g2d-regs.h.

#define ORDER_XBGR   2

Definition at line 84 of file g2d-regs.h.

#define ORDER_XRGB   0

Definition at line 82 of file g2d-regs.h.

#define PAT_BASE_ADDR_REG   0x0500 /* Pattern Image Base Address reg */

Definition at line 48 of file g2d-regs.h.

#define PAT_COLOR_MODE_REG   0x0508 /* Pattern Image Color Mode reg */

Definition at line 50 of file g2d-regs.h.

#define PAT_OFFSET_REG   0x050C /* Pattern Left Top Coordinate reg */

Definition at line 51 of file g2d-regs.h.

#define PAT_SIZE_REG   0x0504 /* Pattern Image Size reg */

Definition at line 49 of file g2d-regs.h.

#define PAT_STRIDE_REG   0x0510 /* Pattern Stride reg */

Definition at line 52 of file g2d-regs.h.

#define ROP4_COPY   0xCCCC

Definition at line 99 of file g2d-regs.h.

#define ROP4_INVERT   0x3333

Definition at line 100 of file g2d-regs.h.

#define ROP4_REG   0x0614 /* Raster Operation reg */

Definition at line 64 of file g2d-regs.h.

#define ROTATE_REG   0x0200 /* Rotation reg */

Definition at line 27 of file g2d-regs.h.

#define SOFT_RESET_REG   0x0000 /* Software reset reg */

Definition at line 14 of file g2d-regs.h.

#define SRC_BASE_ADDR_REG   0x0304 /* Src Image Base Address reg */

Definition at line 33 of file g2d-regs.h.

#define SRC_COLOR_MODE_REG   0x030C /* Src Image Color Mode reg */

Definition at line 35 of file g2d-regs.h.

#define SRC_COLORKEY_CTRL_REG   0x0710 /* Src Colorkey control reg */

Definition at line 73 of file g2d-regs.h.

#define SRC_COLORKEY_DR_MAX_REG
Value:
0x0718 /* Src Colorkey Decision Reference
Max reg */

Definition at line 75 of file g2d-regs.h.

#define SRC_COLORKEY_DR_MIN_REG
Value:
0x0714 /* Src Colorkey Decision Reference
Min reg */

Definition at line 74 of file g2d-regs.h.

#define SRC_LEFT_TOP_REG   0x0310 /* Src Left Top Coordinate reg */

Definition at line 36 of file g2d-regs.h.

#define SRC_MSK_DIRECT_REG   0x0204 /* Src and Mask Direction reg */

Definition at line 28 of file g2d-regs.h.

#define SRC_RIGHT_BOTTOM_REG   0x0314 /* Src Right Bottom Coordinate reg */

Definition at line 37 of file g2d-regs.h.

#define SRC_SELECT_REG   0x0300 /* Src Image Selection reg */

Definition at line 32 of file g2d-regs.h.

#define SRC_STRIDE_REG   0x0308 /* Src Stride reg */

Definition at line 34 of file g2d-regs.h.

#define THIRD_OPERAND_REG   0x0610 /* Third Operand Selection reg */

Definition at line 63 of file g2d-regs.h.