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

Go to the source code of this file.

Macros

#define CONFIG_CCR3   0xc3
 
#define CONFIG_CCR3_MAPEN   0x10
 
#define CONFIG_GCR   0xb8
 
#define MC_BANK_CFG   0x08
 
#define MC_BCFG_DIMM0_SZ_MASK   0x00000700
 
#define MC_BCFG_DIMM0_PG_SZ_MASK   0x00000070
 
#define MC_BCFG_DIMM0_PG_SZ_NO_DIMM   0x00000070
 
#define MC_GBASE_ADD   0x14
 
#define MC_GADD_GBADD_MASK   0x000003ff
 
#define DC_PAL_ADDRESS   0x70
 
#define DC_PAL_DATA   0x74
 
#define DC_UNLOCK   0x00
 
#define DC_UNLOCK_CODE   0x00004758
 
#define DC_GENERAL_CFG   0x04
 
#define DC_GCFG_DFLE   0x00000001
 
#define DC_GCFG_CURE   0x00000002
 
#define DC_GCFG_VCLK_DIV   0x00000004
 
#define DC_GCFG_PLNO   0x00000004
 
#define DC_GCFG_PPC   0x00000008
 
#define DC_GCFG_CMPE   0x00000010
 
#define DC_GCFG_DECE   0x00000020
 
#define DC_GCFG_DCLK_MASK   0x000000C0
 
#define DC_GCFG_DCLK_DIV_1   0x00000080
 
#define DC_GCFG_DFHPSL_MASK   0x00000F00
 
#define DC_GCFG_DFHPSL_POS   8
 
#define DC_GCFG_DFHPEL_MASK   0x0000F000
 
#define DC_GCFG_DFHPEL_POS   12
 
#define DC_GCFG_CIM_MASK   0x00030000
 
#define DC_GCFG_CIM_POS   16
 
#define DC_GCFG_FDTY   0x00040000
 
#define DC_GCFG_RTPM   0x00080000
 
#define DC_GCFG_DAC_RS_MASK   0x00700000
 
#define DC_GCFG_DAC_RS_POS   20
 
#define DC_GCFG_CKWR   0x00800000
 
#define DC_GCFG_LDBL   0x01000000
 
#define DC_GCFG_DIAG   0x02000000
 
#define DC_GCFG_CH4S   0x04000000
 
#define DC_GCFG_SSLC   0x08000000
 
#define DC_GCFG_VIDE   0x10000000
 
#define DC_GCFG_VRDY   0x20000000
 
#define DC_GCFG_DPCK   0x40000000
 
#define DC_GCFG_DDCK   0x80000000
 
#define DC_TIMING_CFG   0x08
 
#define DC_TCFG_FPPE   0x00000001
 
#define DC_TCFG_HSYE   0x00000002
 
#define DC_TCFG_VSYE   0x00000004
 
#define DC_TCFG_BLKE   0x00000008
 
#define DC_TCFG_DDCK   0x00000010
 
#define DC_TCFG_TGEN   0x00000020
 
#define DC_TCFG_VIEN   0x00000040
 
#define DC_TCFG_BLNK   0x00000080
 
#define DC_TCFG_CHSP   0x00000100
 
#define DC_TCFG_CVSP   0x00000200
 
#define DC_TCFG_FHSP   0x00000400
 
#define DC_TCFG_FVSP   0x00000800
 
#define DC_TCFG_FCEN   0x00001000
 
#define DC_TCFG_CDCE   0x00002000
 
#define DC_TCFG_PLNR   0x00002000
 
#define DC_TCFG_INTL   0x00004000
 
#define DC_TCFG_PXDB   0x00008000
 
#define DC_TCFG_BKRT   0x00010000
 
#define DC_TCFG_PSD_MASK   0x000E0000
 
#define DC_TCFG_PSD_POS   17
 
#define DC_TCFG_DDCI   0x08000000
 
#define DC_TCFG_SENS   0x10000000
 
#define DC_TCFG_DNA   0x20000000
 
#define DC_TCFG_VNA   0x40000000
 
#define DC_TCFG_VINT   0x80000000
 
#define DC_OUTPUT_CFG   0x0C
 
#define DC_OCFG_8BPP   0x00000001
 
#define DC_OCFG_555   0x00000002
 
#define DC_OCFG_PCKE   0x00000004
 
#define DC_OCFG_FRME   0x00000008
 
#define DC_OCFG_DITE   0x00000010
 
#define DC_OCFG_2PXE   0x00000020
 
#define DC_OCFG_2XCK   0x00000040
 
#define DC_OCFG_2IND   0x00000080
 
