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

Go to the source code of this file.

Data Structures

struct  asregs
 
struct  dbe_timing_info
 

Macros

#define DBE_GETREG(reg, dest)   ((dest) = DBE_REG_BASE->reg)
 
#define DBE_SETREG(reg, src)   DBE_REG_BASE->reg = (src)
 
#define DBE_IGETREG(reg, idx, dest)   ((dest) = DBE_REG_BASE->reg[idx])
 
#define DBE_ISETREG(reg, idx, src)   (DBE_REG_BASE->reg[idx] = (src))
 
#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_DBE_FIELD(reg, field, v)   GET((v), DBE_##reg##_##field##_MSB, DBE_##reg##_##field##_LSB)
 
#define SET_DBE_FIELD(reg, field, v, f)   SET((v), (f), DBE_##reg##_##field##_MSB, DBE_##reg##_##field##_LSB)
 
#define DBE_REG_PHYS   0xd0000000
 
#define DBE_REG_SIZE   0x01000000
 
#define DBE_CTRLSTAT_CHIPID_MSB   3
 
#define DBE_CTRLSTAT_CHIPID_LSB   0
 
#define DBE_CTRLSTAT_SENSE_N_MSB   4
 
#define DBE_CTRLSTAT_SENSE_N_LSB   4
 
#define DBE_CTRLSTAT_PCLKSEL_MSB   29
 
#define DBE_CTRLSTAT_PCLKSEL_LSB   28
 
#define DBE_DOTCLK_M_MSB   7
 
#define DBE_DOTCLK_M_LSB   0
 
#define DBE_DOTCLK_N_MSB   13
 
#define DBE_DOTCLK_N_LSB   8
 
#define DBE_DOTCLK_P_MSB   15
 
#define DBE_DOTCLK_P_LSB   14
 
#define DBE_DOTCLK_RUN_MSB   20
 
#define DBE_DOTCLK_RUN_LSB   20
 
#define DBE_VT_XY_VT_FREEZE_MSB   31
 
#define DBE_VT_XY_VT_FREEZE_LSB   31
 
#define DBE_FP_VDRV_FP_VDRV_ON_MSB   23
 
#define DBE_FP_VDRV_FP_VDRV_ON_LSB   12
 
#define DBE_FP_VDRV_FP_VDRV_OFF_MSB   11
 
#define DBE_FP_VDRV_FP_VDRV_OFF_LSB   0
 
#define DBE_FP_HDRV_FP_HDRV_ON_MSB   23
 
#define DBE_FP_HDRV_FP_HDRV_ON_LSB   12
 
#define DBE_FP_HDRV_FP_HDRV_OFF_MSB   11
 
#define DBE_FP_HDRV_FP_HDRV_OFF_LSB   0
 
#define DBE_FP_DE_FP_DE_ON_MSB   23
 
#define DBE_FP_DE_FP_DE_ON_LSB   12
 
#define DBE_FP_DE_FP_DE_OFF_MSB   11
 
#define DBE_FP_DE_FP_DE_OFF_LSB   0
 
#define DBE_VT_VSYNC_VT_VSYNC_ON_MSB   23
 
#define DBE_VT_VSYNC_VT_VSYNC_ON_LSB   12
 
#define DBE_VT_VSYNC_VT_VSYNC_OFF_MSB   11
 
#define DBE_VT_VSYNC_VT_VSYNC_OFF_LSB   0
 
#define DBE_VT_HSYNC_VT_HSYNC_ON_MSB   23
 
#define DBE_VT_HSYNC_VT_HSYNC_ON_LSB   12
 
#define DBE_VT_HSYNC_VT_HSYNC_OFF_MSB   11
 
#define DBE_VT_HSYNC_VT_HSYNC_OFF_LSB   0
 
#define DBE_VT_VBLANK_VT_VBLANK_ON_MSB   23
 
#define DBE_VT_VBLANK_VT_VBLANK_ON_LSB   12
 
