IBMRGB.h revision 50806d53
1/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/i128/IBMRGB.h,v 1.1 2000/10/04 23:34:58 robin Exp $ */
2
3
4
5/* $XConsortium: $ */
6
7#define IBMRGB_REF_FREQ_1       14.31818
8#define IBMRGB_REF_FREQ_2       50.00000
9
10#define IBMRGB_rev		0x00
11#define IBMRGB_id		0x01
12#define IBMRGB_misc_clock	0x02
13#define IBMRGB_sync		0x03
14#define IBMRGB_hsync_pos	0x04
15#define IBMRGB_pwr_mgmt		0x05
16#define IBMRGB_dac_op		0x06
17#define IBMRGB_pal_ctrl		0x07
18#define IBMRGB_sysclk		0x08  /* not RGB525 */
19#define IBMRGB_pix_fmt		0x0a
20#define IBMRGB_8bpp		0x0b
21#define IBMRGB_16bpp		0x0c
22#define IBMRGB_24bpp		0x0d
23#define IBMRGB_32bpp		0x0e
24#define IBMRGB_pll_ctrl1	0x10
25#define IBMRGB_pll_ctrl2	0x11
26#define IBMRGB_pll_ref_div_fix	0x14
27#define IBMRGB_sysclk_ref_div	0x15  /* not RGB525 */
28#define IBMRGB_sysclk_vco_div	0x16  /* not RGB525 */
29#define IBMRGB_f0		0x20
30#define IBMRGB_m0		0x20
31#define IBMRGB_n0		0x21
32#define IBMRGB_curs		0x30
33#define IBMRGB_curs_xl		0x31
34#define IBMRGB_curs_xh		0x32
35#define IBMRGB_curs_yl		0x33
36#define IBMRGB_curs_yh		0x34
37#define IBMRGB_curs_hot_x	0x35
38#define IBMRGB_curs_hot_y	0x36
39#define IBMRGB_curs_col1_r	0x40
40#define IBMRGB_curs_col1_g	0x41
41#define IBMRGB_curs_col1_b	0x42
42#define IBMRGB_curs_col2_r	0x43
43#define IBMRGB_curs_col2_g	0x44
44#define IBMRGB_curs_col2_b	0x45
45#define IBMRGB_curs_col3_r	0x46
46#define IBMRGB_curs_col3_g	0x47
47#define IBMRGB_curs_col3_b	0x48
48#define IBMRGB_border_col_r	0x60
49#define IBMRGB_border_col_g	0x61
50#define IBMRGB_botder_col_b	0x62
51#define IBMRGB_misc1		0x70
52#define IBMRGB_misc2		0x71
53#define IBMRGB_misc3		0x72
54#define IBMRGB_misc4		0x73  /* not RGB525 */
55#define IBMRGB_dac_sense	0x82
56#define IBMRGB_misr_r		0x84
57#define IBMRGB_misr_g		0x86
58#define IBMRGB_misr_b		0x88
59#define IBMRGB_pll_vco_div_in	0x8e
60#define IBMRGB_pll_ref_div_in	0x8f
61#define IBMRGB_vram_mask_0	0x90
62#define IBMRGB_vram_mask_1	0x91
63#define IBMRGB_vram_mask_2	0x92
64#define IBMRGB_vram_mask_3	0x93
65#define IBMRGB_curs_array	0x100
66
67
68