#define DC_OCFG_34ADD   0x00000100
 
#define DC_OCFG_FRMS   0x00000200
 
#define DC_OCFG_CKSL   0x00000400
 
#define DC_OCFG_PRMP   0x00000800
 
#define DC_OCFG_PDEL   0x00001000
 
#define DC_OCFG_PDEH   0x00002000
 
#define DC_OCFG_CFRW   0x00004000
 
#define DC_OCFG_DIAG   0x00008000
 
#define DC_FB_ST_OFFSET   0x10
 
#define DC_CB_ST_OFFSET   0x14
 
#define DC_CURS_ST_OFFSET   0x18
 
#define DC_ICON_ST_OFFSET   0x1C
 
#define DC_VID_ST_OFFSET   0x20
 
#define DC_LINE_DELTA   0x24
 
#define DC_BUF_SIZE   0x28
 
#define DC_H_TIMING_1   0x30
 
#define DC_H_TIMING_2   0x34
 
#define DC_H_TIMING_3   0x38
 
#define DC_FP_H_TIMING   0x3C
 
#define DC_V_TIMING_1   0x40
 
#define DC_V_TIMING_2   0x44
 
#define DC_V_TIMING_3   0x48
 
#define DC_FP_V_TIMING   0x4C
 
#define DC_CURSOR_X   0x50
 
#define DC_ICON_X   0x54
 
#define DC_V_LINE_CNT   0x54
 
#define DC_CURSOR_Y   0x58
 
#define DC_ICON_Y   0x5C
 
#define DC_SS_LINE_CMP   0x5C
 
#define DC_CURSOR_COLOR   0x60
 
#define DC_ICON_COLOR   0x64
 
#define DC_BORDER_COLOR   0x68
 
#define DC_PAL_ADDRESS   0x70
 
#define DC_PAL_DATA   0x74
 
#define DC_DFIFO_DIAG   0x78
 
#define DC_CFIFO_DIAG   0x7C
 

Functions

unsigned gx1_gx_base (void)
 
int gx1_frame_buffer_size (void)
 

Variables

struct geode_dc_ops gx1_dc_ops
 

Macro Definition Documentation

#define CONFIG_CCR3   0xc3

Definition at line 25 of file display_gx1.h.

#define CONFIG_CCR3_MAPEN   0x10

Definition at line 26 of file display_gx1.h.

#define CONFIG_GCR   0xb8

Definition at line 27 of file display_gx1.h.

#define DC_BORDER_COLOR   0x68

Definition at line 148 of file display_gx1.h.

#define DC_BUF_SIZE   0x28

Definition at line 128 of file display_gx1.h.

#define DC_CB_ST_OFFSET   0x14

Definition at line 123 of file display_gx1.h.

#define DC_CFIFO_DIAG   0x7C

Definition at line 152 of file display_gx1.h.

#define DC_CURS_ST_OFFSET   0x18

Definition at line 124 of file display_gx1.h.

#define DC_CURSOR_COLOR   0x60

Definition at line 146 of file display_gx1.h.

#define DC_CURSOR_X   0x50

Definition at line 140 of file display_gx1.h.

#define DC_CURSOR_Y   0x58

Definition at line 143 of file display_gx1.h.

#define DC_DFIFO_DIAG   0x78

Definition at line 151 of file display_gx1.h.

#define DC_FB_ST_OFFSET   0x10

Definition at line 122 of file display_gx1.h.

#define DC_FP_H_TIMING   0x3C

Definition at line 133 of file display_gx1.h.

#define DC_FP_V_TIMING   0x4C

Definition at line 138 of file display_gx1.h.

#define DC_GCFG_CH4S   0x04000000

Definition at line 70 of file display_gx1.h.

#define DC_GCFG_CIM_MASK   0x00030000

Definition at line 61 of file display_gx1.h.

#define DC_GCFG_CIM_POS   16

Definition at line 62 of file display_gx1.h.

#define DC_GCFG_CKWR   0x00800000

Definition at line 67 of file display_gx1.h.

#define DC_GCFG_CMPE   0x00000010

Definition at line 53 of file display_gx1.h.

#define DC_GCFG_CURE   0x00000002

Definition at line 49 of file display_gx1.h.

#define DC_GCFG_DAC_RS_MASK   0x00700000

Definition at line 65 of file display_gx1.h.

#define DC_GCFG_DAC_RS_POS   20

Definition at line 66 of file display_gx1.h.

#define DC_GCFG_DCLK_DIV_1   0x00000080

Definition at line 56 of file display_gx1.h.

#define DC_GCFG_DCLK_MASK   0x000000C0

