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

Go to the source code of this file.

Data Structures

struct  sgi_gbe
 
struct  gbe_timing_info
 

Macros

#define MASK(msb, lsb)   ( (((u32)1<<((msb)-(lsb)+1))-1) << (lsb) )
 
#define GET(v, msb, lsb)   ( ((u32)(v) & MASK(msb,lsb)) >> (lsb) )
 
#define SET(v, f, msb, lsb)   ( (v) = ((v)&~MASK(msb,lsb)) | (( (u32)(f)<<(lsb) ) & MASK(msb,lsb)) )
 
#define GET_GBE_FIELD(reg, field, v)   GET((v), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
 
#define SET_GBE_FIELD(reg, field, v, f)   SET((v), (f), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
 
#define GBE_CTRLSTAT_CHIPID_MSB   3
 
#define GBE_CTRLSTAT_CHIPID_LSB   0
 
#define GBE_CTRLSTAT_SENSE_N_MSB   4
 
#define GBE_CTRLSTAT_SENSE_N_LSB   4
 
#define GBE_CTRLSTAT_PCLKSEL_MSB   29
 
#define GBE_CTRLSTAT_PCLKSEL_LSB   28
 
#define GBE_DOTCLK_M_MSB   7
 
#define GBE_DOTCLK_M_LSB   0
 
#define GBE_DOTCLK_N_MSB   13
 
#define GBE_DOTCLK_N_LSB   8
 
#define GBE_DOTCLK_P_MSB   15
 
#define GBE_DOTCLK_P_LSB   14
 
#define GBE_DOTCLK_RUN_MSB   20
 
#define GBE_DOTCLK_RUN_LSB   20
 
#define GBE_VT_XY_Y_MSB   23
 
#define GBE_VT_XY_Y_LSB   12
 
#define GBE_VT_XY_X_MSB   11
 
#define GBE_VT_XY_X_LSB   0
 
#define GBE_VT_XY_FREEZE_MSB   31
 
#define GBE_VT_XY_FREEZE_LSB   31
 
#define GBE_FP_VDRV_ON_MSB   23
 
#define GBE_FP_VDRV_ON_LSB   12
 
#define GBE_FP_VDRV_OFF_MSB   11
 
#define GBE_FP_VDRV_OFF_LSB   0
 
#define GBE_FP_HDRV_ON_MSB   23
 
#define GBE_FP_HDRV_ON_LSB   12
 
#define GBE_FP_HDRV_OFF_MSB   11
 
#define GBE_FP_HDRV_OFF_LSB   0
 
#define GBE_FP_DE_ON_MSB   23
 
#define GBE_FP_DE_ON_LSB   12
 
#define GBE_FP_DE_OFF_MSB   11
 
#define GBE_FP_DE_OFF_LSB   0
 
#define GBE_VT_VSYNC_VSYNC_ON_MSB   23
 
#define GBE_VT_VSYNC_VSYNC_ON_LSB   12
 
#define GBE_VT_VSYNC_VSYNC_OFF_MSB   11
 
#define GBE_VT_VSYNC_VSYNC_OFF_LSB   0
 
#define GBE_VT_HSYNC_HSYNC_ON_MSB   23
 
#define GBE_VT_HSYNC_HSYNC_ON_LSB   12
 
#define GBE_VT_HSYNC_HSYNC_OFF_MSB   11
 
#define GBE_VT_HSYNC_HSYNC_OFF_LSB   0
 
#define GBE_VT_VBLANK_VBLANK_ON_MSB   23
 
#define GBE_VT_VBLANK_VBLANK_ON_LSB   12
 
#define GBE_VT_VBLANK_VBLANK_OFF_MSB   11
 
#define GBE_VT_VBLANK_VBLANK_OFF_LSB   0
 
#define GBE_VT_HBLANK_HBLANK_ON_MSB   23
 
#define GBE_VT_HBLANK_HBLANK_ON_LSB   12
 
#define GBE_VT_HBLANK_HBLANK_OFF_MSB   11
 
#define GBE_VT_HBLANK_HBLANK_OFF_LSB   0
 
#define GBE_VT_FLAGS_F2RF_HIGH_MSB   6
 
