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

Go to the source code of this file.

Data Structures

struct  cyberpro_info
 

Macros

#define MMIO_OFFSET   0x00800000
 
#define MMIO_SIZE   0x000c0000
 
#define NR_PALETTE   256
 
#define debug_printf(x...)   do { } while (0)
 
#define RAMDAC_RAMPWRDN   0x01
 
#define RAMDAC_DAC8BIT   0x02
 
#define RAMDAC_VREFEN   0x04
 
#define RAMDAC_BYPASS   0x10
 
#define RAMDAC_DACPWRDN   0x40
 
#define EXT_CRT_VRTOFL   0x11
 
#define EXT_CRT_VRTOFL_LINECOMP10   0x10
 
#define EXT_CRT_VRTOFL_INTERLACE   0x20
 
#define EXT_CRT_IRQ   0x12
 
#define EXT_CRT_IRQ_ENABLE   0x01
 
#define EXT_CRT_IRQ_ACT_HIGH   0x04
 
#define EXT_CRT_TEST   0x13
 
#define EXT_SYNC_CTL   0x16
 
#define EXT_SYNC_CTL_HS_NORMAL   0x00
 
#define EXT_SYNC_CTL_HS_0   0x01
 
#define EXT_SYNC_CTL_HS_1   0x02
 
#define EXT_SYNC_CTL_HS_HSVS   0x03
 
#define EXT_SYNC_CTL_VS_NORMAL   0x00
 
#define EXT_SYNC_CTL_VS_0   0x04
 
#define EXT_SYNC_CTL_VS_1   0x08
 
#define EXT_SYNC_CTL_VS_COMP   0x0c
 
#define EXT_BUS_CTL   0x30
 
#define EXT_BUS_CTL_LIN_1MB   0x00
 
#define EXT_BUS_CTL_LIN_2MB   0x01
 
#define EXT_BUS_CTL_LIN_4MB   0x02
 
#define EXT_BUS_CTL_ZEROWAIT   0x04
 
#define EXT_BUS_CTL_PCIBURST_WRITE   0x20
 
#define EXT_BUS_CTL_PCIBURST_READ   0x80 /* CyberPro 5000 only */
 
#define EXT_SEG_WRITE_PTR   0x31
 
#define EXT_SEG_READ_PTR   0x32
 
#define EXT_BIU_MISC   0x33
 
#define EXT_BIU_MISC_LIN_ENABLE   0x01
 
#define EXT_BIU_MISC_COP_ENABLE   0x04
 
#define EXT_BIU_MISC_COP_BFC   0x08
 
#define EXT_FUNC_CTL   0x3c
 
#define EXT_FUNC_CTL_EXTREGENBL   0x80 /* enable access to 0xbcxxx */
 
#define PCI_BM_CTL   0x3e
 
#define PCI_BM_CTL_ENABLE   0x01 /* enable bus-master */
 
#define PCI_BM_CTL_BURST   0x02 /* enable burst */
 
#define PCI_BM_CTL_BACK2BACK   0x04 /* enable back to back */
 
#define PCI_BM_CTL_DUMMY   0x08 /* insert dummy cycle */
 
#define X_V2_VID_MEM_START   0x40
 
#define X_V2_VID_SRC_WIDTH   0x43
 
#define X_V2_X_START   0x45
 
#define X_V2_X_END   0x47
 
#define X_V2_Y_START   0x49
 
#define X_V2_Y_END   0x4b
 
#define X_V2_VID_SRC_WIN_WIDTH   0x4d
 
#define Y_V2_DDA_X_INC   0x43
 
#define Y_V2_DDA_Y_INC   0x47
 
#define Y_V2_VID_FIFO_CTL   0x49
 
#define Y_V2_VID_FMT   0x4b
 
#define Y_V2_VID_DISP_CTL1   0x4c
 
#define Y_V2_VID_FIFO_CTL1   0x4d
 
#define J_X2_VID_MEM_START   0x40
 
#define J_X2_VID_SRC_WIDTH   0x43
 
#define J_X2_X_START   0x47
 
#define J_X2_X_END   0x49
 
#define J_X2_Y_START   0x4b
 
#define J_X2_Y_END   0x4d
 
#define J_X2_VID_SRC_WIN_WIDTH   0x4f
 
#define K_X2_DDA_X_INIT   0x40
 
#define K_X2_DDA_X_INC   0x42
 
#define K_X2_DDA_Y_INIT   0x44
 
#define K_X2_DDA_Y_INC   0x46
 
#define K_X2_VID_FMT   0x48
 
#define K_X2_VID_DISP_CTL1   0x49
 
#define K_CAP_X2_CTL1   0x49
 
#define CURS_H_START   0x50
 
#define CURS_H_PRESET   0x52
 
#define CURS_V_START   0x53
 
#define CURS_V_PRESET   0x55
 
#define CURS_CTL   0x56
 
#define EXT_ATTRIB_CTL   0x57
 
#define EXT_ATTRIB_CTL_EXT   0x01
 
#define EXT_OVERSCAN_RED   0x58
 
#define EXT_OVERSCAN_GREEN   0x59
 
#define EXT_OVERSCAN_BLUE   0x5a
 
#define CAP_X_START   0x60
 
#define CAP_X_END   0x62
 
#define CAP_Y_START   0x64
 
#define CAP_Y_END   0x66
 
#define CAP_DDA_X_INIT   0x68
 
#define CAP_DDA_X_INC   0x6a
 
#define CAP_DDA_Y_INIT   0x6c
 
#define CAP_DDA_Y_INC   0x6e
 
#define EXT_MEM_CTL0   0x70
 
#define EXT_MEM_CTL0_7CLK   0x01
 
#define EXT_MEM_CTL0_RAS_1   0x02
 
#define EXT_MEM_CTL0_RAS2CAS_1   0x04
 
#define EXT_MEM_CTL0_MULTCAS   0x08
 
#define EXT_MEM_CTL0_ASYM   0x10
 
#define EXT_MEM_CTL0_CAS1ON   0x20
 
#define EXT_MEM_CTL0_FIFOFLUSH   0x40
 
#define EXT_MEM_CTL0_SEQRESET   0x80
 
#define EXT_MEM_CTL1   0x71
 
#define EXT_MEM_CTL1_PAR   0x00
 
#define EXT_MEM_CTL1_SERPAR   0x01
 
#define EXT_MEM_CTL1_SER   0x03
 
#define EXT_MEM_CTL1_SYNC   0x04
 
#define EXT_MEM_CTL1_VRAM   0x08
 
#define EXT_MEM_CTL1_4K_REFRESH   0x10
 
#define EXT_MEM_CTL1_256Kx4   0x00
 
#define EXT_MEM_CTL1_512Kx8   0x40
 
#define EXT_MEM_CTL1_1Mx16   0x60
 
#define EXT_MEM_CTL2   0x72
 
#define MEM_CTL2_SIZE_1MB   0x00
 
#define MEM_CTL2_SIZE_2MB   0x01
 
#define MEM_CTL2_SIZE_4MB   0x02
 
#define MEM_CTL2_SIZE_MASK   0x03
 
#define MEM_CTL2_64BIT   0x04
 
#define EXT_HIDDEN_CTL1   0x73
 
#define EXT_FIFO_CTL   0x74
 
#define EXT_SEQ_MISC   0x77
 
#define EXT_SEQ_MISC_8   0x01
 
#define EXT_SEQ_MISC_16_RGB565   0x02
 
#define EXT_SEQ_MISC_32   0x03
 
#define EXT_SEQ_MISC_24_RGB888   0x04
 
#define EXT_SEQ_MISC_16_RGB555   0x06
 
#define EXT_SEQ_MISC_8_RGB332   0x09
 
#define EXT_SEQ_MISC_16_RGB444   0x0a
 
#define EXT_HIDDEN_CTL4   0x7a
 
#define CURS_MEM_START   0x7e /* bits 23..12 */
 
#define CAP_PIP_X_START   0x80
 
#define CAP_PIP_X_END   0x82
 
#define CAP_PIP_Y_START   0x84
 
#define CAP_PIP_Y_END   0x86
 
#define EXT_CAP_CTL1   0x88
 
#define EXT_CAP_CTL2   0x89
 
