Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
gxfb.h File Reference
#include <linux/io.h>

Go to the source code of this file.

Data Structures

struct  gxfb_par
 

Macros

#define GP_REG_COUNT   (0x50 / 4)
 
#define DC_REG_COUNT   (0x90 / 4)
 
#define VP_REG_COUNT   (0x138 / 8)
 
#define FP_REG_COUNT   (0x68 / 8)
 
#define DC_PAL_COUNT   0x104
 
#define GP_BLT_STATUS_BLT_PENDING   (1 << 2)
 
#define GP_BLT_STATUS_BLT_BUSY   (1 << 0)
 
#define DC_UNLOCK_LOCK   0x00000000
 
#define DC_UNLOCK_UNLOCK   0x00004758 /* magic value */
 
#define DC_GENERAL_CFG_YUVM   (1 << 20)
 
#define DC_GENERAL_CFG_VDSE   (1 << 19)
 
#define DC_GENERAL_CFG_DFHPEL_SHIFT   12
 
#define DC_GENERAL_CFG_DFHPSL_SHIFT   8
 
#define DC_GENERAL_CFG_DECE   (1 << 6)
 
#define DC_GENERAL_CFG_CMPE   (1 << 5)
 
#define DC_GENERAL_CFG_VIDE   (1 << 3)
 
#define DC_GENERAL_CFG_ICNE   (1 << 2)
 
#define DC_GENERAL_CFG_CURE   (1 << 1)
 
#define DC_GENERAL_CFG_DFLE   (1 << 0)
 
#define DC_DISPLAY_CFG_A20M   (1 << 31)
 
#define DC_DISPLAY_CFG_A18M   (1 << 30)
 
#define DC_DISPLAY_CFG_PALB   (1 << 25)
 
#define DC_DISPLAY_CFG_DISP_MODE_24BPP   (1 << 9)
 
#define DC_DISPLAY_CFG_DISP_MODE_16BPP   (1 << 8)
 
#define DC_DISPLAY_CFG_DISP_MODE_8BPP   (0)
 
#define DC_DISPLAY_CFG_VDEN   (1 << 4)
 
#define DC_DISPLAY_CFG_GDEN   (1 << 3)
 
#define DC_DISPLAY_CFG_TGEN   (1 << 0)
 
#define VP_VCFG_VID_EN   (1 << 0)
 
#define VP_DCFG_DAC_VREF   (1 << 26)
 
#define VP_DCFG_GV_GAM   (1 << 21)
 
#define VP_DCFG_VG_CK   (1 << 20)
 
#define VP_DCFG_CRT_SYNC_SKW_DEFAULT   (1 << 16)
 
#define VP_DCFG_CRT_SYNC_SKW   ((1 << 14) | (1 << 15) | (1 << 16))
 
#define VP_DCFG_CRT_VSYNC_POL   (1 << 9)
 
#define VP_DCFG_CRT_HSYNC_POL   (1 << 8)
 
#define VP_DCFG_FP_DATA_EN   (1 << 7) /* undocumented */
 
#define VP_DCFG_FP_PWR_EN   (1 << 6) /* undocumented */
 
#define VP_DCFG_DAC_BL_EN   (1 << 3)
 
#define VP_DCFG_VSYNC_EN   (1 << 2)
 
#define VP_DCFG_HSYNC_EN   (1 << 1)
 
#define VP_DCFG_CRT_EN   (1 << 0)
 
#define VP_MISC_GAM_EN   (1 << 0)
 
#define VP_MISC_DACPWRDN   (1 << 10)
 
#define VP_MISC_APWRDN   (1 << 11)
 
#define VP_FP_START   0x400
 
#define FP_PT1_VSIZE_SHIFT   16 /* undocumented? */
 
#define FP_PT1_VSIZE_MASK   0x7FF0000 /* undocumented? */
 
#define FP_PT2_HSP   (1 << 22)
 
#define FP_PT2_VSP   (1 << 23)
 
#define FP_PM_P   (1 << 24) /* panel power on */
 
#define FP_PM_PANEL_PWR_UP   (1 << 3) /* r/o */
 