#define GBE_VT_FLAGS_F2RF_HIGH_LSB   6
 
#define GBE_VT_FLAGS_SYNC_LOW_MSB   5
 
#define GBE_VT_FLAGS_SYNC_LOW_LSB   5
 
#define GBE_VT_FLAGS_SYNC_HIGH_MSB   4
 
#define GBE_VT_FLAGS_SYNC_HIGH_LSB   4
 
#define GBE_VT_FLAGS_HDRV_LOW_MSB   3
 
#define GBE_VT_FLAGS_HDRV_LOW_LSB   3
 
#define GBE_VT_FLAGS_HDRV_INVERT_MSB   2
 
#define GBE_VT_FLAGS_HDRV_INVERT_LSB   2
 
#define GBE_VT_FLAGS_VDRV_LOW_MSB   1
 
#define GBE_VT_FLAGS_VDRV_LOW_LSB   1
 
#define GBE_VT_FLAGS_VDRV_INVERT_MSB   0
 
#define GBE_VT_FLAGS_VDRV_INVERT_LSB   0
 
#define GBE_VT_VCMAP_VCMAP_ON_MSB   23
 
#define GBE_VT_VCMAP_VCMAP_ON_LSB   12
 
#define GBE_VT_VCMAP_VCMAP_OFF_MSB   11
 
#define GBE_VT_VCMAP_VCMAP_OFF_LSB   0
 
#define GBE_VT_HCMAP_HCMAP_ON_MSB   23
 
#define GBE_VT_HCMAP_HCMAP_ON_LSB   12
 
#define GBE_VT_HCMAP_HCMAP_OFF_MSB   11
 
#define GBE_VT_HCMAP_HCMAP_OFF_LSB   0
 
#define GBE_VT_XYMAX_MAXX_MSB   11
 
#define GBE_VT_XYMAX_MAXX_LSB   0
 
#define GBE_VT_XYMAX_MAXY_MSB   23
 
#define GBE_VT_XYMAX_MAXY_LSB   12
 
#define GBE_VT_HPIXEN_HPIXEN_ON_MSB   23
 
#define GBE_VT_HPIXEN_HPIXEN_ON_LSB   12
 
#define GBE_VT_HPIXEN_HPIXEN_OFF_MSB   11
 
#define GBE_VT_HPIXEN_HPIXEN_OFF_LSB   0
 
#define GBE_VT_VPIXEN_VPIXEN_ON_MSB   23
 
#define GBE_VT_VPIXEN_VPIXEN_ON_LSB   12
 
#define GBE_VT_VPIXEN_VPIXEN_OFF_MSB   11
 
#define GBE_VT_VPIXEN_VPIXEN_OFF_LSB   0
 
#define GBE_OVR_CONTROL_OVR_DMA_ENABLE_MSB   0
 
#define GBE_OVR_CONTROL_OVR_DMA_ENABLE_LSB   0
 
#define GBE_OVR_INHWCTRL_OVR_DMA_ENABLE_MSB   0
 
#define GBE_OVR_INHWCTRL_OVR_DMA_ENABLE_LSB   0
 
#define GBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_MSB   13
 
#define GBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_LSB   13
 
#define GBE_FRM_CONTROL_FRM_DMA_ENABLE_MSB   0
 
#define GBE_FRM_CONTROL_FRM_DMA_ENABLE_LSB   0
 
#define GBE_FRM_CONTROL_FRM_TILE_PTR_MSB   31
 
#define GBE_FRM_CONTROL_FRM_TILE_PTR_LSB   9
 
#define GBE_FRM_CONTROL_FRM_LINEAR_MSB   1
 
#define GBE_FRM_CONTROL_FRM_LINEAR_LSB   1
 
#define GBE_FRM_INHWCTRL_FRM_DMA_ENABLE_MSB   0
 
#define GBE_FRM_INHWCTRL_FRM_DMA_ENABLE_LSB   0
 
#define GBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_MSB   12
 
#define GBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_LSB   5
 
#define GBE_FRM_SIZE_TILE_FRM_RHS_MSB   4
 
#define GBE_FRM_SIZE_TILE_FRM_RHS_LSB   0
 
#define GBE_FRM_SIZE_TILE_FRM_DEPTH_MSB   14
 