#define EXT_CAP_CTL2_ODDFRAMEIRQ   0x01
 
#define EXT_CAP_CTL2_ANYFRAMEIRQ   0x02
 
#define BM_CTRL0   0x9c
 
#define BM_CTRL1   0x9d
 
#define EXT_CAP_MODE1   0xa4
 
#define EXT_CAP_MODE1_8BIT   0x01 /* enable 8bit capture mode */
 
#define EXT_CAP_MODE1_CCIR656   0x02 /* CCIR656 mode */
 
#define EXT_CAP_MODE1_IGNOREVGT   0x04 /* ignore VGT */
 
#define EXT_CAP_MODE1_ALTFIFO   0x10 /* use alternate FIFO for capture */
 
#define EXT_CAP_MODE1_SWAPUV   0x20 /* swap UV bytes */
 
#define EXT_CAP_MODE1_MIRRORY   0x40 /* mirror vertically */
 
#define EXT_CAP_MODE1_MIRRORX   0x80 /* mirror horizontally */
 
#define EXT_CAP_MODE2   0xa5
 
#define EXT_CAP_MODE2_CCIRINVOE   0x01
 
#define EXT_CAP_MODE2_CCIRINVVGT   0x02
 
#define EXT_CAP_MODE2_CCIRINVHGT   0x04
 
#define EXT_CAP_MODE2_CCIRINVDG   0x08
 
#define EXT_CAP_MODE2_DATEND   0x10
 
#define EXT_CAP_MODE2_CCIRDGH   0x20
 
#define EXT_CAP_MODE2_FIXSONY   0x40
 
#define EXT_CAP_MODE2_SYNCFREEZE   0x80
 
#define EXT_TV_CTL   0xae
 
#define EXT_DCLK_MULT   0xb0
 
#define EXT_DCLK_DIV   0xb1
 
#define EXT_DCLK_DIV_VFSEL   0x20
 
#define EXT_MCLK_MULT   0xb2
 
#define EXT_MCLK_DIV   0xb3
 
#define EXT_LATCH1   0xb5
 
#define EXT_LATCH1_VAFC_EN   0x01 /* enable VAFC */
 
#define EXT_FEATURE   0xb7
 
#define EXT_FEATURE_BUS_MASK   0x07 /* host bus mask */
 
#define EXT_FEATURE_BUS_PCI   0x00
 
#define EXT_FEATURE_BUS_VL_STD   0x04
 
#define EXT_FEATURE_BUS_VL_LINEAR   0x05
 
#define EXT_FEATURE_1682   0x20 /* IGS 1682 compatibility */
 
#define EXT_LATCH2   0xb6
 
#define EXT_LATCH2_I2C_CLKEN   0x10
 
#define EXT_LATCH2_I2C_CLK   0x20
 
#define EXT_LATCH2_I2C_DATEN   0x40
 
#define EXT_LATCH2_I2C_DAT   0x80
 
#define EXT_XT_CTL   0xbe
 
#define EXT_XT_CAP16   0x04
 
#define EXT_XT_LINEARFB   0x08
 
#define EXT_XT_PAL   0x10
 
#define EXT_MEM_START   0xc0 /* ext start address 21 bits */
 
#define HOR_PHASE_SHIFT   0xc2 /* high 3 bits */
 
#define EXT_SRC_WIDTH   0xc3 /* ext offset phase 10 bits */
 
#define EXT_SRC_HEIGHT   0xc4 /* high 6 bits */
 
#define EXT_X_START   0xc5 /* ext->screen, 16 bits */
 
#define EXT_X_END   0xc7 /* ext->screen, 16 bits */
 
#define EXT_Y_START   0xc9 /* ext->screen, 16 bits */
 
#define EXT_Y_END   0xcb /* ext->screen, 16 bits */
 
#define EXT_SRC_WIN_WIDTH   0xcd /* 8 bits */
 
#define EXT_COLOUR_COMPARE   0xce /* 24 bits */
 
#define EXT_DDA_X_INIT   0xd1 /* ext->screen 16 bits */
 
#define EXT_DDA_X_INC   0xd3 /* ext->screen 16 bits */
 
#define EXT_DDA_Y_INIT   0xd5 /* ext->screen 16 bits */
 
#define EXT_DDA_Y_INC   0xd7 /* ext->screen 16 bits */
 
#define EXT_VID_FIFO_CTL   0xd9
 
#define EXT_VID_FMT   0xdb
 
#define EXT_VID_FMT_YUV422   0x00 /* formats - does this cause conversion? */
 
#define EXT_VID_FMT_RGB555   0x01
 
#define EXT_VID_FMT_RGB565   0x02
 
#define EXT_VID_FMT_RGB888_24   0x03
 
#define EXT_VID_FMT_RGB888_32   0x04
 
#define EXT_VID_FMT_RGB8   0x05
 
#define EXT_VID_FMT_RGB4444   0x06
 
#define EXT_VID_FMT_RGB8T   0x07
 
#define EXT_VID_FMT_DUP_PIX_ZOON   0x08 /* duplicate pixel zoom */
 
#define EXT_VID_FMT_MOD_3RD_PIX   0x20 /* modify 3rd duplicated pixel */
 
#define EXT_VID_FMT_DBL_H_PIX   0x40 /* double horiz pixels */
 
#define EXT_VID_FMT_YUV128   0x80 /* YUV data offset by 128 */
 
#define EXT_VID_DISP_CTL1   0xdc
 
#define EXT_VID_DISP_CTL1_INTRAM   0x01 /* video pixels go to internal RAM */
 
#define EXT_VID_DISP_CTL1_IGNORE_CCOMP   0x02 /* ignore colour compare registers */
 
#define EXT_VID_DISP_CTL1_NOCLIP   0x04 /* do not clip to 16235,16240 */
 
#define EXT_VID_DISP_CTL1_UV_AVG   0x08 /* U/V data is averaged */
 
#define EXT_VID_DISP_CTL1_Y128   0x10 /* Y data offset by 128 (if YUV128 set) */
 
#define EXT_VID_DISP_CTL1_VINTERPOL_OFF   0x20 /* disable vertical interpolation */
 
#define EXT_VID_DISP_CTL1_FULL_WIN   0x40 /* video out window full */
 
#define EXT_VID_DISP_CTL1_ENABLE_WINDOW   0x80 /* enable video window */
 
#define EXT_VID_FIFO_CTL1   0xdd
 
#define EXT_VID_FIFO_CTL1_OE_HIGH   0x02
 
#define EXT_VID_FIFO_CTL1_INTERLEAVE   0x04 /* enable interleaved memory read */
 
#define EXT_ROM_UCB4GH   0xe5
 
#define EXT_ROM_UCB4GH_FREEZE   0x02 /* capture frozen */
 
#define EXT_ROM_UCB4GH_ODDFRAME   0x04 /* 1 = odd frame captured */
 
#define EXT_ROM_UCB4GH_1HL   0x08 /* first horizonal line after VGT falling edge */
 
#define EXT_ROM_UCB4GH_ODD   0x10 /* odd frame indicator */
 
#define EXT_ROM_UCB4GH_INTSTAT   0x20 /* video interrupt */
 
#define VFAC_CTL1   0xe8
 
#define VFAC_CTL1_CAPTURE   0x01 /* capture enable (only when VSYNC high)*/
 
#define VFAC_CTL1_VFAC_ENABLE   0x02 /* vfac enable */
 
#define VFAC_CTL1_FREEZE_CAPTURE   0x04 /* freeze capture */
 
#define VFAC_CTL1_FREEZE_CAPTURE_SYNC   0x08 /* sync freeze capture */
 
#define VFAC_CTL1_VALIDFRAME_SRC   0x10 /* select valid frame source */
 
#define VFAC_CTL1_PHILIPS   0x40 /* select Philips mode */
 
#define VFAC_CTL1_MODVINTERPOLCLK   0x80 /* modify vertical interpolation clocl */
 
#define VFAC_CTL2   0xe9
 
#define VFAC_CTL2_INVERT_VIDDATAVALID   0x01 /* invert video data valid */
 
#define VFAC_CTL2_INVERT_GRAPHREADY   0x02 /* invert graphic ready output sig */
 
#define VFAC_CTL2_INVERT_DATACLK   0x04 /* invert data clock signal */
 