#define FP_PM_PANEL_PWR_DOWN   (1 << 2) /* r/o */
 
#define FP_PM_PANEL_OFF   (1 << 1) /* r/o */
 
#define FP_PM_PANEL_ON   (1 << 0) /* r/o */
 
#define FP_DFC_NFI   ((1 << 4) | (1 << 5) | (1 << 6))
 
#define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3   (1 << 3)
 
#define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2   (1 << 2)
 
#define MSR_GLCP_SYS_RSTPLL_DOTPREDIV2   (1 << 1)
 
#define MSR_GLCP_DOTPLL_LOCK   (1 << 25) /* r/o */
 
#define MSR_GLCP_DOTPLL_BYPASS   (1 << 15)
 
#define MSR_GLCP_DOTPLL_DOTRESET   (1 << 0)
 
#define MSR_GX_MSR_PADSEL_MASK   0x3FFFFFFF /* undocumented? */
 
#define MSR_GX_MSR_PADSEL_TFT   0x1FFFFFFF /* undocumented? */
 
#define MSR_GX_GLD_MSR_CONFIG_FP   (1 << 3)
 

Enumerations

enum  gp_registers {
  GP_DST_OFFSET = 0, GP_SRC_OFFSET, GP_STRIDE, GP_WID_HEIGHT,
  GP_SRC_COLOR_FG, GP_SRC_COLOR_BG, GP_PAT_COLOR_0, GP_PAT_COLOR_1,
  GP_PAT_COLOR_2, GP_PAT_COLOR_3, GP_PAT_COLOR_4, GP_PAT_COLOR_5,
  GP_PAT_DATA_0, GP_PAT_DATA_1, GP_RASTER_MODE, GP_VECTOR_MODE,
  GP_BLT_MODE, GP_BLT_STATUS, GP_HST_SRC, GP_BASE_OFFSET,
  GP_DST_OFFSET = 0, GP_SRC_OFFSET, GP_STRIDE, GP_WID_HEIGHT,
  GP_SRC_COLOR_FG, GP_SRC_COLOR_BG, GP_PAT_COLOR_0, GP_PAT_COLOR_1,
  GP_PAT_COLOR_2, GP_PAT_COLOR_3, GP_PAT_COLOR_4, GP_PAT_COLOR_5,
  GP_PAT_DATA_0, GP_PAT_DATA_1, GP_RASTER_MODE, GP_VECTOR_MODE,
  GP_BLT_MODE, GP_BLT_STATUS, GP_HST_SRC, GP_BASE_OFFSET,
  GP_CMD_TOP, GP_CMD_BOT, GP_CMD_READ, GP_CMD_WRITE,
  GP_CH3_OFFSET, GP_CH3_MODE_STR, GP_CH3_WIDHI, GP_CH3_HSRC,
  GP_LUT_INDEX, GP_LUT_DATA, GP_INT_CNTRL
}
 