#define GBE_FRM_SIZE_TILE_FRM_DEPTH_LSB   13
 
#define GBE_FRM_SIZE_TILE_FRM_FIFO_RESET_MSB   15
 
#define GBE_FRM_SIZE_TILE_FRM_FIFO_RESET_LSB   15
 
#define GBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_MSB   31
 
#define GBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_LSB   16
 
#define GBE_DID_CONTROL_DID_DMA_ENABLE_MSB   0
 
#define GBE_DID_CONTROL_DID_DMA_ENABLE_LSB   0
 
#define GBE_DID_INHWCTRL_DID_DMA_ENABLE_MSB   0
 
#define GBE_DID_INHWCTRL_DID_DMA_ENABLE_LSB   0
 
#define GBE_DID_START_XY_DID_STARTY_MSB   23
 
#define GBE_DID_START_XY_DID_STARTY_LSB   12
 
#define GBE_DID_START_XY_DID_STARTX_MSB   11
 
#define GBE_DID_START_XY_DID_STARTX_LSB   0
 
#define GBE_CRS_START_XY_CRS_STARTY_MSB   23
 
#define GBE_CRS_START_XY_CRS_STARTY_LSB   12
 
#define GBE_CRS_START_XY_CRS_STARTX_MSB   11
 
#define GBE_CRS_START_XY_CRS_STARTX_LSB   0
 
#define GBE_WID_AUX_MSB   12
 
#define GBE_WID_AUX_LSB   11
 
#define GBE_WID_GAMMA_MSB   10
 
#define GBE_WID_GAMMA_LSB   10
 
#define GBE_WID_CM_MSB   9
 
#define GBE_WID_CM_LSB   5
 
#define GBE_WID_TYP_MSB   4
 
#define GBE_WID_TYP_LSB   2
 
#define GBE_WID_BUF_MSB   1
 
#define GBE_WID_BUF_LSB   0
 
#define GBE_VC_START_XY_VC_STARTY_MSB   23
 
#define GBE_VC_START_XY_VC_STARTY_LSB   12
 
#define GBE_VC_START_XY_VC_STARTX_MSB   11
 
#define GBE_VC_START_XY_VC_STARTX_LSB   0
 
#define GBE_FRM_DEPTH_8   0
 
#define GBE_FRM_DEPTH_16   1
 
#define GBE_FRM_DEPTH_32   2
 
#define GBE_CMODE_I8   0
 
#define GBE_CMODE_I12   1
 
#define GBE_CMODE_RG3B2   2
 
#define GBE_CMODE_RGB4   3
 
#define GBE_CMODE_ARGB5   4
 
#define GBE_CMODE_RGB8   5
 
#define GBE_CMODE_RGBA5   6
 
#define GBE_CMODE_RGB10   7
 
#define GBE_BMODE_BOTH   3
 
#define GBE_CRS_MAGIC   54
 
#define GBE_PIXEN_MAGIC_ON   19
 
#define GBE_PIXEN_MAGIC_OFF   2
 
#define GBE_TLB_SIZE   128
 
#define GBE_VOF_UNKNOWNMON   1
 
#define GBE_VOF_STEREO   2
 
#define GBE_VOF_DO_GENSYNC   4 /* enable incoming sync */
 
#define GBE_VOF_SYNC_ON_GREEN   8 /* sync on green */
 
#define GBE_VOF_FLATPANEL   0x1000 /* FLATPANEL Timing */
 
#define GBE_VOF_MAGICKEY   0x2000 /* Backdoor key */
 

Macro Definition Documentation

#define GBE_BMODE_BOTH   3

Definition at line 273 of file gbe.h.

#define GBE_CMODE_ARGB5   4

Definition at line 268 of file gbe.h.

#define GBE_CMODE_I12   1

Definition at line 265 of file gbe.h.

#define GBE_CMODE_I8   0

Definition at line 264 of file gbe.h.

#define GBE_CMODE_RG3B2   2

Definition at line 266 of file gbe.h.

#define GBE_CMODE_RGB10   7

Definition at line 271 of file gbe.h.

#define GBE_CMODE_RGB4   3

Definition at line 267 of file gbe.h.