#define VFAC_CTL2_INVERT_HSYNC   0x08 /* invert hsync input */
 
#define VFAC_CTL2_INVERT_VSYNC   0x10 /* invert vsync input */
 
#define VFAC_CTL2_INVERT_FRAME   0x20 /* invert frame odd/even input */
 
#define VFAC_CTL2_INVERT_BLANK   0x40 /* invert blank output */
 
#define VFAC_CTL2_INVERT_OVSYNC   0x80 /* invert other vsync input */
 
#define VFAC_CTL3   0xea
 
#define VFAC_CTL3_CAP_LARGE_FIFO   0x01 /* large capture fifo */
 
#define VFAC_CTL3_CAP_INTERLACE   0x02 /* capture odd and even fields */
 
#define VFAC_CTL3_CAP_HOLD_4NS   0x00 /* hold capture data for 4ns */
 
#define VFAC_CTL3_CAP_HOLD_2NS   0x04 /* hold capture data for 2ns */
 
#define VFAC_CTL3_CAP_HOLD_6NS   0x08 /* hold capture data for 6ns */
 
#define VFAC_CTL3_CAP_HOLD_0NS   0x0c /* hold capture data for 0ns */
 
#define VFAC_CTL3_CHROMAKEY   0x20 /* capture data will be chromakeyed */
 
#define VFAC_CTL3_CAP_IRQ   0x40 /* enable capture interrupt */
 
#define CAP_MEM_START   0xeb /* 18 bits */
 
#define CAP_MAP_WIDTH   0xed /* high 6 bits */
 
#define CAP_PITCH   0xee /* 8 bits */
 
#define CAP_CTL_MISC   0xef
 
#define CAP_CTL_MISC_HDIV   0x01
 
#define CAP_CTL_MISC_HDIV4   0x02
 
#define CAP_CTL_MISC_ODDEVEN   0x04
 
#define CAP_CTL_MISC_HSYNCDIV2   0x08
 
#define CAP_CTL_MISC_SYNCTZHIGH   0x10
 
#define CAP_CTL_MISC_SYNCTZOR   0x20
 
#define CAP_CTL_MISC_DISPUSED   0x80
 
#define REG_BANK   0xfa
 
#define REG_BANK_X   0x00
 
#define REG_BANK_Y   0x01
 
#define REG_BANK_W   0x02
 
#define REG_BANK_T   0x03
 
#define REG_BANK_J   0x04
 
#define REG_BANK_K   0x05
 
#define BM_VID_ADDR_LOW   0xbc040
 
#define BM_VID_ADDR_HIGH   0xbc044
 
#define BM_ADDRESS_LOW   0xbc080
 
#define BM_ADDRESS_HIGH   0xbc084
 
#define BM_LENGTH   0xbc088
 
#define BM_CONTROL   0xbc08c
 
#define BM_CONTROL_ENABLE   0x01 /* enable transfer */
 
#define BM_CONTROL_IRQEN   0x02 /* enable IRQ at end of transfer */
 
#define BM_CONTROL_INIT   0x04 /* initialise status & count */
 
#define BM_COUNT   0xbc090 /* read-only */
 
#define TV_VBLANK_EVEN_START   0xbe43c
 
#define TV_VBLANK_EVEN_END   0xbe440
 
#define TV_VBLANK_ODD_START   0xbe444
 
#define TV_VBLANK_ODD_END   0xbe448
 
#define TV_SYNC_YGAIN   0xbe44c
 
#define TV_UV_GAIN   0xbe450
 
#define TV_PED_UVDET   0xbe454
 
#define TV_UV_BURST_AMP   0xbe458
 
#define TV_HSYNC_START   0xbe45c
 
#define TV_HSYNC_END   0xbe460
 
#define TV_Y_DELAY1   0xbe464
 
#define TV_Y_DELAY2   0xbe468
 
#define TV_UV_DELAY1   0xbe46c
 
#define TV_BURST_START   0xbe470
 
#define TV_BURST_END   0xbe474
 
#define TV_HBLANK_START   0xbe478
 
#define TV_HBLANK_END   0xbe47c
 
#define TV_PED_EVEN_START   0xbe480
 
#define TV_PED_EVEN_END   0xbe484
 
#define TV_PED_ODD_START   0xbe488
 
#define TV_PED_ODD_END   0xbe48c
 
#define TV_VSYNC_EVEN_START   0xbe490
 
#define TV_VSYNC_EVEN_END   0xbe494
 
#define TV_VSYNC_ODD_START   0xbe498
 
#define TV_VSYNC_ODD_END   0xbe49c
 
#define TV_SCFL   0xbe4a0
 
#define TV_SCFH   0xbe4a4
 
#define TV_SCP   0xbe4a8
 
#define TV_DELAYBYPASS   0xbe4b4
 
#define TV_EQL_END   0xbe4bc
 
#define TV_SERR_START   0xbe4c0
 
#define TV_SERR_END   0xbe4c4
 
#define TV_CTL   0xbe4dc /* reflects a previous register- MVFCLR, MVPCLR etc P241*/
 
#define TV_VSYNC_VGA_HS   0xbe4e8
 
#define TV_FLICK_XMIN   0xbe514
 
#define TV_FLICK_XMAX   0xbe518
 
#define TV_FLICK_YMIN   0xbe51c
 
#define TV_FLICK_YMAX   0xbe520
 
#define CO_REG_CONTROL   0xbf011
 
#define CO_CTRL_BUSY   0x80
 
#define CO_CTRL_CMDFULL   0x04
 
#define CO_CTRL_FIFOEMPTY   0x02
 
#define CO_CTRL_READY   0x01
 
#define CO_REG_SRC_WIDTH   0xbf018
 
#define CO_REG_PIXFMT   0xbf01c
 
#define CO_PIXFMT_32BPP   0x03
 
#define CO_PIXFMT_24BPP   0x02
 
#define CO_PIXFMT_16BPP   0x01
 
#define CO_PIXFMT_8BPP   0x00
 
#define CO_REG_FGMIX   0xbf048
 
#define CO_FG_MIX_ZERO   0x00
 
#define CO_FG_MIX_SRC_AND_DST   0x01
 
#define CO_FG_MIX_SRC_AND_NDST   0x02
 
#define CO_FG_MIX_SRC   0x03
 
#define CO_FG_MIX_NSRC_AND_DST   0x04
 
#define CO_FG_MIX_DST   0x05
 
#define CO_FG_MIX_SRC_XOR_DST   0x06
 
#define CO_FG_MIX_SRC_OR_DST   0x07
 
#define CO_FG_MIX_NSRC_AND_NDST   0x08
 
#define CO_FG_MIX_SRC_XOR_NDST   0x09
 
#define CO_FG_MIX_NDST   0x0a
 
#define CO_FG_MIX_SRC_OR_NDST   0x0b
 
#define CO_FG_MIX_NSRC   0x0c
 
#define CO_FG_MIX_NSRC_OR_DST   0x0d
 
#define CO_FG_MIX_NSRC_OR_NDST   0x0e
 
#define CO_FG_MIX_ONES   0x0f
 
#define CO_REG_FGCOLOUR   0xbf058
 
#define CO_REG_BGCOLOUR   0xbf05c
 
#define CO_REG_PIXWIDTH   0xbf060
 
#define CO_REG_PIXHEIGHT   0xbf062
 
#define CO_REG_X_PHASE   0xbf078
 
#define CO_REG_CMD_L   0xbf07c
 
#define CO_CMD_L_PATTERN_FGCOL   0x8000
 
#define CO_CMD_L_INC_LEFT   0x0004
 
#define CO_CMD_L_INC_UP   0x0002
 
#define CO_REG_CMD_H   0xbf07e
 
#define CO_CMD_H_BGSRCMAP   0x8000 /* otherwise bg colour */
 
#define CO_CMD_H_FGSRCMAP   0x2000 /* otherwise fg colour */
 
#define CO_CMD_H_BLITTER   0x0800
 
#define CO_REG_SRC1_PTR   0xbf170
 
#define CO_REG_SRC2_PTR   0xbf174
 
#define CO_REG_DEST_PTR   0xbf178
 
#define CO_REG_DEST_WIDTH   0xbf218
 