#define DBE_VT_VBLANK_VT_VBLANK_OFF_MSB   11
 
#define DBE_VT_VBLANK_VT_VBLANK_OFF_LSB   0
 
#define DBE_VT_HBLANK_VT_HBLANK_ON_MSB   23
 
#define DBE_VT_HBLANK_VT_HBLANK_ON_LSB   12
 
#define DBE_VT_HBLANK_VT_HBLANK_OFF_MSB   11
 
#define DBE_VT_HBLANK_VT_HBLANK_OFF_LSB   0
 
#define DBE_VT_FLAGS_VDRV_INVERT_MSB   0
 
#define DBE_VT_FLAGS_VDRV_INVERT_LSB   0
 
#define DBE_VT_FLAGS_HDRV_INVERT_MSB   2
 
#define DBE_VT_FLAGS_HDRV_INVERT_LSB   2
 
#define DBE_VT_VCMAP_VT_VCMAP_ON_MSB   23
 
#define DBE_VT_VCMAP_VT_VCMAP_ON_LSB   12
 
#define DBE_VT_VCMAP_VT_VCMAP_OFF_MSB   11
 
#define DBE_VT_VCMAP_VT_VCMAP_OFF_LSB   0
 
#define DBE_VT_HCMAP_VT_HCMAP_ON_MSB   23
 
#define DBE_VT_HCMAP_VT_HCMAP_ON_LSB   12
 
#define DBE_VT_HCMAP_VT_HCMAP_OFF_MSB   11
 
#define DBE_VT_HCMAP_VT_HCMAP_OFF_LSB   0
 
#define DBE_VT_XYMAX_VT_MAXX_MSB   11
 
#define DBE_VT_XYMAX_VT_MAXX_LSB   0
 
#define DBE_VT_XYMAX_VT_MAXY_MSB   23
 
#define DBE_VT_XYMAX_VT_MAXY_LSB   12
 
#define DBE_VT_HPIXEN_VT_HPIXEN_ON_MSB   23
 
#define DBE_VT_HPIXEN_VT_HPIXEN_ON_LSB   12
 
#define DBE_VT_HPIXEN_VT_HPIXEN_OFF_MSB   11
 
#define DBE_VT_HPIXEN_VT_HPIXEN_OFF_LSB   0
 
#define DBE_VT_VPIXEN_VT_VPIXEN_ON_MSB   23
 
#define DBE_VT_VPIXEN_VT_VPIXEN_ON_LSB   12
 
#define DBE_VT_VPIXEN_VT_VPIXEN_OFF_MSB   11
 
#define DBE_VT_VPIXEN_VT_VPIXEN_OFF_LSB   0
 
#define DBE_OVR_CONTROL_OVR_DMA_ENABLE_MSB   0
 
#define DBE_OVR_CONTROL_OVR_DMA_ENABLE_LSB   0
 
#define DBE_OVR_INHWCTRL_OVR_DMA_ENABLE_MSB   0
 
#define DBE_OVR_INHWCTRL_OVR_DMA_ENABLE_LSB   0
 
#define DBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_MSB   13
 
#define DBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_LSB   13
 
#define DBE_FRM_CONTROL_FRM_DMA_ENABLE_MSB   0
 
#define DBE_FRM_CONTROL_FRM_DMA_ENABLE_LSB   0
 
#define DBE_FRM_CONTROL_FRM_TILE_PTR_MSB   31
 
#define DBE_FRM_CONTROL_FRM_TILE_PTR_LSB   9
 
#define DBE_FRM_CONTROL_FRM_LINEAR_MSB   1
 
#define DBE_FRM_CONTROL_FRM_LINEAR_LSB   1
 
#define DBE_FRM_INHWCTRL_FRM_DMA_ENABLE_MSB   0
 
#define DBE_FRM_INHWCTRL_FRM_DMA_ENABLE_LSB   0
 
#define DBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_MSB   12
 
#define DBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_LSB   5
 
#define DBE_FRM_SIZE_TILE_FRM_RHS_MSB   4
 