#define GBE_CMODE_RGB8   5

Definition at line 269 of file gbe.h.

#define GBE_CMODE_RGBA5   6

Definition at line 270 of file gbe.h.

#define GBE_CRS_MAGIC   54

Definition at line 275 of file gbe.h.

#define GBE_CRS_START_XY_CRS_STARTX_LSB   0

Definition at line 240 of file gbe.h.

#define GBE_CRS_START_XY_CRS_STARTX_MSB   11

Definition at line 239 of file gbe.h.

#define GBE_CRS_START_XY_CRS_STARTY_LSB   12

Definition at line 238 of file gbe.h.

#define GBE_CRS_START_XY_CRS_STARTY_MSB   23

Definition at line 237 of file gbe.h.

#define GBE_CTRLSTAT_CHIPID_LSB   0

Definition at line 99 of file gbe.h.

#define GBE_CTRLSTAT_CHIPID_MSB   3

Definition at line 98 of file gbe.h.

#define GBE_CTRLSTAT_PCLKSEL_LSB   28

Definition at line 103 of file gbe.h.

#define GBE_CTRLSTAT_PCLKSEL_MSB   29

Definition at line 102 of file gbe.h.

#define GBE_CTRLSTAT_SENSE_N_LSB   4

Definition at line 101 of file gbe.h.

#define GBE_CTRLSTAT_SENSE_N_MSB   4

Definition at line 100 of file gbe.h.

#define GBE_DID_CONTROL_DID_DMA_ENABLE_LSB   0

Definition at line 228 of file gbe.h.

#define GBE_DID_CONTROL_DID_DMA_ENABLE_MSB   0

Definition at line 227 of file gbe.h.

#define GBE_DID_INHWCTRL_DID_DMA_ENABLE_LSB   0

Definition at line 230 of file gbe.h.

#define GBE_DID_INHWCTRL_DID_DMA_ENABLE_MSB   0

Definition at line 229 of file gbe.h.

#define GBE_DID_START_XY_DID_STARTX_LSB   0

Definition at line 235 of file gbe.h.

#define GBE_DID_START_XY_DID_STARTX_MSB   11

Definition at line 234 of file gbe.h.

#define GBE_DID_START_XY_DID_STARTY_LSB   12

Definition at line 233 of file gbe.h.

#define GBE_DID_START_XY_DID_STARTY_MSB   23

Definition at line 232 of file gbe.h.

#define GBE_DOTCLK_M_LSB   0

Definition at line 106 of file gbe.h.

#define GBE_DOTCLK_M_MSB   7

Definition at line 105 of file gbe.h.

#define GBE_DOTCLK_N_LSB   8

Definition at line 108 of file gbe.h.

#define GBE_DOTCLK_N_MSB   13

Definition at line 107 of file gbe.h.

#define GBE_DOTCLK_P_LSB   14

Definition at line 110 of file gbe.h.

#define GBE_DOTCLK_P_MSB   15

Definition at line 109 of file gbe.h.

#define GBE_DOTCLK_RUN_LSB   20

Definition at line 112 of file gbe.h.

#define GBE_DOTCLK_RUN_MSB   20

Definition at line 111 of file gbe.h.

#define GBE_FP_DE_OFF_LSB   0

Definition at line 134 of file gbe.h.

#define GBE_FP_DE_OFF_MSB   11

Definition at line 133 of file gbe.h.

#define GBE_FP_DE_ON_LSB   12

Definition at line 132 of file gbe.h.

#define GBE_FP_DE_ON_MSB   23

Definition at line 131 of file gbe.h.

#define GBE_FP_HDRV_OFF_LSB   0

Definition at line 129 of file gbe.h.

#define GBE_FP_HDRV_OFF_MSB   11

Definition at line 128 of file gbe.h.

#define GBE_FP_HDRV_ON_LSB   12

Definition at line 127 of file gbe.h.

#define GBE_FP_HDRV_ON_MSB   23

Definition at line 126 of file gbe.h.

#define GBE_FP_VDRV_OFF_LSB   0

Definition at line 124 of file gbe.h.

#define GBE_FP_VDRV_OFF_MSB   11

Definition at line 123 of file gbe.h.

#define GBE_FP_VDRV_ON_LSB   12