enum  dc_registers {
  DC_UNLOCK = 0, DC_GENERAL_CFG, DC_DISPLAY_CFG, DC_RSVD_0,
  DC_FB_ST_OFFSET, DC_CB_ST_OFFSET, DC_CURS_ST_OFFSET, DC_ICON_ST_OFFSET,
  DC_VID_Y_ST_OFFSET, DC_VID_U_ST_OFFSET, DC_VID_V_ST_OFFSET, DC_RSVD_1,
  DC_LINE_SIZE, DC_GFX_PITCH, DC_VID_YUV_PITCH, DC_RSVD_2,
  DC_H_ACTIVE_TIMING, DC_H_BLANK_TIMING, DC_H_SYNC_TIMING, DC_RSVD_3,
  DC_V_ACTIVE_TIMING, DC_V_BLANK_TIMING, DC_V_SYNC_TIMING, DC_RSVD_4,
  DC_CURSOR_X, DC_CURSOR_Y, DC_ICON_X, DC_LINE_CNT,
  DC_PAL_ADDRESS, DC_PAL_DATA, DC_DFIFO_DIAG, DC_CFIFO_DIAG,
  DC_VID_DS_DELTA, DC_GLIU0_MEM_OFFSET, DC_RSVD_5, DC_DV_ACC,
  DC_UNLOCK = 0, DC_GENERAL_CFG, DC_DISPLAY_CFG, DC_ARB_CFG,
  DC_FB_ST_OFFSET, DC_CB_ST_OFFSET, DC_CURS_ST_OFFSET, DC_RSVD_0,
  DC_VID_Y_ST_OFFSET, DC_VID_U_ST_OFFSET, DC_VID_V_ST_OFFSET, DC_DV_TOP,
  DC_LINE_SIZE, DC_GFX_PITCH, DC_VID_YUV_PITCH, DC_RSVD_1,
  DC_H_ACTIVE_TIMING, DC_H_BLANK_TIMING, DC_H_SYNC_TIMING, DC_RSVD_2,
  DC_V_ACTIVE_TIMING, DC_V_BLANK_TIMING, DC_V_SYNC_TIMING, DC_FB_ACTIVE,
  DC_CURSOR_X, DC_CURSOR_Y, DC_RSVD_3, DC_LINE_CNT,
  DC_PAL_ADDRESS, DC_PAL_DATA, DC_DFIFO_DIAG, DC_CFIFO_DIAG,
  DC_VID_DS_DELTA, DC_GLIU0_MEM_OFFSET, DC_DV_CTL, DC_DV_ACCESS,
  DC_GFX_SCALE, DC_IRQ_FILT_CTL, DC_FILT_COEFF1, DC_FILT_COEFF2,
  DC_VBI_EVEN_CTL, DC_VBI_ODD_CTL, DC_VBI_HOR, DC_VBI_LN_ODD,
  DC_VBI_LN_EVEN, DC_VBI_PITCH, DC_CLR_KEY, DC_CLR_KEY_MASK,
  DC_CLR_KEY_X, DC_CLR_KEY_Y, DC_IRQ, DC_RSVD_4,
  DC_RSVD_5, DC_GENLK_CTL, DC_VID_EVEN_Y_ST_OFFSET, DC_VID_EVEN_U_ST_OFFSET,
  DC_VID_EVEN_V_ST_OFFSET, DC_V_ACTIVE_EVEN_TIMING, DC_V_BLANK_EVEN_TIMING, DC_V_SYNC_EVEN_TIMING
}
 
enum  vp_registers {
  VP_VCFG = 0, VP_DCFG, VP_VX, VP_VY,
  VP_VS, VP_VCK, VP_VCM, VP_GAR,
  VP_GDR, VP_RSVD_0, VP_MISC, VP_CCS,
  VP_RSVD_1, VP_RSVD_2, VP_RSVD_3, VP_VDC,
  VP_VCO, VP_CRC, VP_CRC32, VP_VDE,
  VP_CCK, VP_CCM, VP_CC1, VP_CC2,
  VP_A1X, VP_A1Y, VP_A1C, VP_A1T,
  VP_A2X, VP_A2Y, VP_A2C, VP_A2T,
  VP_A3X, VP_A3Y, VP_A3C, VP_A3T,
  VP_VRR, VP_AWT, VP_VTM, VP_VCFG = 0,
  VP_DCFG, VP_VX, VP_VY, VP_SCL,
  VP_VCK, VP_VCM, VP_PAR, VP_PDR,
  VP_SLR, VP_MISC, VP_CCS, VP_VYS,
  VP_VXS, VP_RSVD_0, VP_VDC, VP_RSVD_1,
  VP_CRC, VP_CRC32, VP_VDE, VP_CCK,
  VP_CCM, VP_CC1, VP_CC2, VP_A1X,
  VP_A1Y, VP_A1C, VP_A1T, VP_A2X,
  VP_A2Y, VP_A2C, VP_A2T, VP_A3X,
  VP_A3Y, VP_A3C, VP_A3T, VP_VRR,
  VP_AWT, VP_VTM, VP_VYE, VP_A1YE,
  VP_A2YE, VP_A3YE, VP_VCR = 0x1000
}
 