#define ID_IGA_1682   0
 
#define ID_CYBERPRO_2000   1
 
#define ID_CYBERPRO_2010   2
 
#define ID_CYBERPRO_5000   3
 

Functions

int cyber2000fb_attach (struct cyberpro_info *info, int idx)
 
void cyber2000fb_detach (int idx)
 
void cyber2000fb_enable_extregs (struct cfb_info *cfb)
 
void cyber2000fb_disable_extregs (struct cfb_info *cfb)
 

Macro Definition Documentation

#define BM_ADDRESS_HIGH   0xbc084

Definition at line 357 of file cyber2000fb.h.

#define BM_ADDRESS_LOW   0xbc080

Definition at line 356 of file cyber2000fb.h.

#define BM_CONTROL   0xbc08c

Definition at line 359 of file cyber2000fb.h.

#define BM_CONTROL_ENABLE   0x01 /* enable transfer */

Definition at line 360 of file cyber2000fb.h.

#define BM_CONTROL_INIT   0x04 /* initialise status & count */

Definition at line 362 of file cyber2000fb.h.

#define BM_CONTROL_IRQEN   0x02 /* enable IRQ at end of transfer */

Definition at line 361 of file cyber2000fb.h.

#define BM_COUNT   0xbc090 /* read-only */

Definition at line 363 of file cyber2000fb.h.

#define BM_CTRL0   0x9c

Definition at line 198 of file cyber2000fb.h.

#define BM_CTRL1   0x9d

Definition at line 199 of file cyber2000fb.h.

#define BM_LENGTH   0xbc088

Definition at line 358 of file cyber2000fb.h.

#define BM_VID_ADDR_HIGH   0xbc044

Definition at line 355 of file cyber2000fb.h.

#define BM_VID_ADDR_LOW   0xbc040

Definition at line 354 of file cyber2000fb.h.

#define CAP_CTL_MISC   0xef

Definition at line 334 of file cyber2000fb.h.

#define CAP_CTL_MISC_DISPUSED   0x80

Definition at line 341 of file cyber2000fb.h.

#define CAP_CTL_MISC_HDIV   0x01

Definition at line 335 of file cyber2000fb.h.

#define CAP_CTL_MISC_HDIV4   0x02

Definition at line 336 of file cyber2000fb.h.

#define CAP_CTL_MISC_HSYNCDIV2   0x08

Definition at line 338 of file cyber2000fb.h.

#define CAP_CTL_MISC_ODDEVEN   0x04

Definition at line 337 of file cyber2000fb.h.

#define CAP_CTL_MISC_SYNCTZHIGH   0x10

Definition at line 339 of file cyber2000fb.h.

#define CAP_CTL_MISC_SYNCTZOR   0x20

Definition at line 340 of file cyber2000fb.h.

#define CAP_DDA_X_INC   0x6a

Definition at line 138 of file cyber2000fb.h.

#define CAP_DDA_X_INIT   0x68

Definition at line 137 of file cyber2000fb.h.

#define CAP_DDA_Y_INC   0x6e

Definition at line 140 of file cyber2000fb.h.

#define CAP_DDA_Y_INIT   0x6c

Definition at line 139 of file cyber2000fb.h.

#define CAP_MAP_WIDTH   0xed /* high 6 bits */

Definition at line 331 of file cyber2000fb.h.

#define CAP_MEM_START   0xeb /* 18 bits */

Definition at line 330 of file cyber2000fb.h.

#define CAP_PIP_X_END   0x82

Definition at line 188 of file cyber2000fb.h.

#define CAP_PIP_X_START   0x80

Definition at line 187 of file cyber2000fb.h.

#define CAP_PIP_Y_END   0x86

Definition at line 190 of file cyber2000fb.h.

#define CAP_PIP_Y_START   0x84

Definition at line 189 of file cyber2000fb.h.

#define CAP_PITCH   0xee /* 8 bits */

Definition at line 332 of file cyber2000fb.h.

#define CAP_X_END   0x62

Definition at line 134 of file cyber2000fb.h.

#define CAP_X_START   0x60

Definition at line 133 of file cyber2000fb.h.

#define CAP_Y_END   0x66

Definition at line 136 of file cyber2000fb.h.

#define CAP_Y_START   0x64

Definition at line 135 of file cyber2000fb.h.

#define CO_CMD_H_BGSRCMAP   0x8000 /* otherwise bg colour */

Definition at line 452 of file cyber2000fb.h.

#define CO_CMD_H_BLITTER   0x0800

Definition at line 454 of file cyber2000fb.h.

#define CO_CMD_H_FGSRCMAP   0x2000 /* otherwise fg colour */

Definition at line 453 of file cyber2000fb.h.

#define CO_CMD_L_INC_LEFT   0x0004

Definition at line 448 of file cyber2000fb.h.

#define CO_CMD_L_INC_UP   0x0002

Definition at line 449 of file cyber2000fb.h.

#define CO_CMD_L_PATTERN_FGCOL   0x8000

Definition at line 447 of file cyber2000fb.h.

#define CO_CTRL_BUSY   0x80

Definition at line 411 of file cyber2000fb.h.

#define CO_CTRL_CMDFULL   0x04

Definition at line 412 of file cyber2000fb.h.

#define CO_CTRL_FIFOEMPTY   0x02

Definition at line 413 of file cyber2000fb.h.

#define CO_CTRL_READY   0x01

Definition at line 414 of file cyber2000fb.h.

#define CO_FG_MIX_DST   0x05

Definition at line 429 of file cyber2000fb.h.

#define CO_FG_MIX_NDST   0x0a

Definition at line 434 of file cyber2000fb.h.

#define CO_FG_MIX_NSRC   0x0c

Definition at line 436 of file cyber2000fb.h.

#define CO_FG_MIX_NSRC_AND_DST   0x04

Definition at line 428 of file cyber2000fb.h.

#define CO_FG_MIX_NSRC_AND_NDST   0x08

Definition at line 432 of file cyber2000fb.h.

#define CO_FG_MIX_NSRC_OR_DST   0x0d

Definition at line 437 of file cyber2000fb.h.

#define CO_FG_MIX_NSRC_OR_NDST   0x0e

Definition at line 438 of file cyber2000fb.h.

#define CO_FG_MIX_ONES   0x0f

Definition at line 439 of file cyber2000fb.h.

#define CO_FG_MIX_SRC   0x03

Definition at line 427 of file cyber2000fb.h.

#define CO_FG_MIX_SRC_AND_DST   0x01

Definition at line 425 of file cyber2000fb.h.

#define CO_FG_MIX_SRC_AND_NDST   0x02

Definition at line 426 of file cyber2000fb.h.

#define CO_FG_MIX_SRC_OR_DST   0x07

Definition at line 431 of file cyber2000fb.h.

#define CO_FG_MIX_SRC_OR_NDST   0x0b

Definition at line 435 of file cyber2000fb.h.

#define CO_FG_MIX_SRC_XOR_DST   0x06

Definition at line 430 of file cyber2000fb.h.

#define CO_FG_MIX_SRC_XOR_NDST   0x09

Definition at line 433 of file cyber2000fb.h.

#define CO_FG_MIX_ZERO   0x00

Definition at line 424 of file cyber2000fb.h.

#define CO_PIXFMT_16BPP   0x01

Definition at line 420 of file cyber2000fb.h.

#define CO_PIXFMT_24BPP   0x02

Definition at line 419 of file cyber2000fb.h.

#define CO_PIXFMT_32BPP   0x03

Definition at line 418 of file cyber2000fb.h.

#define CO_PIXFMT_8BPP   0x00

Definition at line 421 of file cyber2000fb.h.

#define CO_REG_BGCOLOUR   0xbf05c

Definition at line 442 of file cyber2000fb.h.

#define CO_REG_CMD_H   0xbf07e

Definition at line 451 of file cyber2000fb.h.

#define CO_REG_CMD_L   0xbf07c

Definition at line 446 of file cyber2000fb.h.

#define CO_REG_CONTROL   0xbf011

Definition at line 410 of file cyber2000fb.h.

#define CO_REG_DEST_PTR   0xbf178

Definition at line 458 of file cyber2000fb.h.

#define CO_REG_DEST_WIDTH   0xbf218