Definition at line 122 of file gbe.h.

#define GBE_FP_VDRV_ON_MSB   23

Definition at line 121 of file gbe.h.

#define GBE_FRM_CONTROL_FRM_DMA_ENABLE_LSB   0

Definition at line 206 of file gbe.h.

#define GBE_FRM_CONTROL_FRM_DMA_ENABLE_MSB   0

Definition at line 205 of file gbe.h.

#define GBE_FRM_CONTROL_FRM_LINEAR_LSB   1

Definition at line 210 of file gbe.h.

#define GBE_FRM_CONTROL_FRM_LINEAR_MSB   1

Definition at line 209 of file gbe.h.

#define GBE_FRM_CONTROL_FRM_TILE_PTR_LSB   9

Definition at line 208 of file gbe.h.

#define GBE_FRM_CONTROL_FRM_TILE_PTR_MSB   31

Definition at line 207 of file gbe.h.

#define GBE_FRM_DEPTH_16   1

Definition at line 261 of file gbe.h.

#define GBE_FRM_DEPTH_32   2

Definition at line 262 of file gbe.h.

#define GBE_FRM_DEPTH_8   0

Definition at line 260 of file gbe.h.

#define GBE_FRM_INHWCTRL_FRM_DMA_ENABLE_LSB   0

Definition at line 213 of file gbe.h.

#define GBE_FRM_INHWCTRL_FRM_DMA_ENABLE_MSB   0

Definition at line 212 of file gbe.h.

#define GBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_LSB   16

Definition at line 225 of file gbe.h.

#define GBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_MSB   31

Definition at line 224 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_DEPTH_LSB   13

Definition at line 220 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_DEPTH_MSB   14

Definition at line 219 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_FIFO_RESET_LSB   15

Definition at line 222 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_FIFO_RESET_MSB   15

Definition at line 221 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_RHS_LSB   0

Definition at line 218 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_RHS_MSB   4

Definition at line 217 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_LSB   5

Definition at line 216 of file gbe.h.

#define GBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_MSB   12

Definition at line 215 of file gbe.h.

#define GBE_OVR_CONTROL_OVR_DMA_ENABLE_LSB   0

Definition at line 197 of file gbe.h.

#define GBE_OVR_CONTROL_OVR_DMA_ENABLE_MSB   0

Definition at line 196 of file gbe.h.

#define GBE_OVR_INHWCTRL_OVR_DMA_ENABLE_LSB   0

Definition at line 200 of file gbe.h.

#define GBE_OVR_INHWCTRL_OVR_DMA_ENABLE_MSB   0

Definition at line 199 of file gbe.h.

#define GBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_LSB   13

Definition at line 203 of file gbe.h.

#define GBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_MSB   13

Definition at line 202 of file gbe.h.

#define GBE_PIXEN_MAGIC_OFF   2

Definition at line 277 of file gbe.h.

#define GBE_PIXEN_MAGIC_ON   19

Definition at line 276 of file gbe.h.

#define GBE_TLB_SIZE   128

Definition at line 279 of file gbe.h.

#define GBE_VC_START_XY_VC_STARTX_LSB   0

Definition at line 256 of file gbe.h.

#define GBE_VC_START_XY_VC_STARTX_MSB   11

Definition at line 255 of file gbe.h.

#define GBE_VC_START_XY_VC_STARTY_LSB   12

Definition at line 254 of file gbe.h.

#define GBE_VC_START_XY_VC_STARTY_MSB   23

Definition at line 253 of file gbe.h.

#define GBE_VOF_DO_GENSYNC   4 /* enable incoming sync */

Definition at line 312 of file gbe.h.

#define GBE_VOF_FLATPANEL   0x1000 /* FLATPANEL Timing */

Definition at line 314 of file gbe.h.

#define GBE_VOF_MAGICKEY   0x2000 /* Backdoor key */

Definition at line 315 of file gbe.h.

#define GBE_VOF_STEREO   2

Definition at line 311 of file gbe.h.

#define GBE_VOF_SYNC_ON_GREEN   8 /* sync on green */

Definition at line 313 of file gbe.h.

#define GBE_VOF_UNKNOWNMON   1

Definition at line 310 of file gbe.h.