enum  fp_registers {
  FP_PT1 = 0, FP_PT2, FP_PM, FP_DFC,
  FP_BLFSR, FP_RLFSR, FP_FMI, FP_FMD,
  FP_RSVD_0, FP_DCA, FP_DMD, FP_CRC,
  FP_FBB, FP_PT1 = 0, FP_PT2, FP_PM,
  FP_DFC, FP_RSVD_0, FP_RSVD_1, FP_RSVD_2,
  FP_RSVD_3, FP_RSVD_4, FP_DCA, FP_DMD,
  FP_CRC
}
 

Functions

unsigned int gx_frame_buffer_size (void)
 
int gx_line_delta (int xres, int bpp)
 
void gx_set_mode (struct fb_info *info)
 
void gx_set_hw_palette_reg (struct fb_info *info, unsigned regno, unsigned red, unsigned green, unsigned blue)
 
void gx_set_dclk_frequency (struct fb_info *info)
 
void gx_configure_display (struct fb_info *info)
 
int gx_blank_display (struct fb_info *info, int blank_mode)
 

Macro Definition Documentation

#define DC_DISPLAY_CFG_A18M   (1 << 30)

Definition at line 157 of file gxfb.h.

#define DC_DISPLAY_CFG_A20M   (1 << 31)

Definition at line 156 of file gxfb.h.

#define DC_DISPLAY_CFG_DISP_MODE_16BPP   (1 << 8)

Definition at line 160 of file gxfb.h.

#define DC_DISPLAY_CFG_DISP_MODE_24BPP   (1 << 9)

Definition at line 159 of file gxfb.h.

#define DC_DISPLAY_CFG_DISP_MODE_8BPP   (0)

Definition at line 161 of file gxfb.h.

#define DC_DISPLAY_CFG_GDEN   (1 << 3)

Definition at line 163 of file gxfb.h.

#define DC_DISPLAY_CFG_PALB   (1 << 25)

Definition at line 158 of file gxfb.h.

#define DC_DISPLAY_CFG_TGEN   (1 << 0)

Definition at line 164 of file gxfb.h.

#define DC_DISPLAY_CFG_VDEN   (1 << 4)

Definition at line 162 of file gxfb.h.

#define DC_GENERAL_CFG_CMPE   (1 << 5)

Definition at line 150 of file gxfb.h.

#define DC_GENERAL_CFG_CURE   (1 << 1)

Definition at line 153 of file gxfb.h.

#define DC_GENERAL_CFG_DECE   (1 << 6)

Definition at line 149 of file gxfb.h.

#define DC_GENERAL_CFG_DFHPEL_SHIFT   12

Definition at line 147 of file gxfb.h.

#define DC_GENERAL_CFG_DFHPSL_SHIFT   8

Definition at line 148 of file gxfb.h.

#define DC_GENERAL_CFG_DFLE   (1 << 0)

Definition at line 154 of file gxfb.h.

#define DC_GENERAL_CFG_ICNE   (1 << 2)

Definition at line 152 of file gxfb.h.

#define DC_GENERAL_CFG_VDSE   (1 << 19)

Definition at line 146 of file gxfb.h.

#define DC_GENERAL_CFG_VIDE   (1 << 3)

Definition at line 151 of file gxfb.h.

#define DC_GENERAL_CFG_YUVM   (1 << 20)

Definition at line 145 of file gxfb.h.

#define DC_PAL_COUNT   0x104

Definition at line 21 of file gxfb.h.

#define DC_REG_COUNT   (0x90 / 4)

Definition at line 17 of file gxfb.h.

#define DC_UNLOCK_LOCK   0x00000000

Definition at line 142 of file gxfb.h.

#define DC_UNLOCK_UNLOCK   0x00004758 /* magic value */

Definition at line 143 of file gxfb.h.

#define FP_DFC_NFI   ((1 << 4) | (1 << 5) | (1 << 6))

Definition at line 297 of file gxfb.h.

#define FP_PM_P   (1 << 24) /* panel power on */

Definition at line 291 of file gxfb.h.

#define FP_PM_PANEL_OFF   (1 << 1) /* r/o */

Definition at line 294 of file gxfb.h.