#define DBE_FRM_SIZE_TILE_FRM_RHS_LSB   0
 
#define DBE_FRM_SIZE_TILE_FRM_DEPTH_MSB   14
 
#define DBE_FRM_SIZE_TILE_FRM_DEPTH_LSB   13
 
#define DBE_FRM_SIZE_TILE_FRM_FIFO_RESET_MSB   15
 
#define DBE_FRM_SIZE_TILE_FRM_FIFO_RESET_LSB   15
 
#define DBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_MSB   31
 
#define DBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_LSB   16
 
#define DBE_DID_CONTROL_DID_DMA_ENABLE_MSB   0
 
#define DBE_DID_CONTROL_DID_DMA_ENABLE_LSB   0
 
#define DBE_DID_INHWCTRL_DID_DMA_ENABLE_MSB   0
 
#define DBE_DID_INHWCTRL_DID_DMA_ENABLE_LSB   0
 
#define DBE_DID_START_XY_DID_STARTY_MSB   23
 
#define DBE_DID_START_XY_DID_STARTY_LSB   12
 
#define DBE_DID_START_XY_DID_STARTX_MSB   11
 
#define DBE_DID_START_XY_DID_STARTX_LSB   0
 
#define DBE_CRS_START_XY_CRS_STARTY_MSB   23
 
#define DBE_CRS_START_XY_CRS_STARTY_LSB   12
 
#define DBE_CRS_START_XY_CRS_STARTX_MSB   11
 
#define DBE_CRS_START_XY_CRS_STARTX_LSB   0
 
#define DBE_WID_TYP_MSB   4
 
#define DBE_WID_TYP_LSB   2
 
#define DBE_WID_BUF_MSB   1
 
#define DBE_WID_BUF_LSB   0
 
#define DBE_VC_START_XY_VC_STARTY_MSB   23
 
#define DBE_VC_START_XY_VC_STARTY_LSB   12
 
#define DBE_VC_START_XY_VC_STARTX_MSB   11
 
#define DBE_VC_START_XY_VC_STARTX_LSB   0
 
#define DBE_FRM_DEPTH_8   0
 
#define DBE_FRM_DEPTH_16   1
 
#define DBE_FRM_DEPTH_32   2
 
#define DBE_CMODE_I8   0
 
#define DBE_CMODE_I12   1
 
#define DBE_CMODE_RG3B2   2
 
#define DBE_CMODE_RGB4   3
 
#define DBE_CMODE_ARGB5   4
 
#define DBE_CMODE_RGB8   5
 
#define DBE_CMODE_RGBA5   6
 
#define DBE_CMODE_RGB10   7
 
#define DBE_BMODE_BOTH   3
 
#define DBE_CRS_MAGIC   54
 
#define DBE_CLOCK_REF_KHZ   27000
 
#define DBE_CONFIG_VDAC_ENABLE   0x00000001
 
#define DBE_CONFIG_VDAC_GSYNC   0x00000002
 
#define DBE_CONFIG_VDAC_PBLANK   0x00000004
 
#define DBE_CONFIG_FPENABLE   0x00000008
 
#define DBE_CONFIG_LENDIAN   0x00000020
 
#define DBE_CONFIG_TILEHIST   0x00000040
 
#define DBE_CONFIG_EXT_ADDR   0x00000080
 
#define DBE_CONFIG_FBDEV
 
#define DBE_VOF_UNKNOWNMON   1
 
#define DBE_VOF_STEREO   2
 
#define DBE_VOF_DO_GENSYNC   4 /* enable incoming sync */
 
#define DBE_VOF_SYNC_ON_GREEN   8 /* sync on green */
 
#define DBE_VOF_FLATPANEL   0x1000 /* FLATPANEL Timing */
 
#define DBE_VOF_MAGICKEY   0x2000 /* Backdoor key */
 

Enumerations