#define GBE_VT_FLAGS_F2RF_HIGH_LSB   6

Definition at line 157 of file gbe.h.

#define GBE_VT_FLAGS_F2RF_HIGH_MSB   6

Definition at line 156 of file gbe.h.

#define GBE_VT_FLAGS_HDRV_INVERT_LSB   2

Definition at line 165 of file gbe.h.

#define GBE_VT_FLAGS_HDRV_INVERT_MSB   2

Definition at line 164 of file gbe.h.

#define GBE_VT_FLAGS_HDRV_LOW_LSB   3

Definition at line 163 of file gbe.h.

#define GBE_VT_FLAGS_HDRV_LOW_MSB   3

Definition at line 162 of file gbe.h.

#define GBE_VT_FLAGS_SYNC_HIGH_LSB   4

Definition at line 161 of file gbe.h.

#define GBE_VT_FLAGS_SYNC_HIGH_MSB   4

Definition at line 160 of file gbe.h.

#define GBE_VT_FLAGS_SYNC_LOW_LSB   5

Definition at line 159 of file gbe.h.

#define GBE_VT_FLAGS_SYNC_LOW_MSB   5

Definition at line 158 of file gbe.h.

#define GBE_VT_FLAGS_VDRV_INVERT_LSB   0

Definition at line 169 of file gbe.h.

#define GBE_VT_FLAGS_VDRV_INVERT_MSB   0

Definition at line 168 of file gbe.h.

#define GBE_VT_FLAGS_VDRV_LOW_LSB   1

Definition at line 167 of file gbe.h.

#define GBE_VT_FLAGS_VDRV_LOW_MSB   1

Definition at line 166 of file gbe.h.

#define GBE_VT_HBLANK_HBLANK_OFF_LSB   0

Definition at line 154 of file gbe.h.

#define GBE_VT_HBLANK_HBLANK_OFF_MSB   11

Definition at line 153 of file gbe.h.

#define GBE_VT_HBLANK_HBLANK_ON_LSB   12

Definition at line 152 of file gbe.h.

#define GBE_VT_HBLANK_HBLANK_ON_MSB   23

Definition at line 151 of file gbe.h.

#define GBE_VT_HCMAP_HCMAP_OFF_LSB   0

Definition at line 179 of file gbe.h.

#define GBE_VT_HCMAP_HCMAP_OFF_MSB   11

Definition at line 178 of file gbe.h.

#define GBE_VT_HCMAP_HCMAP_ON_LSB   12

Definition at line 177 of file gbe.h.

#define GBE_VT_HCMAP_HCMAP_ON_MSB   23

Definition at line 176 of file gbe.h.

#define GBE_VT_HPIXEN_HPIXEN_OFF_LSB   0

Definition at line 189 of file gbe.h.

#define GBE_VT_HPIXEN_HPIXEN_OFF_MSB   11

Definition at line 188 of file gbe.h.

#define GBE_VT_HPIXEN_HPIXEN_ON_LSB   12

Definition at line 187 of file gbe.h.

#define GBE_VT_HPIXEN_HPIXEN_ON_MSB   23

Definition at line 186 of file gbe.h.

#define GBE_VT_HSYNC_HSYNC_OFF_LSB   0

Definition at line 144 of file gbe.h.

#define GBE_VT_HSYNC_HSYNC_OFF_MSB   11

Definition at line 143 of file gbe.h.

#define GBE_VT_HSYNC_HSYNC_ON_LSB   12

Definition at line 142 of file gbe.h.

#define GBE_VT_HSYNC_HSYNC_ON_MSB   23

Definition at line 141 of file gbe.h.

#define GBE_VT_VBLANK_VBLANK_OFF_LSB   0

Definition at line 149 of file gbe.h.

#define GBE_VT_VBLANK_VBLANK_OFF_MSB   11

Definition at line 148 of file gbe.h.

#define GBE_VT_VBLANK_VBLANK_ON_LSB   12

Definition at line 147 of file gbe.h.

#define GBE_VT_VBLANK_VBLANK_ON_MSB   23

Definition at line 146 of file gbe.h.

#define GBE_VT_VCMAP_VCMAP_OFF_LSB   0