#define FP_PM_PANEL_ON   (1 << 0) /* r/o */

Definition at line 295 of file gxfb.h.

#define FP_PM_PANEL_PWR_DOWN   (1 << 2) /* r/o */

Definition at line 293 of file gxfb.h.

#define FP_PM_PANEL_PWR_UP   (1 << 3) /* r/o */

Definition at line 292 of file gxfb.h.

#define FP_PT1_VSIZE_MASK   0x7FF0000 /* undocumented? */

Definition at line 286 of file gxfb.h.

#define FP_PT1_VSIZE_SHIFT   16 /* undocumented? */

Definition at line 285 of file gxfb.h.

#define FP_PT2_HSP   (1 << 22)

Definition at line 288 of file gxfb.h.

#define FP_PT2_VSP   (1 << 23)

Definition at line 289 of file gxfb.h.

#define FP_REG_COUNT   (0x68 / 8)

Definition at line 19 of file gxfb.h.

#define GP_BLT_STATUS_BLT_BUSY   (1 << 0)

Definition at line 91 of file gxfb.h.

#define GP_BLT_STATUS_BLT_PENDING   (1 << 2)

Definition at line 90 of file gxfb.h.

#define GP_REG_COUNT   (0x50 / 4)

Definition at line 16 of file gxfb.h.

#define MSR_GLCP_DOTPLL_BYPASS   (1 << 15)

Definition at line 350 of file gxfb.h.

#define MSR_GLCP_DOTPLL_DOTRESET   (1 << 0)

Definition at line 351 of file gxfb.h.

#define MSR_GLCP_DOTPLL_LOCK   (1 << 25) /* r/o */

Definition at line 349 of file gxfb.h.

#define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3   (1 << 3)

Definition at line 345 of file gxfb.h.

#define MSR_GLCP_SYS_RSTPLL_DOTPREDIV2   (1 << 1)

Definition at line 347 of file gxfb.h.

#define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2   (1 << 2)

Definition at line 346 of file gxfb.h.

#define MSR_GX_GLD_MSR_CONFIG_FP   (1 << 3)

Definition at line 356 of file gxfb.h.

#define MSR_GX_MSR_PADSEL_MASK   0x3FFFFFFF /* undocumented? */

Definition at line 353 of file gxfb.h.

#define MSR_GX_MSR_PADSEL_TFT   0x1FFFFFFF /* undocumented? */

Definition at line 354 of file gxfb.h.

#define VP_DCFG_CRT_EN   (1 << 0)

Definition at line 248 of file gxfb.h.

#define VP_DCFG_CRT_HSYNC_POL   (1 << 8)

Definition at line 242 of file gxfb.h.

#define VP_DCFG_CRT_SYNC_SKW   ((1 << 14) | (1 << 15) | (1 << 16))

Definition at line 240 of file gxfb.h.

#define VP_DCFG_CRT_SYNC_SKW_DEFAULT   (1 << 16)

Definition at line 239 of file gxfb.h.

#define VP_DCFG_CRT_VSYNC_POL   (1 << 9)

Definition at line 241 of file gxfb.h.

#define VP_DCFG_DAC_BL_EN   (1 << 3)

Definition at line 245 of file gxfb.h.

#define VP_DCFG_DAC_VREF   (1 << 26)

Definition at line 236 of file gxfb.h.

#define VP_DCFG_FP_DATA_EN   (1 << 7) /* undocumented */

Definition at line 243 of file gxfb.h.

#define VP_DCFG_FP_PWR_EN   (1 << 6) /* undocumented */

Definition at line 244 of file gxfb.h.

#define VP_DCFG_GV_GAM   (1 << 21)

Definition at line 237 of file gxfb.h.

#define VP_DCFG_HSYNC_EN   (1 << 1)

Definition at line 247 of file gxfb.h.

#define VP_DCFG_VG_CK   (1 << 20)

Definition at line 238 of file gxfb.h.

#define VP_DCFG_VSYNC_EN   (1 << 2)

Definition at line 246 of file gxfb.h.

#define VP_FP_START   0x400

Definition at line 261 of file gxfb.h.