Definition at line 55 of file display_gx1.h.

#define DC_GCFG_DDCK   0x80000000

Definition at line 75 of file display_gx1.h.

#define DC_GCFG_DECE   0x00000020

Definition at line 54 of file display_gx1.h.

#define DC_GCFG_DFHPEL_MASK   0x0000F000

Definition at line 59 of file display_gx1.h.

#define DC_GCFG_DFHPEL_POS   12

Definition at line 60 of file display_gx1.h.

#define DC_GCFG_DFHPSL_MASK   0x00000F00

Definition at line 57 of file display_gx1.h.

#define DC_GCFG_DFHPSL_POS   8

Definition at line 58 of file display_gx1.h.

#define DC_GCFG_DFLE   0x00000001

Definition at line 48 of file display_gx1.h.

#define DC_GCFG_DIAG   0x02000000

Definition at line 69 of file display_gx1.h.

#define DC_GCFG_DPCK   0x40000000

Definition at line 74 of file display_gx1.h.

#define DC_GCFG_FDTY   0x00040000

Definition at line 63 of file display_gx1.h.

#define DC_GCFG_LDBL   0x01000000

Definition at line 68 of file display_gx1.h.

#define DC_GCFG_PLNO   0x00000004

Definition at line 51 of file display_gx1.h.

#define DC_GCFG_PPC   0x00000008

Definition at line 52 of file display_gx1.h.

#define DC_GCFG_RTPM   0x00080000

Definition at line 64 of file display_gx1.h.

#define DC_GCFG_SSLC   0x08000000

Definition at line 71 of file display_gx1.h.

#define DC_GCFG_VCLK_DIV   0x00000004

Definition at line 50 of file display_gx1.h.

#define DC_GCFG_VIDE   0x10000000

Definition at line 72 of file display_gx1.h.

#define DC_GCFG_VRDY   0x20000000

Definition at line 73 of file display_gx1.h.

#define DC_GENERAL_CFG   0x04

Definition at line 47 of file display_gx1.h.

#define DC_H_TIMING_1   0x30

Definition at line 130 of file display_gx1.h.

#define DC_H_TIMING_2   0x34

Definition at line 131 of file display_gx1.h.

#define DC_H_TIMING_3   0x38

Definition at line 132 of file display_gx1.h.

#define DC_ICON_COLOR   0x64

Definition at line 147 of file display_gx1.h.

#define DC_ICON_ST_OFFSET   0x1C

Definition at line 125 of file display_gx1.h.

#define DC_ICON_X   0x54

Definition at line 141 of file display_gx1.h.

#define DC_ICON_Y   0x5C

Definition at line 144 of file display_gx1.h.

#define DC_LINE_DELTA   0x24

Definition at line 127 of file display_gx1.h.

#define DC_OCFG_2IND   0x00000080

Definition at line 112 of file display_gx1.h.

#define DC_OCFG_2PXE   0x00000020

Definition at line 110 of file display_gx1.h.

#define DC_OCFG_2XCK   0x00000040

Definition at line 111 of file display_gx1.h.

#define DC_OCFG_34ADD   0x00000100

Definition at line 113 of file display_gx1.h.

#define DC_OCFG_555   0x00000002

Definition at line 106 of file display_gx1.h.

#define DC_OCFG_8BPP   0x00000001

Definition at line 105 of file display_gx1.h.

#define DC_OCFG_CFRW   0x00004000

Definition at line 119 of file display_gx1.h.

#define DC_OCFG_CKSL   0x00000400

Definition at line 115 of file display_gx1.h.

#define DC_OCFG_DIAG   0x00008000

Definition at line 120 of file display_gx1.h.

#define DC_OCFG_DITE   0x00000010

Definition at line 109 of file display_gx1.h.

#define DC_OCFG_FRME   0x00000008

Definition at line 108 of file display_gx1.h.

#define DC_OCFG_FRMS   0x00000200

Definition at line 114 of file display_gx1.h.

#define DC_OCFG_PCKE   0x00000004

Definition at line 107 of file display_gx1.h.

#define DC_OCFG_PDEH   0x00002000

Definition at line 118 of file display_gx1.h.

#define DC_OCFG_PDEL   0x00001000

Definition at line 117 of file display_gx1.h.

#define DC_OCFG_PRMP   0x00000800

Definition at line 116 of file display_gx1.h.

#define DC_OUTPUT_CFG   0x0C

Definition at line 104 of file display_gx1.h.

#define DC_PAL_ADDRESS   0x70

Definition at line 149 of file display_gx1.h.

#define DC_PAL_ADDRESS   0x70