Definition at line 174 of file gbe.h.

#define GBE_VT_VCMAP_VCMAP_OFF_MSB   11

Definition at line 173 of file gbe.h.

#define GBE_VT_VCMAP_VCMAP_ON_LSB   12

Definition at line 172 of file gbe.h.

#define GBE_VT_VCMAP_VCMAP_ON_MSB   23

Definition at line 171 of file gbe.h.

#define GBE_VT_VPIXEN_VPIXEN_OFF_LSB   0

Definition at line 194 of file gbe.h.

#define GBE_VT_VPIXEN_VPIXEN_OFF_MSB   11

Definition at line 193 of file gbe.h.

#define GBE_VT_VPIXEN_VPIXEN_ON_LSB   12

Definition at line 192 of file gbe.h.

#define GBE_VT_VPIXEN_VPIXEN_ON_MSB   23

Definition at line 191 of file gbe.h.

#define GBE_VT_VSYNC_VSYNC_OFF_LSB   0

Definition at line 139 of file gbe.h.

#define GBE_VT_VSYNC_VSYNC_OFF_MSB   11

Definition at line 138 of file gbe.h.

#define GBE_VT_VSYNC_VSYNC_ON_LSB   12

Definition at line 137 of file gbe.h.

#define GBE_VT_VSYNC_VSYNC_ON_MSB   23

Definition at line 136 of file gbe.h.

#define GBE_VT_XY_FREEZE_LSB   31

Definition at line 119 of file gbe.h.

#define GBE_VT_XY_FREEZE_MSB   31

Definition at line 118 of file gbe.h.

#define GBE_VT_XY_X_LSB   0

Definition at line 117 of file gbe.h.

#define GBE_VT_XY_X_MSB   11

Definition at line 116 of file gbe.h.

#define GBE_VT_XY_Y_LSB   12

Definition at line 115 of file gbe.h.

#define GBE_VT_XY_Y_MSB   23

Definition at line 114 of file gbe.h.

#define GBE_VT_XYMAX_MAXX_LSB   0

Definition at line 182 of file gbe.h.

#define GBE_VT_XYMAX_MAXX_MSB   11

Definition at line 181 of file gbe.h.

#define GBE_VT_XYMAX_MAXY_LSB   12

Definition at line 184 of file gbe.h.

#define GBE_VT_XYMAX_MAXY_MSB   23

Definition at line 183 of file gbe.h.

#define GBE_WID_AUX_LSB   11

Definition at line 243 of file gbe.h.

#define GBE_WID_AUX_MSB   12

Definition at line 242 of file gbe.h.

#define GBE_WID_BUF_LSB   0

Definition at line 251 of file gbe.h.

#define GBE_WID_BUF_MSB   1

Definition at line 250 of file gbe.h.

#define GBE_WID_CM_LSB   5

Definition at line 247 of file gbe.h.

#define GBE_WID_CM_MSB   9

Definition at line 246 of file gbe.h.

#define GBE_WID_GAMMA_LSB   10

Definition at line 245 of file gbe.h.

#define GBE_WID_GAMMA_MSB   10

Definition at line 244 of file gbe.h.

#define GBE_WID_TYP_LSB   2

Definition at line 249 of file gbe.h.

#define GBE_WID_TYP_MSB   4

Definition at line 248 of file gbe.h.

#define GET (   v,
  msb,
  lsb 
)    ( ((u32)(v) & MASK(msb,lsb)) >> (lsb) )

Definition at line 85 of file gbe.h.

#define GET_GBE_FIELD (   reg,
  field,
  v 
)    GET((v), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)

Definition at line 90 of file gbe.h.

#define MASK (   msb,
  lsb 
)    ( (((u32)1<<((msb)-(lsb)+1))-1) << (lsb) )

Definition at line 83 of file gbe.h.

#define SET (   v,
  f,
  msb,
  lsb 
)    ( (v) = ((v)&~MASK(msb,lsb)) | (( (u32)(f)<<(lsb) ) & MASK(msb,lsb)) )

Definition at line 87 of file gbe.h.

#define SET_GBE_FIELD (   reg,
  field,
  v,
  f 
)    SET((v), (f), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)

Definition at line 92 of file gbe.h.