#define VP_MISC_APWRDN   (1 << 11)

Definition at line 252 of file gxfb.h.

#define VP_MISC_DACPWRDN   (1 << 10)

Definition at line 251 of file gxfb.h.

#define VP_MISC_GAM_EN   (1 << 0)

Definition at line 250 of file gxfb.h.

#define VP_REG_COUNT   (0x138 / 8)

Definition at line 18 of file gxfb.h.

#define VP_VCFG_VID_EN   (1 << 0)

Definition at line 234 of file gxfb.h.

Enumeration Type Documentation

Enumerator:
DC_UNLOCK 
DC_GENERAL_CFG 
DC_DISPLAY_CFG 
DC_RSVD_0 
DC_FB_ST_OFFSET 
DC_CB_ST_OFFSET 
DC_CURS_ST_OFFSET 
DC_ICON_ST_OFFSET 
DC_VID_Y_ST_OFFSET 
DC_VID_U_ST_OFFSET 
DC_VID_V_ST_OFFSET 
DC_RSVD_1 
DC_LINE_SIZE 
DC_GFX_PITCH 
DC_VID_YUV_PITCH 
DC_RSVD_2 
DC_H_ACTIVE_TIMING 
DC_H_BLANK_TIMING 
DC_H_SYNC_TIMING 
DC_RSVD_3 
DC_V_ACTIVE_TIMING 
DC_V_BLANK_TIMING 
DC_V_SYNC_TIMING 
DC_RSVD_4 
DC_CURSOR_X 
DC_CURSOR_Y 
DC_ICON_X 
DC_LINE_CNT 
DC_PAL_ADDRESS 
DC_PAL_DATA 
DC_DFIFO_DIAG 
DC_CFIFO_DIAG 
DC_VID_DS_DELTA 
DC_GLIU0_MEM_OFFSET 
DC_RSVD_5 
DC_DV_ACC 
DC_UNLOCK 
DC_GENERAL_CFG 
DC_DISPLAY_CFG 
DC_ARB_CFG 
DC_FB_ST_OFFSET 
DC_CB_ST_OFFSET 
DC_CURS_ST_OFFSET 
DC_RSVD_0 
DC_VID_Y_ST_OFFSET 
DC_VID_U_ST_OFFSET 
DC_VID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VRR 
VP_AWT 
VP_VTM 
VP_VCFG 
VP_DCFG 
VP_VX 
VP_VY 
VP_SCL 
VP_VCK 
VP_VCM 
VP_PAR 
VP_PDR 
VP_SLR 
VP_MISC 
VP_CCS 
VP_VYS 
VP_VXS 
VP_RSVD_0 
VP_VDC 
VP_RSVD_1 
VP_CRC 
VP_CRC32 
VP_VDE 
VP_CCK 
VP_CCM 
VP_CC1 
VP_CC2 
VP_A1X 
VP_A1Y 
VP_A1C 
VP_A1T 
VP_A2X 
VP_A2Y 
VP_A2C 
VP_A2T 
VP_A3X 
VP_A3Y 
VP_A3C 
VP_A3T 
VP_VRR 
VP_AWT 
VP_VTM 
VP_VYE 
VP_A1YE 
VP_A2YE 
VP_A3YE 
VP_VCR 

Definition at line 173 of file gxfb.h.

Function Documentation

int gx_blank_display ( struct fb_info info,
int  blank_mode 
)

Definition at line 298 of file video_gx.c.

void gx_configure_display ( struct fb_info info)

Definition at line 236 of file video_gx.c.

unsigned int gx_frame_buffer_size ( void  )

Definition at line 24 of file display_gx.c.

int gx_line_delta ( int  xres,
int  bpp 
)

Definition at line 55 of file display_gx.c.

void gx_set_dclk_frequency ( struct fb_info info)

Definition at line 120 of file video_gx.c.

void gx_set_hw_palette_reg ( struct fb_info info,
unsigned  regno,
unsigned  red,
unsigned  green,
unsigned  blue 
)

Definition at line 171 of file display_gx.c.

void gx_set_mode ( struct fb_info info)

Definition at line 61 of file display_gx.c.