Definition at line 149 of file display_gx1.h.

#define DC_PAL_DATA   0x74

Definition at line 150 of file display_gx1.h.

#define DC_PAL_DATA   0x74

Definition at line 150 of file display_gx1.h.

#define DC_SS_LINE_CMP   0x5C

Definition at line 145 of file display_gx1.h.

#define DC_TCFG_BKRT   0x00010000

Definition at line 95 of file display_gx1.h.

#define DC_TCFG_BLKE   0x00000008

Definition at line 81 of file display_gx1.h.

#define DC_TCFG_BLNK   0x00000080

Definition at line 85 of file display_gx1.h.

#define DC_TCFG_CDCE   0x00002000

Definition at line 91 of file display_gx1.h.

#define DC_TCFG_CHSP   0x00000100

Definition at line 86 of file display_gx1.h.

#define DC_TCFG_CVSP   0x00000200

Definition at line 87 of file display_gx1.h.

#define DC_TCFG_DDCI   0x08000000

Definition at line 98 of file display_gx1.h.

#define DC_TCFG_DDCK   0x00000010

Definition at line 82 of file display_gx1.h.

#define DC_TCFG_DNA   0x20000000

Definition at line 100 of file display_gx1.h.

#define DC_TCFG_FCEN   0x00001000

Definition at line 90 of file display_gx1.h.

#define DC_TCFG_FHSP   0x00000400

Definition at line 88 of file display_gx1.h.

#define DC_TCFG_FPPE   0x00000001

Definition at line 78 of file display_gx1.h.

#define DC_TCFG_FVSP   0x00000800

Definition at line 89 of file display_gx1.h.

#define DC_TCFG_HSYE   0x00000002

Definition at line 79 of file display_gx1.h.

#define DC_TCFG_INTL   0x00004000

Definition at line 93 of file display_gx1.h.

#define DC_TCFG_PLNR   0x00002000

Definition at line 92 of file display_gx1.h.

#define DC_TCFG_PSD_MASK   0x000E0000

Definition at line 96 of file display_gx1.h.

#define DC_TCFG_PSD_POS   17

Definition at line 97 of file display_gx1.h.

#define DC_TCFG_PXDB   0x00008000

Definition at line 94 of file display_gx1.h.

#define DC_TCFG_SENS   0x10000000

Definition at line 99 of file display_gx1.h.

#define DC_TCFG_TGEN   0x00000020

Definition at line 83 of file display_gx1.h.

#define DC_TCFG_VIEN   0x00000040

Definition at line 84 of file display_gx1.h.

#define DC_TCFG_VINT   0x80000000

Definition at line 102 of file display_gx1.h.

#define DC_TCFG_VNA   0x40000000

Definition at line 101 of file display_gx1.h.

#define DC_TCFG_VSYE   0x00000004

Definition at line 80 of file display_gx1.h.

#define DC_TIMING_CFG   0x08

Definition at line 77 of file display_gx1.h.

#define DC_UNLOCK   0x00

Definition at line 44 of file display_gx1.h.

#define DC_UNLOCK_CODE   0x00004758

Definition at line 45 of file display_gx1.h.

#define DC_V_LINE_CNT   0x54

Definition at line 142 of file display_gx1.h.

#define DC_V_TIMING_1   0x40

Definition at line 135 of file display_gx1.h.

#define DC_V_TIMING_2   0x44

Definition at line 136 of file display_gx1.h.

#define DC_V_TIMING_3   0x48

Definition at line 137 of file display_gx1.h.

#define DC_VID_ST_OFFSET   0x20

Definition at line 126 of file display_gx1.h.

#define MC_BANK_CFG   0x08

Definition at line 31 of file display_gx1.h.

#define MC_BCFG_DIMM0_PG_SZ_MASK   0x00000070

Definition at line 33 of file display_gx1.h.

#define MC_BCFG_DIMM0_PG_SZ_NO_DIMM   0x00000070

Definition at line 34 of file display_gx1.h.

#define MC_BCFG_DIMM0_SZ_MASK   0x00000700

Definition at line 32 of file display_gx1.h.

#define MC_GADD_GBADD_MASK   0x000003ff

Definition at line 37 of file display_gx1.h.

#define MC_GBASE_ADD   0x14

Definition at line 36 of file display_gx1.h.

Function Documentation

int gx1_frame_buffer_size ( void  )

Definition at line 53 of file display_gx1.c.

unsigned gx1_gx_base ( void  )

Definition at line 48 of file display_gx1.c.

Variable Documentation

struct geode_dc_ops gx1_dc_ops

Definition at line 211 of file display_gx1.c.