enum  dbe_timing_t {
  DBE_VT_640_480_60, DBE_VT_800_600_60, DBE_VT_800_600_75, DBE_VT_800_600_120,
  DBE_VT_1024_768_50, DBE_VT_1024_768_60, DBE_VT_1024_768_75, DBE_VT_1024_768_85,
  DBE_VT_1024_768_120, DBE_VT_1280_1024_50, DBE_VT_1280_1024_60, DBE_VT_1280_1024_75,
  DBE_VT_1280_1024_85, DBE_VT_1600_1024_53, DBE_VT_1600_1024_60, DBE_VT_1600_1200_50,
  DBE_VT_1600_1200_60, DBE_VT_1600_1200_75, DBE_VT_1920_1080_50, DBE_VT_1920_1080_60,
  DBE_VT_1920_1080_72, DBE_VT_1920_1200_50, DBE_VT_1920_1200_60, DBE_VT_1920_1200_66,
  DBE_VT_UNKNOWN
}
 

Macro Definition Documentation

#define DBE_BMODE_BOTH   3

Definition at line 283 of file sgivw.h.

#define DBE_CLOCK_REF_KHZ   27000

Definition at line 287 of file sgivw.h.

#define DBE_CMODE_ARGB5   4

Definition at line 278 of file sgivw.h.

#define DBE_CMODE_I12   1

Definition at line 275 of file sgivw.h.

#define DBE_CMODE_I8   0

Definition at line 274 of file sgivw.h.

#define DBE_CMODE_RG3B2   2

Definition at line 276 of file sgivw.h.

#define DBE_CMODE_RGB10   7

Definition at line 281 of file sgivw.h.

#define DBE_CMODE_RGB4   3

Definition at line 277 of file sgivw.h.

#define DBE_CMODE_RGB8   5

Definition at line 279 of file sgivw.h.

#define DBE_CMODE_RGBA5   6

Definition at line 280 of file sgivw.h.

#define DBE_CONFIG_EXT_ADDR   0x00000080

Definition at line 297 of file sgivw.h.

#define DBE_CONFIG_FBDEV
Value:
DBE_CONFIG_VDAC_GSYNC | \
DBE_CONFIG_VDAC_PBLANK | \
DBE_CONFIG_LENDIAN | \
DBE_CONFIG_EXT_ADDR )

Definition at line 299 of file sgivw.h.

#define DBE_CONFIG_FPENABLE   0x00000008

Definition at line 294 of file sgivw.h.

#define DBE_CONFIG_LENDIAN   0x00000020

Definition at line 295 of file sgivw.h.

#define DBE_CONFIG_TILEHIST   0x00000040

Definition at line 296 of file sgivw.h.

#define DBE_CONFIG_VDAC_ENABLE   0x00000001

Definition at line 291 of file sgivw.h.

#define DBE_CONFIG_VDAC_GSYNC   0x00000002

Definition at line 292 of file sgivw.h.

#define DBE_CONFIG_VDAC_PBLANK   0x00000004

Definition at line 293 of file sgivw.h.

#define DBE_CRS_MAGIC   54

Definition at line 285 of file sgivw.h.

#define DBE_CRS_START_XY_CRS_STARTX_LSB   0

Definition at line 256 of file sgivw.h.

#define DBE_CRS_START_XY_CRS_STARTX_MSB   11

Definition at line 255 of file sgivw.h.

#define DBE_CRS_START_XY_CRS_STARTY_LSB   12

Definition at line 254 of file sgivw.h.

#define DBE_CRS_START_XY_CRS_STARTY_MSB   23

Definition at line 253 of file sgivw.h.

#define DBE_CTRLSTAT_CHIPID_LSB   0

Definition at line 129 of file sgivw.h.

#define DBE_CTRLSTAT_CHIPID_MSB   3

Definition at line 128 of file sgivw.h.

#define DBE_CTRLSTAT_PCLKSEL_LSB   28

Definition at line 133 of file sgivw.h.

#define DBE_CTRLSTAT_PCLKSEL_MSB   29