Definition at line 459 of file cyber2000fb.h.

#define CO_REG_FGCOLOUR   0xbf058

Definition at line 441 of file cyber2000fb.h.

#define CO_REG_FGMIX   0xbf048

Definition at line 423 of file cyber2000fb.h.

#define CO_REG_PIXFMT   0xbf01c

Definition at line 417 of file cyber2000fb.h.

#define CO_REG_PIXHEIGHT   0xbf062

Definition at line 444 of file cyber2000fb.h.

#define CO_REG_PIXWIDTH   0xbf060

Definition at line 443 of file cyber2000fb.h.

#define CO_REG_SRC1_PTR   0xbf170

Definition at line 456 of file cyber2000fb.h.

#define CO_REG_SRC2_PTR   0xbf174

Definition at line 457 of file cyber2000fb.h.

#define CO_REG_SRC_WIDTH   0xbf018

Definition at line 416 of file cyber2000fb.h.

#define CO_REG_X_PHASE   0xbf078

Definition at line 445 of file cyber2000fb.h.

#define CURS_CTL   0x56

Definition at line 124 of file cyber2000fb.h.

#define CURS_H_PRESET   0x52

Definition at line 121 of file cyber2000fb.h.

#define CURS_H_START   0x50

Definition at line 120 of file cyber2000fb.h.

#define CURS_MEM_START   0x7e /* bits 23..12 */

Definition at line 185 of file cyber2000fb.h.

#define CURS_V_PRESET   0x55

Definition at line 123 of file cyber2000fb.h.

#define CURS_V_START   0x53

Definition at line 122 of file cyber2000fb.h.

#define debug_printf (   x...)    do { } while (0)

Definition at line 35 of file cyber2000fb.h.

#define EXT_ATTRIB_CTL   0x57

Definition at line 126 of file cyber2000fb.h.

#define EXT_ATTRIB_CTL_EXT   0x01

Definition at line 127 of file cyber2000fb.h.

#define EXT_BIU_MISC   0x33

Definition at line 74 of file cyber2000fb.h.

#define EXT_BIU_MISC_COP_BFC   0x08

Definition at line 77 of file cyber2000fb.h.

#define EXT_BIU_MISC_COP_ENABLE   0x04

Definition at line 76 of file cyber2000fb.h.

#define EXT_BIU_MISC_LIN_ENABLE   0x01

Definition at line 75 of file cyber2000fb.h.

#define EXT_BUS_CTL   0x30

Definition at line 64 of file cyber2000fb.h.

#define EXT_BUS_CTL_LIN_1MB   0x00

Definition at line 65 of file cyber2000fb.h.

#define EXT_BUS_CTL_LIN_2MB   0x01

Definition at line 66 of file cyber2000fb.h.

#define EXT_BUS_CTL_LIN_4MB   0x02

Definition at line 67 of file cyber2000fb.h.

#define EXT_BUS_CTL_PCIBURST_READ   0x80 /* CyberPro 5000 only */

Definition at line 70 of file cyber2000fb.h.

#define EXT_BUS_CTL_PCIBURST_WRITE   0x20

Definition at line 69 of file cyber2000fb.h.

#define EXT_BUS_CTL_ZEROWAIT   0x04

Definition at line 68 of file cyber2000fb.h.

#define EXT_CAP_CTL1   0x88

Definition at line 192 of file cyber2000fb.h.

#define EXT_CAP_CTL2   0x89

Definition at line 194 of file cyber2000fb.h.

#define EXT_CAP_CTL2_ANYFRAMEIRQ   0x02

Definition at line 196 of file cyber2000fb.h.

#define EXT_CAP_CTL2_ODDFRAMEIRQ   0x01

Definition at line 195 of file cyber2000fb.h.

#define EXT_CAP_MODE1   0xa4

Definition at line 201 of file cyber2000fb.h.

#define EXT_CAP_MODE1_8BIT   0x01 /* enable 8bit capture mode */

Definition at line 202 of file cyber2000fb.h.

#define EXT_CAP_MODE1_ALTFIFO   0x10 /* use alternate FIFO for capture */

Definition at line 205 of file cyber2000fb.h.

#define EXT_CAP_MODE1_CCIR656   0x02 /* CCIR656 mode */

Definition at line 203 of file cyber2000fb.h.

#define EXT_CAP_MODE1_IGNOREVGT   0x04 /* ignore VGT */

Definition at line 204 of file cyber2000fb.h.

#define EXT_CAP_MODE1_MIRRORX   0x80 /* mirror horizontally */

Definition at line 208 of file cyber2000fb.h.

#define EXT_CAP_MODE1_MIRRORY   0x40 /* mirror vertically */

Definition at line 207 of file cyber2000fb.h.

#define EXT_CAP_MODE1_SWAPUV   0x20 /* swap UV bytes */

Definition at line 206 of file cyber2000fb.h.

#define EXT_CAP_MODE2   0xa5

Definition at line 210 of file cyber2000fb.h.

#define EXT_CAP_MODE2_CCIRDGH   0x20

Definition at line 216 of file cyber2000fb.h.

#define EXT_CAP_MODE2_CCIRINVDG   0x08

Definition at line 214 of file cyber2000fb.h.

#define EXT_CAP_MODE2_CCIRINVHGT   0x04

Definition at line 213 of file cyber2000fb.h.

#define EXT_CAP_MODE2_CCIRINVOE   0x01

Definition at line 211 of file cyber2000fb.h.

#define EXT_CAP_MODE2_CCIRINVVGT   0x02

Definition at line 212 of file cyber2000fb.h.

#define EXT_CAP_MODE2_DATEND   0x10

Definition at line 215 of file cyber2000fb.h.

#define EXT_CAP_MODE2_FIXSONY   0x40

Definition at line 217 of file cyber2000fb.h.

#define EXT_CAP_MODE2_SYNCFREEZE   0x80

Definition at line 218 of file cyber2000fb.h.

#define EXT_COLOUR_COMPARE   0xce /* 24 bits */

Definition at line 258 of file cyber2000fb.h.

#define EXT_CRT_IRQ   0x12

Definition at line 48 of file cyber2000fb.h.

#define EXT_CRT_IRQ_ACT_HIGH   0x04

Definition at line 50 of file cyber2000fb.h.

#define EXT_CRT_IRQ_ENABLE   0x01

Definition at line 49 of file cyber2000fb.h.

#define EXT_CRT_TEST   0x13

Definition at line 52 of file cyber2000fb.h.

#define EXT_CRT_VRTOFL   0x11

Definition at line 44 of file cyber2000fb.h.

#define EXT_CRT_VRTOFL_INTERLACE   0x20

Definition at line 46 of file cyber2000fb.h.

#define EXT_CRT_VRTOFL_LINECOMP10   0x10

Definition at line 45 of file cyber2000fb.h.

#define EXT_DCLK_DIV   0xb1

Definition at line 223 of file cyber2000fb.h.

#define EXT_DCLK_DIV_VFSEL   0x20

Definition at line 224 of file cyber2000fb.h.

#define EXT_DCLK_MULT   0xb0

Definition at line 222 of file cyber2000fb.h.

#define EXT_DDA_X_INC   0xd3 /* ext->screen 16 bits */

Definition at line 260 of file cyber2000fb.h.

#define EXT_DDA_X_INIT   0xd1 /* ext->screen 16 bits */

Definition at line 259 of file cyber2000fb.h.

#define EXT_DDA_Y_INC   0xd7 /* ext->screen 16 bits */

Definition at line 262 of file cyber2000fb.h.

#define EXT_DDA_Y_INIT   0xd5 /* ext->screen 16 bits */

Definition at line 261 of file cyber2000fb.h.

#define EXT_FEATURE   0xb7

Definition at line 231 of file cyber2000fb.h.

#define EXT_FEATURE_1682   0x20 /* IGS 1682 compatibility */

Definition at line 236 of file cyber2000fb.h.

#define EXT_FEATURE_BUS_MASK   0x07 /* host bus mask */

Definition at line 232 of file cyber2000fb.h.

#define EXT_FEATURE_BUS_PCI   0x00

Definition at line 233 of file cyber2000fb.h.

#define EXT_FEATURE_BUS_VL_LINEAR   0x05