Definition at line 132 of file sgivw.h.

#define DBE_CTRLSTAT_SENSE_N_LSB   4

Definition at line 131 of file sgivw.h.

#define DBE_CTRLSTAT_SENSE_N_MSB   4

Definition at line 130 of file sgivw.h.

#define DBE_DID_CONTROL_DID_DMA_ENABLE_LSB   0

Definition at line 244 of file sgivw.h.

#define DBE_DID_CONTROL_DID_DMA_ENABLE_MSB   0

Definition at line 243 of file sgivw.h.

#define DBE_DID_INHWCTRL_DID_DMA_ENABLE_LSB   0

Definition at line 246 of file sgivw.h.

#define DBE_DID_INHWCTRL_DID_DMA_ENABLE_MSB   0

Definition at line 245 of file sgivw.h.

#define DBE_DID_START_XY_DID_STARTX_LSB   0

Definition at line 251 of file sgivw.h.

#define DBE_DID_START_XY_DID_STARTX_MSB   11

Definition at line 250 of file sgivw.h.

#define DBE_DID_START_XY_DID_STARTY_LSB   12

Definition at line 249 of file sgivw.h.

#define DBE_DID_START_XY_DID_STARTY_MSB   23

Definition at line 248 of file sgivw.h.

#define DBE_DOTCLK_M_LSB   0

Definition at line 136 of file sgivw.h.

#define DBE_DOTCLK_M_MSB   7

Definition at line 135 of file sgivw.h.

#define DBE_DOTCLK_N_LSB   8

Definition at line 138 of file sgivw.h.

#define DBE_DOTCLK_N_MSB   13

Definition at line 137 of file sgivw.h.

#define DBE_DOTCLK_P_LSB   14

Definition at line 140 of file sgivw.h.

#define DBE_DOTCLK_P_MSB   15

Definition at line 139 of file sgivw.h.

#define DBE_DOTCLK_RUN_LSB   20

Definition at line 142 of file sgivw.h.

#define DBE_DOTCLK_RUN_MSB   20

Definition at line 141 of file sgivw.h.

#define DBE_FP_DE_FP_DE_OFF_LSB   0

Definition at line 160 of file sgivw.h.

#define DBE_FP_DE_FP_DE_OFF_MSB   11

Definition at line 159 of file sgivw.h.

#define DBE_FP_DE_FP_DE_ON_LSB   12

Definition at line 158 of file sgivw.h.

#define DBE_FP_DE_FP_DE_ON_MSB   23

Definition at line 157 of file sgivw.h.

#define DBE_FP_HDRV_FP_HDRV_OFF_LSB   0

Definition at line 155 of file sgivw.h.

#define DBE_FP_HDRV_FP_HDRV_OFF_MSB   11

Definition at line 154 of file sgivw.h.

#define DBE_FP_HDRV_FP_HDRV_ON_LSB   12

Definition at line 153 of file sgivw.h.

#define DBE_FP_HDRV_FP_HDRV_ON_MSB   23

Definition at line 152 of file sgivw.h.

#define DBE_FP_VDRV_FP_VDRV_OFF_LSB   0

Definition at line 150 of file sgivw.h.

#define DBE_FP_VDRV_FP_VDRV_OFF_MSB   11

Definition at line 149 of file sgivw.h.

#define DBE_FP_VDRV_FP_VDRV_ON_LSB   12

Definition at line 148 of file sgivw.h.

#define DBE_FP_VDRV_FP_VDRV_ON_MSB   23

Definition at line 147 of file sgivw.h.

#define DBE_FRM_CONTROL_FRM_DMA_ENABLE_LSB   0

Definition at line 222 of file sgivw.h.

#define DBE_FRM_CONTROL_FRM_DMA_ENABLE_MSB   0

Definition at line 221 of file sgivw.h.

#define DBE_FRM_CONTROL_FRM_LINEAR_LSB   1

Definition at line 226 of file sgivw.h.

#define DBE_FRM_CONTROL_FRM_LINEAR_MSB   1

Definition at line 225 of file sgivw.h.

#define DBE_FRM_CONTROL_FRM_TILE_PTR_LSB   9

Definition at line 224 of file sgivw.h.

#define DBE_FRM_CONTROL_FRM_TILE_PTR_MSB   31

Definition at line 223 of file sgivw.h.

#define DBE_FRM_DEPTH_16   1

Definition at line 271 of file sgivw.h.

#define DBE_FRM_DEPTH_32   2

Definition at line 272 of file sgivw.h.

#define DBE_FRM_DEPTH_8   0

Definition at line 270 of file sgivw.h.

#define DBE_FRM_INHWCTRL_FRM_DMA_ENABLE_LSB   0

Definition at line 229 of file sgivw.h.

#define DBE_FRM_INHWCTRL_FRM_DMA_ENABLE_MSB   0

Definition at line 228 of file sgivw.h.

#define DBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_LSB   16

Definition at line 241 of file sgivw.h.

#define DBE_FRM_SIZE_PIXEL_FB_HEIGHT_PIX_MSB   31

Definition at line 240 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_DEPTH_LSB   13

Definition at line 236 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_DEPTH_MSB   14

Definition at line 235 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_FIFO_RESET_LSB   15

Definition at line 238 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_FIFO_RESET_MSB   15

Definition at line 237 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_RHS_LSB   0

Definition at line 234 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_RHS_MSB   4

Definition at line 233 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_LSB   5

Definition at line 232 of file sgivw.h.

#define DBE_FRM_SIZE_TILE_FRM_WIDTH_TILE_MSB   12

Definition at line 231 of file sgivw.h.

#define DBE_GETREG (   reg,
  dest 
)    ((dest) = DBE_REG_BASE->reg)

Definition at line 15 of file sgivw.h.

#define DBE_IGETREG (   reg,
  idx,
  dest 
)    ((dest) = DBE_REG_BASE->reg[idx])

Definition at line 17 of file sgivw.h.

#define DBE_ISETREG (   reg,
  idx,
  src 
)    (DBE_REG_BASE->reg[idx] = (src))

Definition at line 18 of file sgivw.h.

#define DBE_OVR_CONTROL_OVR_DMA_ENABLE_LSB   0

Definition at line 213 of file sgivw.h.

#define DBE_OVR_CONTROL_OVR_DMA_ENABLE_MSB   0

Definition at line 212 of file sgivw.h.

#define DBE_OVR_INHWCTRL_OVR_DMA_ENABLE_LSB   0

Definition at line 216 of file sgivw.h.

#define DBE_OVR_INHWCTRL_OVR_DMA_ENABLE_MSB   0

Definition at line 215 of file sgivw.h.

#define DBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_LSB   13

Definition at line 219 of file sgivw.h.

#define DBE_OVR_WIDTH_TILE_OVR_FIFO_RESET_MSB   13

Definition at line 218 of file sgivw.h.

#define DBE_REG_PHYS   0xd0000000

Definition at line 29 of file sgivw.h.

#define DBE_REG_SIZE   0x01000000

Definition at line 30 of file sgivw.h.

#define DBE_SETREG (   reg,
  src 
)    DBE_REG_BASE->reg = (src)

Definition at line 16 of file sgivw.h.

#define DBE_VC_START_XY_VC_STARTX_LSB   0

Definition at line 266 of file sgivw.h.

#define DBE_VC_START_XY_VC_STARTX_MSB   11

Definition at line 265 of file sgivw.h.

#define DBE_VC_START_XY_VC_STARTY_LSB   12

Definition at line 264 of file sgivw.h.

#define DBE_VC_START_XY_VC_STARTY_MSB   23

Definition at line 263 of file sgivw.h.

#define DBE_VOF_DO_GENSYNC   4 /* enable incoming sync */

Definition at line 378 of file sgivw.h.

#define DBE_VOF_FLATPANEL   0x1000 /* FLATPANEL Timing */