Definition at line 235 of file cyber2000fb.h.

#define EXT_FEATURE_BUS_VL_STD   0x04

Definition at line 234 of file cyber2000fb.h.

#define EXT_FIFO_CTL   0x74

Definition at line 172 of file cyber2000fb.h.

#define EXT_FUNC_CTL   0x3c

Definition at line 79 of file cyber2000fb.h.

#define EXT_FUNC_CTL_EXTREGENBL   0x80 /* enable access to 0xbcxxx */

Definition at line 80 of file cyber2000fb.h.

#define EXT_HIDDEN_CTL1   0x73

Definition at line 170 of file cyber2000fb.h.

#define EXT_HIDDEN_CTL4   0x7a

Definition at line 183 of file cyber2000fb.h.

#define EXT_LATCH1   0xb5

Definition at line 228 of file cyber2000fb.h.

#define EXT_LATCH1_VAFC_EN   0x01 /* enable VAFC */

Definition at line 229 of file cyber2000fb.h.

#define EXT_LATCH2   0xb6

Definition at line 238 of file cyber2000fb.h.

#define EXT_LATCH2_I2C_CLK   0x20

Definition at line 240 of file cyber2000fb.h.

#define EXT_LATCH2_I2C_CLKEN   0x10

Definition at line 239 of file cyber2000fb.h.

#define EXT_LATCH2_I2C_DAT   0x80

Definition at line 242 of file cyber2000fb.h.

#define EXT_LATCH2_I2C_DATEN   0x40

Definition at line 241 of file cyber2000fb.h.

#define EXT_MCLK_DIV   0xb3

Definition at line 226 of file cyber2000fb.h.

#define EXT_MCLK_MULT   0xb2

Definition at line 225 of file cyber2000fb.h.

#define EXT_MEM_CTL0   0x70

Definition at line 142 of file cyber2000fb.h.

#define EXT_MEM_CTL0_7CLK   0x01

Definition at line 143 of file cyber2000fb.h.

#define EXT_MEM_CTL0_ASYM   0x10

Definition at line 147 of file cyber2000fb.h.

#define EXT_MEM_CTL0_CAS1ON   0x20

Definition at line 148 of file cyber2000fb.h.

#define EXT_MEM_CTL0_FIFOFLUSH   0x40

Definition at line 149 of file cyber2000fb.h.

#define EXT_MEM_CTL0_MULTCAS   0x08

Definition at line 146 of file cyber2000fb.h.

#define EXT_MEM_CTL0_RAS2CAS_1   0x04

Definition at line 145 of file cyber2000fb.h.

#define EXT_MEM_CTL0_RAS_1   0x02

Definition at line 144 of file cyber2000fb.h.

#define EXT_MEM_CTL0_SEQRESET   0x80

Definition at line 150 of file cyber2000fb.h.

#define EXT_MEM_CTL1   0x71

Definition at line 152 of file cyber2000fb.h.

#define EXT_MEM_CTL1_1Mx16   0x60

Definition at line 161 of file cyber2000fb.h.

#define EXT_MEM_CTL1_256Kx4   0x00

Definition at line 159 of file cyber2000fb.h.

#define EXT_MEM_CTL1_4K_REFRESH   0x10

Definition at line 158 of file cyber2000fb.h.

#define EXT_MEM_CTL1_512Kx8   0x40

Definition at line 160 of file cyber2000fb.h.

#define EXT_MEM_CTL1_PAR   0x00

Definition at line 153 of file cyber2000fb.h.

#define EXT_MEM_CTL1_SER   0x03

Definition at line 155 of file cyber2000fb.h.

#define EXT_MEM_CTL1_SERPAR   0x01

Definition at line 154 of file cyber2000fb.h.

#define EXT_MEM_CTL1_SYNC   0x04

Definition at line 156 of file cyber2000fb.h.

#define EXT_MEM_CTL1_VRAM   0x08

Definition at line 157 of file cyber2000fb.h.

#define EXT_MEM_CTL2   0x72

Definition at line 163 of file cyber2000fb.h.

#define EXT_MEM_START   0xc0 /* ext start address 21 bits */

Definition at line 249 of file cyber2000fb.h.

#define EXT_OVERSCAN_BLUE   0x5a

Definition at line 131 of file cyber2000fb.h.

#define EXT_OVERSCAN_GREEN   0x59

Definition at line 130 of file cyber2000fb.h.

#define EXT_OVERSCAN_RED   0x58

Definition at line 129 of file cyber2000fb.h.

#define EXT_ROM_UCB4GH   0xe5

Definition at line 294 of file cyber2000fb.h.

#define EXT_ROM_UCB4GH_1HL   0x08 /* first horizonal line after VGT falling edge */

Definition at line 297 of file cyber2000fb.h.

#define EXT_ROM_UCB4GH_FREEZE   0x02 /* capture frozen */

Definition at line 295 of file cyber2000fb.h.

#define EXT_ROM_UCB4GH_INTSTAT   0x20 /* video interrupt */

Definition at line 299 of file cyber2000fb.h.

#define EXT_ROM_UCB4GH_ODD   0x10 /* odd frame indicator */

Definition at line 298 of file cyber2000fb.h.

#define EXT_ROM_UCB4GH_ODDFRAME   0x04 /* 1 = odd frame captured */

Definition at line 296 of file cyber2000fb.h.

#define EXT_SEG_READ_PTR   0x32

Definition at line 73 of file cyber2000fb.h.

#define EXT_SEG_WRITE_PTR   0x31

Definition at line 72 of file cyber2000fb.h.

#define EXT_SEQ_MISC   0x77

Definition at line 174 of file cyber2000fb.h.

#define EXT_SEQ_MISC_16_RGB444   0x0a

Definition at line 181 of file cyber2000fb.h.

#define EXT_SEQ_MISC_16_RGB555   0x06

Definition at line 179 of file cyber2000fb.h.

#define EXT_SEQ_MISC_16_RGB565   0x02

Definition at line 176 of file cyber2000fb.h.

#define EXT_SEQ_MISC_24_RGB888   0x04

Definition at line 178 of file cyber2000fb.h.

#define EXT_SEQ_MISC_32   0x03

Definition at line 177 of file cyber2000fb.h.

#define EXT_SEQ_MISC_8   0x01

Definition at line 175 of file cyber2000fb.h.

#define EXT_SEQ_MISC_8_RGB332   0x09

Definition at line 180 of file cyber2000fb.h.

#define EXT_SRC_HEIGHT   0xc4 /* high 6 bits */

Definition at line 252 of file cyber2000fb.h.

#define EXT_SRC_WIDTH   0xc3 /* ext offset phase 10 bits */

Definition at line 251 of file cyber2000fb.h.

#define EXT_SRC_WIN_WIDTH   0xcd /* 8 bits */

Definition at line 257 of file cyber2000fb.h.

#define EXT_SYNC_CTL   0x16

Definition at line 54 of file cyber2000fb.h.

#define EXT_SYNC_CTL_HS_0   0x01

Definition at line 56 of file cyber2000fb.h.

#define EXT_SYNC_CTL_HS_1   0x02

Definition at line 57 of file cyber2000fb.h.

#define EXT_SYNC_CTL_HS_HSVS   0x03

Definition at line 58 of file cyber2000fb.h.

#define EXT_SYNC_CTL_HS_NORMAL   0x00

Definition at line 55 of file cyber2000fb.h.

#define EXT_SYNC_CTL_VS_0   0x04

Definition at line 60 of file cyber2000fb.h.

#define EXT_SYNC_CTL_VS_1   0x08

Definition at line 61 of file cyber2000fb.h.

#define EXT_SYNC_CTL_VS_COMP   0x0c

Definition at line 62 of file cyber2000fb.h.

#define EXT_SYNC_CTL_VS_NORMAL   0x00

Definition at line 59 of file cyber2000fb.h.

#define EXT_TV_CTL   0xae

Definition at line 220 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1   0xdc

Definition at line 280 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_ENABLE_WINDOW   0x80 /* enable video window */

Definition at line 288 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_FULL_WIN   0x40 /* video out window full */

Definition at line 287 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_IGNORE_CCOMP   0x02 /* ignore colour compare registers */

Definition at line 282 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_INTRAM   0x01 /* video pixels go to internal RAM */