Definition at line 380 of file sgivw.h.

#define DBE_VOF_MAGICKEY   0x2000 /* Backdoor key */

Definition at line 381 of file sgivw.h.

#define DBE_VOF_STEREO   2

Definition at line 377 of file sgivw.h.

#define DBE_VOF_SYNC_ON_GREEN   8 /* sync on green */

Definition at line 379 of file sgivw.h.

#define DBE_VOF_UNKNOWNMON   1

Definition at line 376 of file sgivw.h.

#define DBE_VT_FLAGS_HDRV_INVERT_LSB   2

Definition at line 185 of file sgivw.h.

#define DBE_VT_FLAGS_HDRV_INVERT_MSB   2

Definition at line 184 of file sgivw.h.

#define DBE_VT_FLAGS_VDRV_INVERT_LSB   0

Definition at line 183 of file sgivw.h.

#define DBE_VT_FLAGS_VDRV_INVERT_MSB   0

Definition at line 182 of file sgivw.h.

#define DBE_VT_HBLANK_VT_HBLANK_OFF_LSB   0

Definition at line 180 of file sgivw.h.

#define DBE_VT_HBLANK_VT_HBLANK_OFF_MSB   11

Definition at line 179 of file sgivw.h.

#define DBE_VT_HBLANK_VT_HBLANK_ON_LSB   12

Definition at line 178 of file sgivw.h.

#define DBE_VT_HBLANK_VT_HBLANK_ON_MSB   23

Definition at line 177 of file sgivw.h.

#define DBE_VT_HCMAP_VT_HCMAP_OFF_LSB   0

Definition at line 195 of file sgivw.h.

#define DBE_VT_HCMAP_VT_HCMAP_OFF_MSB   11

Definition at line 194 of file sgivw.h.

#define DBE_VT_HCMAP_VT_HCMAP_ON_LSB   12

Definition at line 193 of file sgivw.h.

#define DBE_VT_HCMAP_VT_HCMAP_ON_MSB   23

Definition at line 192 of file sgivw.h.

#define DBE_VT_HPIXEN_VT_HPIXEN_OFF_LSB   0

Definition at line 205 of file sgivw.h.

#define DBE_VT_HPIXEN_VT_HPIXEN_OFF_MSB   11

Definition at line 204 of file sgivw.h.

#define DBE_VT_HPIXEN_VT_HPIXEN_ON_LSB   12

Definition at line 203 of file sgivw.h.

#define DBE_VT_HPIXEN_VT_HPIXEN_ON_MSB   23

Definition at line 202 of file sgivw.h.

#define DBE_VT_HSYNC_VT_HSYNC_OFF_LSB   0

Definition at line 170 of file sgivw.h.

#define DBE_VT_HSYNC_VT_HSYNC_OFF_MSB   11

Definition at line 169 of file sgivw.h.

#define DBE_VT_HSYNC_VT_HSYNC_ON_LSB   12

Definition at line 168 of file sgivw.h.

#define DBE_VT_HSYNC_VT_HSYNC_ON_MSB   23

Definition at line 167 of file sgivw.h.

#define DBE_VT_VBLANK_VT_VBLANK_OFF_LSB   0

Definition at line 175 of file sgivw.h.

#define DBE_VT_VBLANK_VT_VBLANK_OFF_MSB   11

Definition at line 174 of file sgivw.h.

#define DBE_VT_VBLANK_VT_VBLANK_ON_LSB   12

Definition at line 173 of file sgivw.h.

#define DBE_VT_VBLANK_VT_VBLANK_ON_MSB   23

Definition at line 172 of file sgivw.h.

#define DBE_VT_VCMAP_VT_VCMAP_OFF_LSB   0

Definition at line 190 of file sgivw.h.

#define DBE_VT_VCMAP_VT_VCMAP_OFF_MSB   11

Definition at line 189 of file sgivw.h.

#define DBE_VT_VCMAP_VT_VCMAP_ON_LSB   12