Definition at line 281 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_NOCLIP   0x04 /* do not clip to 16235,16240 */

Definition at line 283 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_UV_AVG   0x08 /* U/V data is averaged */

Definition at line 284 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_VINTERPOL_OFF   0x20 /* disable vertical interpolation */

Definition at line 286 of file cyber2000fb.h.

#define EXT_VID_DISP_CTL1_Y128   0x10 /* Y data offset by 128 (if YUV128 set) */

Definition at line 285 of file cyber2000fb.h.

#define EXT_VID_FIFO_CTL   0xd9

Definition at line 264 of file cyber2000fb.h.

#define EXT_VID_FIFO_CTL1   0xdd

Definition at line 290 of file cyber2000fb.h.

#define EXT_VID_FIFO_CTL1_INTERLEAVE   0x04 /* enable interleaved memory read */

Definition at line 292 of file cyber2000fb.h.

#define EXT_VID_FIFO_CTL1_OE_HIGH   0x02

Definition at line 291 of file cyber2000fb.h.

#define EXT_VID_FMT   0xdb

Definition at line 266 of file cyber2000fb.h.

#define EXT_VID_FMT_DBL_H_PIX   0x40 /* double horiz pixels */

Definition at line 277 of file cyber2000fb.h.

#define EXT_VID_FMT_DUP_PIX_ZOON   0x08 /* duplicate pixel zoom */

Definition at line 275 of file cyber2000fb.h.

#define EXT_VID_FMT_MOD_3RD_PIX   0x20 /* modify 3rd duplicated pixel */

Definition at line 276 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB4444   0x06

Definition at line 273 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB555   0x01

Definition at line 268 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB565   0x02

Definition at line 269 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB8   0x05

Definition at line 272 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB888_24   0x03

Definition at line 270 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB888_32   0x04

Definition at line 271 of file cyber2000fb.h.

#define EXT_VID_FMT_RGB8T   0x07

Definition at line 274 of file cyber2000fb.h.

#define EXT_VID_FMT_YUV128   0x80 /* YUV data offset by 128 */

Definition at line 278 of file cyber2000fb.h.

#define EXT_VID_FMT_YUV422   0x00 /* formats - does this cause conversion? */

Definition at line 267 of file cyber2000fb.h.

#define EXT_X_END   0xc7 /* ext->screen, 16 bits */

Definition at line 254 of file cyber2000fb.h.

#define EXT_X_START   0xc5 /* ext->screen, 16 bits */

Definition at line 253 of file cyber2000fb.h.

#define EXT_XT_CAP16   0x04

Definition at line 245 of file cyber2000fb.h.

#define EXT_XT_CTL   0xbe

Definition at line 244 of file cyber2000fb.h.

#define EXT_XT_LINEARFB   0x08

Definition at line 246 of file cyber2000fb.h.

#define EXT_XT_PAL   0x10

Definition at line 247 of file cyber2000fb.h.

#define EXT_Y_END   0xcb /* ext->screen, 16 bits */

Definition at line 256 of file cyber2000fb.h.

#define EXT_Y_START   0xc9 /* ext->screen, 16 bits */

Definition at line 255 of file cyber2000fb.h.

#define HOR_PHASE_SHIFT   0xc2 /* high 3 bits */

Definition at line 250 of file cyber2000fb.h.

#define ID_CYBERPRO_2000   1

Definition at line 486 of file cyber2000fb.h.

#define ID_CYBERPRO_2010   2

Definition at line 487 of file cyber2000fb.h.

#define ID_CYBERPRO_5000   3

Definition at line 488 of file cyber2000fb.h.

#define ID_IGA_1682   0

Definition at line 485 of file cyber2000fb.h.

#define J_X2_VID_MEM_START   0x40

Definition at line 103 of file cyber2000fb.h.

#define J_X2_VID_SRC_WIDTH   0x43

Definition at line 104 of file cyber2000fb.h.

#define J_X2_VID_SRC_WIN_WIDTH   0x4f

Definition at line 109 of file cyber2000fb.h.

#define J_X2_X_END   0x49

Definition at line 106 of file cyber2000fb.h.

#define J_X2_X_START   0x47

Definition at line 105 of file cyber2000fb.h.

#define J_X2_Y_END   0x4d

Definition at line 108 of file cyber2000fb.h.

#define J_X2_Y_START   0x4b

Definition at line 107 of file cyber2000fb.h.

#define K_CAP_X2_CTL1   0x49

Definition at line 118 of file cyber2000fb.h.

#define K_X2_DDA_X_INC   0x42

Definition at line 112 of file cyber2000fb.h.

#define K_X2_DDA_X_INIT   0x40

Definition at line 111 of file cyber2000fb.h.

#define K_X2_DDA_Y_INC   0x46

Definition at line 114 of file cyber2000fb.h.

#define K_X2_DDA_Y_INIT   0x44

Definition at line 113 of file cyber2000fb.h.

#define K_X2_VID_DISP_CTL1   0x49

Definition at line 116 of file cyber2000fb.h.

#define K_X2_VID_FMT   0x48

Definition at line 115 of file cyber2000fb.h.

#define MEM_CTL2_64BIT   0x04

Definition at line 168 of file cyber2000fb.h.

#define MEM_CTL2_SIZE_1MB   0x00

Definition at line 164 of file cyber2000fb.h.

#define MEM_CTL2_SIZE_2MB   0x01

Definition at line 165 of file cyber2000fb.h.

#define MEM_CTL2_SIZE_4MB   0x02

Definition at line 166 of file cyber2000fb.h.

#define MEM_CTL2_SIZE_MASK   0x03

Definition at line 167 of file cyber2000fb.h.

#define MMIO_OFFSET   0x00800000

Definition at line 16 of file cyber2000fb.h.

#define MMIO_SIZE   0x000c0000

Definition at line 17 of file cyber2000fb.h.

#define NR_PALETTE   256

Definition at line 19 of file cyber2000fb.h.

#define PCI_BM_CTL   0x3e

Definition at line 82 of file cyber2000fb.h.

#define PCI_BM_CTL_BACK2BACK   0x04 /* enable back to back */

Definition at line 85 of file cyber2000fb.h.

#define PCI_BM_CTL_BURST   0x02 /* enable burst */

Definition at line 84 of file cyber2000fb.h.

#define PCI_BM_CTL_DUMMY   0x08 /* insert dummy cycle */

Definition at line 86 of file cyber2000fb.h.

#define PCI_BM_CTL_ENABLE   0x01 /* enable bus-master */

Definition at line 83 of file cyber2000fb.h.

#define RAMDAC_BYPASS   0x10

Definition at line 41 of file cyber2000fb.h.

#define RAMDAC_DAC8BIT   0x02

Definition at line 39 of file cyber2000fb.h.

#define RAMDAC_DACPWRDN   0x40

Definition at line 42 of file cyber2000fb.h.

#define RAMDAC_RAMPWRDN   0x01

Definition at line 38 of file cyber2000fb.h.

#define RAMDAC_VREFEN   0x04

Definition at line 40 of file cyber2000fb.h.

#define REG_BANK   0xfa

Definition at line 343 of file cyber2000fb.h.

#define REG_BANK_J   0x04

Definition at line 348 of file cyber2000fb.h.

#define REG_BANK_K   0x05

Definition at line 349 of file cyber2000fb.h.

#define REG_BANK_T   0x03

Definition at line 347 of file cyber2000fb.h.

#define REG_BANK_W   0x02

Definition at line 346 of file cyber2000fb.h.

#define REG_BANK_X   0x00

Definition at line 344 of file cyber2000fb.h.

#define REG_BANK_Y   0x01

Definition at line 345 of file cyber2000fb.h.

#define TV_BURST_END   0xbe474

Definition at line 382 of file cyber2000fb.h.

#define TV_BURST_START   0xbe470

Definition at line 381 of file cyber2000fb.h.

#define TV_CTL   0xbe4dc /* reflects a previous register- MVFCLR, MVPCLR etc P241*/

Definition at line 400 of file cyber2000fb.h.

#define TV_DELAYBYPASS   0xbe4b4

Definition at line 396 of file cyber2000fb.h.

#define TV_EQL_END   0xbe4bc