Definition at line 188 of file sgivw.h.

#define DBE_VT_VCMAP_VT_VCMAP_ON_MSB   23

Definition at line 187 of file sgivw.h.

#define DBE_VT_VPIXEN_VT_VPIXEN_OFF_LSB   0

Definition at line 210 of file sgivw.h.

#define DBE_VT_VPIXEN_VT_VPIXEN_OFF_MSB   11

Definition at line 209 of file sgivw.h.

#define DBE_VT_VPIXEN_VT_VPIXEN_ON_LSB   12

Definition at line 208 of file sgivw.h.

#define DBE_VT_VPIXEN_VT_VPIXEN_ON_MSB   23

Definition at line 207 of file sgivw.h.

#define DBE_VT_VSYNC_VT_VSYNC_OFF_LSB   0

Definition at line 165 of file sgivw.h.

#define DBE_VT_VSYNC_VT_VSYNC_OFF_MSB   11

Definition at line 164 of file sgivw.h.

#define DBE_VT_VSYNC_VT_VSYNC_ON_LSB   12

Definition at line 163 of file sgivw.h.

#define DBE_VT_VSYNC_VT_VSYNC_ON_MSB   23

Definition at line 162 of file sgivw.h.

#define DBE_VT_XY_VT_FREEZE_LSB   31

Definition at line 145 of file sgivw.h.

#define DBE_VT_XY_VT_FREEZE_MSB   31

Definition at line 144 of file sgivw.h.

#define DBE_VT_XYMAX_VT_MAXX_LSB   0

Definition at line 198 of file sgivw.h.

#define DBE_VT_XYMAX_VT_MAXX_MSB   11

Definition at line 197 of file sgivw.h.

#define DBE_VT_XYMAX_VT_MAXY_LSB   12

Definition at line 200 of file sgivw.h.

#define DBE_VT_XYMAX_VT_MAXY_MSB   23

Definition at line 199 of file sgivw.h.

#define DBE_WID_BUF_LSB   0

Definition at line 261 of file sgivw.h.

#define DBE_WID_BUF_MSB   1

Definition at line 260 of file sgivw.h.

#define DBE_WID_TYP_LSB   2

Definition at line 259 of file sgivw.h.

#define DBE_WID_TYP_MSB   4

Definition at line 258 of file sgivw.h.

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

Definition at line 21 of file sgivw.h.

#define GET_DBE_FIELD (   reg,
  field,
  v 
)    GET((v), DBE_##reg##_##field##_MSB, DBE_##reg##_##field##_LSB)

Definition at line 24 of file sgivw.h.

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

Definition at line 20 of file sgivw.h.

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

Definition at line 22 of file sgivw.h.

#define SET_DBE_FIELD (   reg,
  field,
  v,
  f 
)    SET((v), (f), DBE_##reg##_##field##_MSB, DBE_##reg##_##field##_LSB)

Definition at line 25 of file sgivw.h.

Enumeration Type Documentation

Enumerator:
DBE_VT_640_480_60 
DBE_VT_800_600_60 
DBE_VT_800_600_75 
DBE_VT_800_600_120 
DBE_VT_1024_768_50 
DBE_VT_1024_768_60 
DBE_VT_1024_768_75 
DBE_VT_1024_768_85 
DBE_VT_1024_768_120 
DBE_VT_1280_1024_50 
DBE_VT_1280_1024_60 
DBE_VT_1280_1024_75 
DBE_VT_1280_1024_85 
DBE_VT_1600_1024_53 
DBE_VT_1600_1024_60 
DBE_VT_1600_1200_50 
DBE_VT_1600_1200_60 
DBE_VT_1600_1200_75 
DBE_VT_1920_1080_50 
DBE_VT_1920_1080_60 
DBE_VT_1920_1080_72 
DBE_VT_1920_1200_50 
DBE_VT_1920_1200_60 
DBE_VT_1920_1200_66 
DBE_VT_UNKNOWN 

Definition at line 309 of file sgivw.h.