Definition at line 397 of file cyber2000fb.h.

#define TV_FLICK_XMAX   0xbe518

Definition at line 403 of file cyber2000fb.h.

#define TV_FLICK_XMIN   0xbe514

Definition at line 402 of file cyber2000fb.h.

#define TV_FLICK_YMAX   0xbe520

Definition at line 405 of file cyber2000fb.h.

#define TV_FLICK_YMIN   0xbe51c

Definition at line 404 of file cyber2000fb.h.

#define TV_HBLANK_END   0xbe47c

Definition at line 384 of file cyber2000fb.h.

#define TV_HBLANK_START   0xbe478

Definition at line 383 of file cyber2000fb.h.

#define TV_HSYNC_END   0xbe460

Definition at line 377 of file cyber2000fb.h.

#define TV_HSYNC_START   0xbe45c

Definition at line 376 of file cyber2000fb.h.

#define TV_PED_EVEN_END   0xbe484

Definition at line 386 of file cyber2000fb.h.

#define TV_PED_EVEN_START   0xbe480

Definition at line 385 of file cyber2000fb.h.

#define TV_PED_ODD_END   0xbe48c

Definition at line 388 of file cyber2000fb.h.

#define TV_PED_ODD_START   0xbe488

Definition at line 387 of file cyber2000fb.h.

#define TV_PED_UVDET   0xbe454

Definition at line 374 of file cyber2000fb.h.

#define TV_SCFH   0xbe4a4

Definition at line 394 of file cyber2000fb.h.

#define TV_SCFL   0xbe4a0

Definition at line 393 of file cyber2000fb.h.

#define TV_SCP   0xbe4a8

Definition at line 395 of file cyber2000fb.h.

#define TV_SERR_END   0xbe4c4

Definition at line 399 of file cyber2000fb.h.

#define TV_SERR_START   0xbe4c0

Definition at line 398 of file cyber2000fb.h.

#define TV_SYNC_YGAIN   0xbe44c

Definition at line 372 of file cyber2000fb.h.

#define TV_UV_BURST_AMP   0xbe458

Definition at line 375 of file cyber2000fb.h.

#define TV_UV_DELAY1   0xbe46c

Definition at line 380 of file cyber2000fb.h.

#define TV_UV_GAIN   0xbe450

Definition at line 373 of file cyber2000fb.h.

#define TV_VBLANK_EVEN_END   0xbe440

Definition at line 369 of file cyber2000fb.h.

#define TV_VBLANK_EVEN_START   0xbe43c

Definition at line 368 of file cyber2000fb.h.

#define TV_VBLANK_ODD_END   0xbe448

Definition at line 371 of file cyber2000fb.h.

#define TV_VBLANK_ODD_START   0xbe444

Definition at line 370 of file cyber2000fb.h.

#define TV_VSYNC_EVEN_END   0xbe494

Definition at line 390 of file cyber2000fb.h.

#define TV_VSYNC_EVEN_START   0xbe490

Definition at line 389 of file cyber2000fb.h.

#define TV_VSYNC_ODD_END   0xbe49c

Definition at line 392 of file cyber2000fb.h.

#define TV_VSYNC_ODD_START   0xbe498

Definition at line 391 of file cyber2000fb.h.

#define TV_VSYNC_VGA_HS   0xbe4e8

Definition at line 401 of file cyber2000fb.h.

#define TV_Y_DELAY1   0xbe464

Definition at line 378 of file cyber2000fb.h.

#define TV_Y_DELAY2   0xbe468

Definition at line 379 of file cyber2000fb.h.

#define VFAC_CTL1   0xe8

Definition at line 301 of file cyber2000fb.h.

#define VFAC_CTL1_CAPTURE   0x01 /* capture enable (only when VSYNC high)*/

Definition at line 302 of file cyber2000fb.h.

#define VFAC_CTL1_FREEZE_CAPTURE   0x04 /* freeze capture */

Definition at line 304 of file cyber2000fb.h.

#define VFAC_CTL1_FREEZE_CAPTURE_SYNC   0x08 /* sync freeze capture */

Definition at line 305 of file cyber2000fb.h.

#define VFAC_CTL1_MODVINTERPOLCLK   0x80 /* modify vertical interpolation clocl */

Definition at line 308 of file cyber2000fb.h.

#define VFAC_CTL1_PHILIPS   0x40 /* select Philips mode */

Definition at line 307 of file cyber2000fb.h.

#define VFAC_CTL1_VALIDFRAME_SRC   0x10 /* select valid frame source */

Definition at line 306 of file cyber2000fb.h.

#define VFAC_CTL1_VFAC_ENABLE   0x02 /* vfac enable */

Definition at line 303 of file cyber2000fb.h.

#define VFAC_CTL2   0xe9

Definition at line 310 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_BLANK   0x40 /* invert blank output */

Definition at line 317 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_DATACLK   0x04 /* invert data clock signal */

Definition at line 313 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_FRAME   0x20 /* invert frame odd/even input */

Definition at line 316 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_GRAPHREADY   0x02 /* invert graphic ready output sig */

Definition at line 312 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_HSYNC   0x08 /* invert hsync input */

Definition at line 314 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_OVSYNC   0x80 /* invert other vsync input */

Definition at line 318 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_VIDDATAVALID   0x01 /* invert video data valid */

Definition at line 311 of file cyber2000fb.h.

#define VFAC_CTL2_INVERT_VSYNC   0x10 /* invert vsync input */

Definition at line 315 of file cyber2000fb.h.

#define VFAC_CTL3   0xea

Definition at line 320 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_HOLD_0NS   0x0c /* hold capture data for 0ns */

Definition at line 326 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_HOLD_2NS   0x04 /* hold capture data for 2ns */

Definition at line 324 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_HOLD_4NS   0x00 /* hold capture data for 4ns */

Definition at line 323 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_HOLD_6NS   0x08 /* hold capture data for 6ns */

Definition at line 325 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_INTERLACE   0x02 /* capture odd and even fields */

Definition at line 322 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_IRQ   0x40 /* enable capture interrupt */

Definition at line 328 of file cyber2000fb.h.

#define VFAC_CTL3_CAP_LARGE_FIFO   0x01 /* large capture fifo */

Definition at line 321 of file cyber2000fb.h.

#define VFAC_CTL3_CHROMAKEY   0x20 /* capture data will be chromakeyed */

Definition at line 327 of file cyber2000fb.h.

#define X_V2_VID_MEM_START   0x40

Definition at line 88 of file cyber2000fb.h.

#define X_V2_VID_SRC_WIDTH   0x43

Definition at line 89 of file cyber2000fb.h.

#define X_V2_VID_SRC_WIN_WIDTH   0x4d

Definition at line 94 of file cyber2000fb.h.

#define X_V2_X_END   0x47

Definition at line 91 of file cyber2000fb.h.

#define X_V2_X_START   0x45

Definition at line 90 of file cyber2000fb.h.

#define X_V2_Y_END   0x4b

Definition at line 93 of file cyber2000fb.h.

#define X_V2_Y_START   0x49

Definition at line 92 of file cyber2000fb.h.

#define Y_V2_DDA_X_INC   0x43

Definition at line 96 of file cyber2000fb.h.

#define Y_V2_DDA_Y_INC   0x47

Definition at line 97 of file cyber2000fb.h.

#define Y_V2_VID_DISP_CTL1   0x4c

Definition at line 100 of file cyber2000fb.h.

#define Y_V2_VID_FIFO_CTL   0x49

Definition at line 98 of file cyber2000fb.h.

#define Y_V2_VID_FIFO_CTL1   0x4d

Definition at line 101 of file cyber2000fb.h.

#define Y_V2_VID_FMT   0x4b

Definition at line 99 of file cyber2000fb.h.

Function Documentation

int cyber2000fb_attach ( struct cyberpro_info info,
int  idx 
)

Definition at line 1127 of file cyber2000fb.c.

void cyber2000fb_detach ( int  idx)

Definition at line 1153 of file cyber2000fb.c.

void cyber2000fb_disable_extregs ( struct cfb_info cfb)

Definition at line 1107 of file cyber2000fb.c.

void cyber2000fb_enable_extregs ( struct cfb_info cfb)

Definition at line 1090 of file cyber2000fb.c.