annotate vidix/pm3_regs.h @ 36137:5302a565ada7

Simplify and clean up code.
author reimar
date Sat, 04 May 2013 21:41:37 +0000
parents ed1000201cd0
children 7ac80299454d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/glint/pm3_regs.h,v 1.9 2001/11/20 00:09:15 alanh Exp $ */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
3 /*
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
4 * glint register file
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
5 *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
6 * Copyright by Sven Luther
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
7 * Authors: Sven Luther, <luther@dpt-info.u-strasbg.fr>
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
8 * Thomas Witzel, <twitzel@nmr.mgh.harvard.edu>
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
9 *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
10 * this work is sponsored by Appian Graphics.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
11 *
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
12 */
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
13
26030
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
14 #ifndef MPLAYER_PM3_REGS_H
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
15 #define MPLAYER_PM3_REGS_H
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
17 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
18 * GLINT Permedia3 Control Status registers *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
19 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
20 /* Control Status Registers */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
21 #define PM3ResetStatus 0x0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
22 #define PM3IntEnable 0x0008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
23 #define PM3IntFlags 0x0010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
24 #define PM3InFIFOSpace 0x0018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
25 #define PM3OutFIFOWords 0x0020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
26 #define PM3DMAAddress 0x0028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
27 #define PM3DMACount 0x0030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
28 #define PM3ErrorFlags 0x0038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
29 #define PM3VClkCtl 0x0040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
30 #define PM3TestRegister 0x0048
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
31 #define PM3Aperture0 0x0050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
32 #define PM3Aperture1 0x0058
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
33 #define PM3DMAControl 0x0060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
34 #define PM3FIFODis 0x0068
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
35 #define PM3ChipConfig 0x0070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
36 #define PM3AGPControl 0x0078
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
37
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
38 #define PM3GPOutDMAAddress 0x0080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
39 #define PM3PCIFeedbackCount 0x0088
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
40 #define PM3PCIAbortStatus 0x0090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
41 #define PM3PCIAbortAddress 0x0098
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
42
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
43 #define PM3PCIPLLStatus 0x00f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
45 #define PM3HostTextureAddress 0x0100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
46 #define PM3TextureDownloadControl 0x0108
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
47 #define PM3TextureOperation 0x0110
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
48 #define PM3LogicalTexturePage 0x0118
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
49 #define PM3TexDMAAddress 0x0120
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
50 #define PM3TexFIFOSpace 0x0128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
51
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
52 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
53 * GLINT Permedia3 Region 0 Bypass Controls *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
54 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
55 #define PM3ByAperture1Mode 0x0300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
56 #define PM3ByApertureMode_BYTESWAP_ABCD (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
57 #define PM3ByApertureMode_BYTESWAP_BADC (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
58 #define PM3ByApertureMode_BYTESWAP_CDAB (2<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
59 #define PM3ByApertureMode_BYTESWAP_DCBA (3<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
60 #define PM3ByApertureMode_PATCH_DISABLE (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
61 #define PM3ByApertureMode_PATCH_ENABLE (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
62 #define PM3ByApertureMode_FORMAT_RAW (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
63 #define PM3ByApertureMode_FORMAT_YUYV (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
64 #define PM3ByApertureMode_FORMAT_UYVY (2<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
65 #define PM3ByApertureMode_PIXELSIZE_8BIT (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
66 #define PM3ByApertureMode_PIXELSIZE_16BIT (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
67 #define PM3ByApertureMode_PIXELSIZE_32BIT (2<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
68 #define PM3ByApertureMode_EFFECTIVE_STRIDE_1024 (0<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
69 #define PM3ByApertureMode_EFFECTIVE_STRIDE_2048 (1<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
70 #define PM3ByApertureMode_EFFECTIVE_STRIDE_4096 (2<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
71 #define PM3ByApertureMode_EFFECTIVE_STRIDE_8192 (3<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
72 #define PM3ByApertureMode_PATCH_OFFSET_X(off) (((off)&7f)<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
73 #define PM3ByApertureMode_PATCH_OFFSET_Y(off) (((off)&7f)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
74 #define PM3ByApertureMode_FRAMEBUFFER (0<<21)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
75 #define PM3ByApertureMode_LOCALBUFFER (1<<21)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
76 #define PM3ByApertureMode_DOUBLE_WRITE_OFF (0<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
77 #define PM3ByApertureMode_DOUBLE_WRITE_1MB (1<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
78 #define PM3ByApertureMode_DOUBLE_WRITE_2MB (2<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
79 #define PM3ByApertureMode_DOUBLE_WRITE_4MB (3<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
80 #define PM3ByApertureMode_DOUBLE_WRITE_8MB (4<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
81 #define PM3ByApertureMode_DOUBLE_WRITE_16MB (5<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
82 #define PM3ByApertureMode_DOUBLE_WRITE_32MB (6<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
83
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
84 #define PM3ByAperture2Mode 0x0328
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
85
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
86 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
87 * GLINT Permedia3 Memory Control (0x1000) *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
88 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
89 #define PM3MemCounter 0x1000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
90 #define PM3MemBypassWriteMask 0x1008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
91 #define PM3MemScratch 0x1010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
92 #define PM3LocalMemCaps 0x1018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
93 #define PM3LocalMemCaps_NoWriteMask (1<<28)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
94 #define PM3LocalMemTimings 0x1020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
95 #define PM3LocalMemControl 0x1028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
96 #define PM3LocalMemRefresh 0x1030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
97 #define PM3LocalMemPowerDown 0x1038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
98 #define PM3RemoteMemControl 0x1100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
99
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
100 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
101 * GLINT Permedia3 Video Control (0x3000) *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
102 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
103
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
104 #define PM3ScreenBase 0x3000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
105 #define PM3ScreenStride 0x3008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
106 #define PM3HTotal 0x3010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
107 #define PM3HgEnd 0x3018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
108 #define PM3HbEnd 0x3020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
109 #define PM3HsStart 0x3028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
110 #define PM3HsEnd 0x3030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
111 #define PM3VTotal 0x3038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
112 #define PM3VbEnd 0x3040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
113 #define PM3VsStart 0x3048
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
114 #define PM3VsEnd 0x3050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
115 #define PM3VideoControl 0x3058
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
116 #define PM3VideoControl_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
117 #define PM3VideoControl_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
118 #define PM3VideoControl_BLANK_ACTIVE_HIGH (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
119 #define PM3VideoControl_BLANK_ACTIVE_LOW (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
120 #define PM3VideoControl_LINE_DOUBLE_OFF (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
121 #define PM3VideoControl_LINE_DOUBLE_ON (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
122 #define PM3VideoControl_HSYNC_FORCE_HIGH (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
123 #define PM3VideoControl_HSYNC_ACTIVE_HIGH (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
124 #define PM3VideoControl_HSYNC_FORCE_LOW (2<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
125 #define PM3VideoControl_HSYNC_ACTIVE_LOW (3<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
126 #define PM3VideoControl_VSYNC_FORCE_HIGH (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
127 #define PM3VideoControl_VSYNC_ACTIVE_HIGH (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
128 #define PM3VideoControl_VSYNC_FORCE_LOW (2<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
129 #define PM3VideoControl_VSYNC_ACTIVE_LOW (3<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
130 #define PM3VideoControl_BYTE_DOUBLE_OFF (0<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
131 #define PM3VideoControl_BYTE_DOUBLE_ON (1<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
132 #define PM3VideoControl_BUFFER_SWAP_SYNCON_FRAMEBLANK (0<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
133 #define PM3VideoControl_BUFFER_SWAP_FREE_RUNNING (1<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
134 #define PM3VideoControl_BUFFER_SWAP_LIMITETO_FRAMERATE (2<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
135 #define PM3VideoControl_STEREO_DISABLE (0<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
136 #define PM3VideoControl_STEREO_ENABLE (1<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
137 #define PM3VideoControl_RIGHT_EYE_ACTIVE_HIGH (0<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
138 #define PM3VideoControl_RIGHT_EYE_ACTIVE_LOW (1<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
139 #define PM3VideoControl_VIDEO_EXT_LOW (0<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
140 #define PM3VideoControl_VIDEO_EXT_HIGH (1<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
141 #define PM3VideoControl_SYNC_MODE_INDEPENDENT (0<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
142 #define PM3VideoControl_SYNC_MODE_SYNCTO_VSA (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
143 #define PM3VideoControl_SYNC_MODE_SYNCTO_VSB (2<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
144 #define PM3VideoControl_PATCH_DISABLE (0<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
145 #define PM3VideoControl_PATCH_ENABLE (1<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
146 #define PM3VideoControl_PIXELSIZE_8BIT (0<<19)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
147 #define PM3VideoControl_PIXELSIZE_16BIT (1<<19)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
148 #define PM3VideoControl_PIXELSIZE_32BIT (2<<19)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
149 #define PM3VideoControl_DISPLAY_DISABLE (0<<21)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
150 #define PM3VideoControl_DISPLAY_ENABLE (1<<21)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
151 #define PM3VideoControl_PATCH_OFFSET_X(off) (((off)&0x3f)<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
152 #define PM3VideoControl_PATCH_OFFSET_Y(off) (((off)&0x3f)<<28)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
153 #define PM3InterruptLine 0x3060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
154 #define PM3DisplayData 0x3068
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
155 #define PM3VerticalLineCount 0x3070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
156 #define PM3FifoControl 0x3078
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
157 #define PM3ScreenBaseRight 0x3080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
158 #define PM3MiscControl 0x3088
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
159
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
160 #define PM3VideoOverlayUpdate 0x3100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
161 #define PM3VideoOverlayUpdate_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
162 #define PM3VideoOverlayUpdate_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
163 #define PM3VideoOverlayMode 0x3108
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
164 #define PM3VideoOverlayMode_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
165 #define PM3VideoOverlayMode_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
166 #define PM3VideoOverlayMode_BUFFERSYNC_MANUAL (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
167 #define PM3VideoOverlayMode_BUFFERSYNC_VIDEOSTREAMA (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
168 #define PM3VideoOverlayMode_BUFFERSYNC_VIDEOSTREAMB (2<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
169 #define PM3VideoOverlayMode_FIELDPOLARITY_NORMAL (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
170 #define PM3VideoOverlayMode_FIELDPOLARITY_INVERT (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
171 #define PM3VideoOverlayMode_PIXELSIZE_8BIT (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
172 #define PM3VideoOverlayMode_PIXELSIZE_16BIT (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
173 #define PM3VideoOverlayMode_PIXELSIZE_32BIT (2<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
174 #define PM3VideoOverlayMode_COLORFORMAT_RGB8888 ((0<<7)|(1<<12)|(2<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
175 #define PM3VideoOverlayMode_COLORFORMAT_RGB4444 ((1<<7)|(1<<12)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
176 #define PM3VideoOverlayMode_COLORFORMAT_RGB5551 ((2<<7)|(1<<12)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
177 #define PM3VideoOverlayMode_COLORFORMAT_RGB565 ((3<<7)|(1<<12)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
178 #define PM3VideoOverlayMode_COLORFORMAT_RGB332 ((4<<7)|(1<<12)|(0<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
179 #define PM3VideoOverlayMode_COLORFORMAT_BGR8888 ((0<<7)|(2<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
180 #define PM3VideoOverlayMode_COLORFORMAT_BGR4444 ((1<<7)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
181 #define PM3VideoOverlayMode_COLORFORMAT_BGR5551 ((2<<7)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
182 #define PM3VideoOverlayMode_COLORFORMAT_BGR565 ((3<<7)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
183 #define PM3VideoOverlayMode_COLORFORMAT_BGR332 ((4<<7)|(0<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
184 #define PM3VideoOverlayMode_COLORFORMAT_CI8 ((5<<7)|(1<<12)|(0<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
185 #define PM3VideoOverlayMode_COLORFORMAT_VUY444 ((2<<10)|(1<<12)|(2<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
186 #define PM3VideoOverlayMode_COLORFORMAT_YUV444 ((2<<10)|(2<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
187 #define PM3VideoOverlayMode_COLORFORMAT_VUY422 ((1<<10)|(1<<12)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
188 #define PM3VideoOverlayMode_COLORFORMAT_YUV422 ((1<<10)|(1<<5))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
189 #define PM3VideoOverlayMode_COLORORDER_BGR (0<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
190 #define PM3VideoOverlayMode_COLORORDER_RGB (1<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
191 #define PM3VideoOverlayMode_LINEARCOLOREXT_OFF (0<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
192 #define PM3VideoOverlayMode_LINEARCOLOREXT_ON (1<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
193 #define PM3VideoOverlayMode_FILTER_MASK (3<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
194 #define PM3VideoOverlayMode_FILTER_OFF (0<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
195 #define PM3VideoOverlayMode_FILTER_FULL (1<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
196 #define PM3VideoOverlayMode_FILTER_PARTIAL (2<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
197 #define PM3VideoOverlayMode_DEINTERLACE_OFF (0<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
198 #define PM3VideoOverlayMode_DEINTERLACE_BOB (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
199 #define PM3VideoOverlayMode_PATCHMODE_OFF (0<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
200 #define PM3VideoOverlayMode_PATCHMODE_ON (1<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
201 #define PM3VideoOverlayMode_FLIP_VIDEO (0<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
202 #define PM3VideoOverlayMode_FLIP_VIDEOSTREAMA (1<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
203 #define PM3VideoOverlayMode_FLIP_VIDEOSTREAMB (2<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
204 #define PM3VideoOverlayMode_MIRROR_MASK (3<<23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
205 #define PM3VideoOverlayMode_MIRRORX_OFF (0<<23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
206 #define PM3VideoOverlayMode_MIRRORX_ON (1<<23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
207 #define PM3VideoOverlayMode_MIRRORY_OFF (0<<24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
208 #define PM3VideoOverlayMode_MIRRORY_ON (1<<24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
209 #define PM3VideoOverlayFifoControl 0x3110
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
210 #define PM3VideoOverlayIndex 0x3118
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
211 #define PM3VideoOverlayBase 0x3120
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
212 #define PM3VideoOverlayBase0 0x3120
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
213 #define PM3VideoOverlayBase1 0x3128
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
214 #define PM3VideoOverlayBase2 0x3130
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
215 #define PM3VideoOverlayStride 0x3138
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
216 #define PM3VideoOverlayStride_STRIDE(s) (((s)&0xfff)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
217 #define PM3VideoOverlayWidth 0x3140
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
218 #define PM3VideoOverlayWidth_WIDTH(w) (((w)&0xfff)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
219 #define PM3VideoOverlayHeight 0x3148
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
220 #define PM3VideoOverlayHeight_HEIGHT(h) (((h)&0xfff)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
221 #define PM3VideoOverlayOrigin 0x3150
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
222 #define PM3VideoOverlayOrigin_XORIGIN(x) (((x)&0xfff)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
223 #define PM3VideoOverlayOrigin_YORIGIN(y) (((y)&0xfff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
224 #define PM3VideoOverlayShrinkXDelta 0x3158
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
225 #define PM3VideoOverlayShrinkXDelta_NONE (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
226 #define PM3VideoOverlayShrinkXDelta_DELTA(s,d) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
227 ((((s)<<16)/(d))&0x0ffffff0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
228 #define PM3VideoOverlayZoomXDelta 0x3160
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
229 #define PM3VideoOverlayZoomXDelta_NONE (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
230 #define PM3VideoOverlayZoomXDelta_DELTA(s,d) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
231 ((((s)<<16)/(d))&0x0001fff0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
232 #define PM3VideoOverlayYDelta 0x3168
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
233 #define PM3VideoOverlayYDelta_NONE (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
234 #define PM3VideoOverlayYDelta_DELTA(s,d) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
235 ((((s)<<16)/(d))&0x0ffffff0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
236 #define PM3VideoOverlayFieldOffset 0x3170
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
237 #define PM3VideoOverlayStatus 0x3178
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
238
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
239 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
240 * GLINT Permedia3 RAMDAC Registers (0x4000) *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
241 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
242 /* Direct Registers */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
243 #define PM3RD_PaletteWriteAddress 0x4000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
244 #define PM3RD_PaletteData 0x4008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
245 #define PM3RD_PixelMask 0x4010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
246 #define PM3RD_PaletteReadAddress 0x4018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
247
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
248 #define PM3RD_IndexLow 0x4020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
249 #define PM3RD_IndexHigh 0x4028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
250 #define PM3RD_IndexedData 0x4030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
251 #define PM3RD_IndexControl 0x4038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
252 #define PM3RD_IndexControl_AUTOINCREMENT_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
253 #define PM3RD_IndexControl_AUTOINCREMENT_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
254
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
255 /* Indirect Registers */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
256 #define PM3RD_MiscControl 0x000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
257 #define PM3RD_MiscControl_HIGHCOLOR_RES_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
258 #define PM3RD_MiscControl_HIGHCOLOR_RES_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
259 #define PM3RD_MiscControl_PIXELDOUBLE_DISABLE (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
260 #define PM3RD_MiscControl_PIXELDOUBLE_ENABLE (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
261 #define PM3RD_MiscControl_LASTREAD_ADDR_DISABLE (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
262 #define PM3RD_MiscControl_LASTREAD_ADDR_ENABLE (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
263 #define PM3RD_MiscControl_DIRECTCOLOR_DISABLE (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
264 #define PM3RD_MiscControl_DIRECTCOLOR_ENABLE (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
265 #define PM3RD_MiscControl_OVERLAY_DISABLE (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
266 #define PM3RD_MiscControl_OVERLAY_ENABLE (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
267 #define PM3RD_MiscControl_PIXELDOUBLE_BUFFER_DISABLE (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
268 #define PM3RD_MiscControl_PIXELDOUBLE_BUFFER_ENABLE (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
269 #define PM3RD_MiscControl_VSB_OUTPUT_DISABLE (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
270 #define PM3RD_MiscControl_VSB_OUTPUT_ENABLE (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
271 #define PM3RD_MiscControl_STEREODOUBLE_BUFFER_DISABLE (0<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
272 #define PM3RD_MiscControl_STEREODOUBLE_BUFFER_ENABLE (1<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
273 #define PM3RD_SyncControl 0x001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
274 #define PM3RD_SyncControl_HSYNC_ACTIVE_LOW (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
275 #define PM3RD_SyncControl_HSYNC_ACTIVE_HIGH (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
276 #define PM3RD_SyncControl_HSYNC_FORCE_ACTIVE (3<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
277 #define PM3RD_SyncControl_HSYNC_FORCE_INACTIVE (4<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
278 #define PM3RD_SyncControl_HSYNC_TRI_STATE (2<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
279 #define PM3RD_SyncControl_VSYNC_ACTIVE_LOW (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
280 #define PM3RD_SyncControl_VSYNC_ACTIVE_HIGH (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
281 #define PM3RD_SyncControl_VSYNC_TRI_STATE (2<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
282 #define PM3RD_SyncControl_VSYNC_FORCE_ACTIVE (3<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
283 #define PM3RD_SyncControl_VSYNC_FORCE_INACTIVE (4<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
284 #define PM3RD_SyncControl_HSYNC_OVERRIDE_SETBY_HSYNC (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
285 #define PM3RD_SyncControl_HSYNC_OVERRIDE_FORCE_HIGH (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
286 #define PM3RD_SyncControl_VSYNC_OVERRIDE_SETBY_VSYNC (0<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
287 #define PM3RD_SyncControl_VSYNC_OVERRIDE_FORCE_HIGH (1<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
288 #define PM3RD_DACControl 0x002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
289 #define PM3RD_DACControl_DAC_POWER_ON (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
290 #define PM3RD_DACControl_DAC_POWER_OFF (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
291 #define PM3RD_DACControl_SYNC_ON_GREEN_DISABLE (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
292 #define PM3RD_DACControl_SYNC_ON_GREEN_ENABLE (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
293 #define PM3RD_DACControl_BLANK_RED_DAC_DISABLE (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
294 #define PM3RD_DACControl_BLANK_RED_DAC_ENABLE (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
295 #define PM3RD_DACControl_BLANK_GREEN_DAC_DISABLE (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
296 #define PM3RD_DACControl_BLANK_GREEN_DAC_ENABLE (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
297 #define PM3RD_DACControl_BLANK_BLUE_DAC_DISABLE (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
298 #define PM3RD_DACControl_BLANK_BLUE_DAC_ENABLE (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
299 #define PM3RD_DACControl_BLANK_PEDESTAL_DISABLE (0<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
300 #define PM3RD_DACControl_BLANK_PEDESTAL_ENABLE (1<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
301 #define PM3RD_PixelSize 0x003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
302 #define PM3RD_PixelSize_24_BIT_PIXELS (4<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
303 #define PM3RD_PixelSize_32_BIT_PIXELS (2<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
304 #define PM3RD_PixelSize_16_BIT_PIXELS (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
305 #define PM3RD_PixelSize_8_BIT_PIXELS (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
306 #define PM3RD_ColorFormat 0x004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
307 #define PM3RD_ColorFormat_LINEAR_COLOR_EXT_ENABLE (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
308 #define PM3RD_ColorFormat_LINEAR_COLOR_EXT_DISABLE (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
309 #define PM3RD_ColorFormat_COLOR_ORDER_BLUE_LOW (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
310 #define PM3RD_ColorFormat_COLOR_ORDER_RED_LOW (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
311 #define PM3RD_ColorFormat_COLOR_FORMAT_MASK (0x1f<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
312 #define PM3RD_ColorFormat_8888_COLOR (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
313 #define PM3RD_ColorFormat_5551_FRONT_COLOR (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
314 #define PM3RD_ColorFormat_4444_COLOR (2<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
315 #define PM3RD_ColorFormat_332_FRONT_COLOR (5<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
316 #define PM3RD_ColorFormat_332_BACK_COLOR (6<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
317 #define PM3RD_ColorFormat_2321_FRONT_COLOR (9<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
318 #define PM3RD_ColorFormat_2321_BACK_COLOR (10<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
319 #define PM3RD_ColorFormat_232_FRONTOFF_COLOR (11<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
320 #define PM3RD_ColorFormat_232_BACKOFF_COLOR (12<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
321 #define PM3RD_ColorFormat_5551_BACK_COLOR (13<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
322 #define PM3RD_ColorFormat_CI8_COLOR (14<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
323 #define PM3RD_ColorFormat_565_FRONT_COLOR (16<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
324 #define PM3RD_ColorFormat_565_BACK_COLOR (17<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
325 #define PM3RD_CursorMode 0x005
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
326 #define PM3RD_CursorMode_CURSOR_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
327 #define PM3RD_CursorMode_CURSOR_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
328 #define PM3RD_CursorMode_FORMAT_64x64_2BPE_P0123 (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
329 #define PM3RD_CursorMode_FORMAT_32x32_2BPE_P0 (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
330 #define PM3RD_CursorMode_FORMAT_32x32_2BPE_P1 (2<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
331 #define PM3RD_CursorMode_FORMAT_32x32_2BPE_P2 (3<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
332 #define PM3RD_CursorMode_FORMAT_32x32_2BPE_P3 (4<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
333 #define PM3RD_CursorMode_FORMAT_32x32_4BPE_P01 (5<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
334 #define PM3RD_CursorMode_FORMAT_32x32_4BPE_P23 (6<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
335 #define PM3RD_CursorMode_TYPE_MS (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
336 #define PM3RD_CursorMode_TYPE_X (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
337 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_DISABLE (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
338 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_ENABLE (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
339 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_3_COLOR (2<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
340 #define PM3RD_CursorMode_REVERSE_PIXEL_ORDER_15_COLOR (3<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
341 #define PM3RD_CursorControl 0x006
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
342 #define PM3RD_CursorControl_DOUBLE_X_DISABLED (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
343 #define PM3RD_CursorControl_DOUBLE_X_ENABLED (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
344 #define PM3RD_CursorControl_DOUBLE_Y_DISABLED (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
345 #define PM3RD_CursorControl_DOUBLE_Y_ENABLED (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
346 #define PM3RD_CursorControl_READBACK_POS_DISABLED (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
347 #define PM3RD_CursorControl_READBACK_POS_ENABLED (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
348
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
349 #define PM3RD_CursorXLow 0x007
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
350 #define PM3RD_CursorXHigh 0x008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
351 #define PM3RD_CursorYLow 0x009
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
352 #define PM3RD_CursorYHigh 0x00a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
353 #define PM3RD_CursorHotSpotX 0x00b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
354 #define PM3RD_CursorHotSpotY 0x00c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
355 #define PM3RD_OverlayKey 0x00d
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
356 #define PM3RD_Pan 0x00e
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
357 #define PM3RD_Pan_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
358 #define PM3RD_Pan_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
359 #define PM3RD_Pan_GATE_DISABLE (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
360 #define PM3RD_Pan_GATE_ENABLE (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
361 #define PM3RD_Sense 0x00f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
362
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
363 #define PM3RD_CheckControl 0x018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
364 #define PM3RD_CheckControl_PIXEL_DISABLED (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
365 #define PM3RD_CheckControl_PIXEL_ENABLED (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
366 #define PM3RD_CheckControl_LUT_DISABLED (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
367 #define PM3RD_CheckControl_LUT_ENABLED (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
368 #define PM3RD_CheckPixelRed 0x019
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
369 #define PM3RD_CheckPixelGreen 0x01a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
370 #define PM3RD_CheckPixelBlue 0x01b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
371 #define PM3RD_CheckLUTRed 0x01c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
372 #define PM3RD_CheckLUTGreen 0x01d
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
373 #define PM3RD_CheckLUTBlue 0x01e
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
374 #define PM3RD_Scratch 0x01f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
375
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
376 #define PM3RD_VideoOverlayControl 0x020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
377 #define PM3RD_VideoOverlayControl_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
378 #define PM3RD_VideoOverlayControl_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
379 #define PM3RD_VideoOverlayControl_MODE_MASK (3<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
380 #define PM3RD_VideoOverlayControl_MODE_MAINKEY (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
381 #define PM3RD_VideoOverlayControl_MODE_OVERLAYKEY (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
382 #define PM3RD_VideoOverlayControl_MODE_ALWAYS (2<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
383 #define PM3RD_VideoOverlayControl_MODE_BLEND (3<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
384 #define PM3RD_VideoOverlayControl_DIRECTCOLOR_DISABLED (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
385 #define PM3RD_VideoOverlayControl_DIRECTCOLOR_ENABLED (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
386 #define PM3RD_VideoOverlayControl_BLENDSRC_MAIN (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
387 #define PM3RD_VideoOverlayControl_BLENDSRC_REGISTER (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
388 #define PM3RD_VideoOverlayControl_KEY_COLOR (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
389 #define PM3RD_VideoOverlayControl_KEY_ALPHA (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
390 #define PM3RD_VideoOverlayXStartLow 0x021
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
391 #define PM3RD_VideoOverlayXStartHigh 0x022
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
392 #define PM3RD_VideoOverlayYStartLow 0x023
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
393 #define PM3RD_VideoOverlayYStartHigh 0x024
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
394 #define PM3RD_VideoOverlayXEndLow 0x025
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
395 #define PM3RD_VideoOverlayXEndHigh 0x026
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
396 #define PM3RD_VideoOverlayYEndLow 0x027
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
397 #define PM3RD_VideoOverlayYEndHigh 0x028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
398 #define PM3RD_VideoOverlayKeyR 0x029
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
399 #define PM3RD_VideoOverlayKeyG 0x02a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
400 #define PM3RD_VideoOverlayKeyB 0x02b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
401 #define PM3RD_VideoOverlayBlend 0x02c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
402 #define PM3RD_VideoOverlayBlend_FACTOR_0_PERCENT (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
403 #define PM3RD_VideoOverlayBlend_FACTOR_25_PERCENT (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
404 #define PM3RD_VideoOverlayBlend_FACTOR_75_PERCENT (2<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
405 #define PM3RD_VideoOverlayBlend_FACTOR_100_PERCENT (3<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
406
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
407 #define PM3RD_DClkSetup1 0x1f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
408 #define PM3RD_DClkSetup2 0x1f1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
409 #define PM3RD_KClkSetup1 0x1f2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
410 #define PM3RD_KClkSetup2 0x1f3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
411
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
412 #define PM3RD_DClkControl 0x200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
413 #define PM3RD_DClkControl_SOURCE_PLL (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
414 #define PM3RD_DClkControl_SOURCE_VSA (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
415 #define PM3RD_DClkControl_SOURCE_VSB (2<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
416 #define PM3RD_DClkControl_SOURCE_EXT (3<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
417 #define PM3RD_DClkControl_STATE_RUN (2<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
418 #define PM3RD_DClkControl_STATE_HIGH (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
419 #define PM3RD_DClkControl_STATE_LOW (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
420 #define PM3RD_DClkControl_LOCKED (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
421 #define PM3RD_DClkControl_NOT_LOCKED (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
422 #define PM3RD_DClkControl_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
423 #define PM3RD_DClkControl_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
424 #define PM3RD_DClk0PreScale 0x201
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
425 #define PM3RD_DClk0FeedbackScale 0x202
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
426 #define PM3RD_DClk0PostScale 0x203
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
427 #define PM3RD_DClk1PreScale 0x204
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
428 #define PM3RD_DClk1FeedbackScale 0x205
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
429 #define PM3RD_DClk1PostScale 0x206
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
430 #define PM3RD_DClk2PreScale 0x207
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
431 #define PM3RD_DClk2FeedbackScale 0x208
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
432 #define PM3RD_DClk2PostScale 0x209
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
433 #define PM3RD_DClk3PreScale 0x20a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
434 #define PM3RD_DClk3FeedbackScale 0x20b
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
435 #define PM3RD_DClk3PostScale 0x20c
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
436 #define PM3RD_KClkControl 0x20d
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
437 #define PM3RD_KClkControl_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
438 #define PM3RD_KClkControl_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
439 #define PM3RD_KClkControl_NOT_LOCKED (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
440 #define PM3RD_KClkControl_LOCKED (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
441 #define PM3RD_KClkControl_STATE_LOW (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
442 #define PM3RD_KClkControl_STATE_HIGH (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
443 #define PM3RD_KClkControl_STATE_RUN (2<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
444 #define PM3RD_KClkControl_STATE_LOW_POWER (3<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
445 #define PM3RD_KClkControl_SOURCE_PCLK (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
446 #define PM3RD_KClkControl_SOURCE_HALF_PCLK (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
447 #define PM3RD_KClkControl_SOURCE_PLL (2<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
448 #define PM3RD_KClkPreScale 0x20e
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
449 #define PM3RD_KClkFeedbackScale 0x20f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
450 #define PM3RD_KClkPostScale 0x210
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
451 #define PM3RD_MClkControl 0x211
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
452 #define PM3RD_MClkControl_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
453 #define PM3RD_MClkControl_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
454 #define PM3RD_MClkControl_NOT_LOCKED (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
455 #define PM3RD_MClkControl_LOCKED (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
456 #define PM3RD_MClkControl_STATE_LOW (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
457 #define PM3RD_MClkControl_STATE_HIGH (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
458 #define PM3RD_MClkControl_STATE_RUN (2<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
459 #define PM3RD_MClkControl_STATE_LOW_POWER (3<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
460 #define PM3RD_MClkControl_SOURCE_PCLK (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
461 #define PM3RD_MClkControl_SOURCE_HALF_PCLK (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
462 #define PM3RD_MClkControl_SOURCE_HALF_EXT (3<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
463 #define PM3RD_MClkControl_SOURCE_EXT (4<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
464 #define PM3RD_MClkControl_SOURCE_HALF_KCLK (5<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
465 #define PM3RD_MClkControl_SOURCE_KCLK (6<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
466 #define PM3RD_MClkPreScale 0x212
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
467 #define PM3RD_MClkFeedbackScale 0x213
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
468 #define PM3RD_MClkPostScale 0x214
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
469 #define PM3RD_SClkControl 0x215
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
470 #define PM3RD_SClkControl_DISABLE (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
471 #define PM3RD_SClkControl_ENABLE (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
472 #define PM3RD_SClkControl_NOT_LOCKED (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
473 #define PM3RD_SClkControl_LOCKED (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
474 #define PM3RD_SClkControl_STATE_LOW (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
475 #define PM3RD_SClkControl_STATE_HIGH (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
476 #define PM3RD_SClkControl_STATE_RUN (2<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
477 #define PM3RD_SClkControl_STATE_LOW_POWER (3<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
478 #define PM3RD_SClkControl_SOURCE_PCLK (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
479 #define PM3RD_SClkControl_SOURCE_HALF_PCLK (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
480 #define PM3RD_SClkControl_SOURCE_HALF_EXT (3<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
481 #define PM3RD_SClkControl_SOURCE_EXT (4<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
482 #define PM3RD_SClkControl_SOURCE_HALF_KCLK (5<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
483 #define PM3RD_SClkControl_SOURCE_KCLK (6<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
484 #define PM3RD_SClkPreScale 0x216
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
485 #define PM3RD_SClkFeedbackScale 0x217
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
486 #define PM3RD_SClkPostScale 0x218
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
487
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
488 #define PM3RD_CursorPalette(p) (0x303+(p))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
489 #define PM3RD_CursorPattern(p) (0x400+(p))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
490 /******************************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
491 * GLINT Permedia3 Video Streaming Registers (0x5000) *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
492 *******************************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
493
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
494 #define PM3VSConfiguration 0x5800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
495
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
496 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
497 * GLINT Permedia3 Core Registers (0x8000+) *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
498 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
499 #define PM3AALineWidth 0x94c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
500 #define PM3AAPointsize 0x94a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
501 #define PM3AlphaBlendAlphaMode 0xafa8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
502 #define PM3AlphaBlendAlphaModeAnd 0xad30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
503 #define PM3AlphaBlendAlphaModeOr 0xad38
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
504 #define PM3AlphaBlendColorMode 0xafa0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
505 #define PM3AlphaBlendColorModeAnd 0xacb0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
506 #define PM3AlphaBlendColorModeOr 0xacb8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
507 #define PM3AlphaDestColor 0xaf88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
508 #define PM3AlphaSourceColor 0xaf80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
509 #define PM3AlphaTestMode 0x8800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
510 #define PM3AlphaTestModeAnd 0xabf0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
511 #define PM3AlphaTestModeOr 0xabf8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
512 #define PM3AntialiasMode 0x8808
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
513 #define PM3AntialiasModeAnd 0xac00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
514 #define PM3AntialiasModeOr 0xac08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
515 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
516 #define PM3BackgroundColor 0xb0c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
517 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
518 #define PM3ColorDDAMode 0x87e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
519 #define PM3ColorDDAModeAnd 0xabe0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
520 #define PM3ColorDDAModeOr 0xabe8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
521 #define PM3CommandInterrupt 0xa990
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
522 #define PM3ConstantColorDDA 0xafb0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
523 #define PM3ConstantColorDDA_R(r) ((r)&0xff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
524 #define PM3ConstantColorDDA_G(g) (((g)&0xff)<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
525 #define PM3ConstantColorDDA_B(b) (((b)&0xff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
526 #define PM3ConstantColorDDA_A(a) (((a)&0xff)<<24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
527 #define PM3ContextData 0x8dd0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
528 #define PM3ContextDump 0x8dc0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
529 #define PM3ContextRestore 0x8dc8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
530 #define PM3Continue 0x8058
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
531 #define PM3ContinueNewDom 0x8048
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
532 #define PM3ContinueNewLine 0x8040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
533 #define PM3ContinueNewSub 0x8050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
534 #define PM3Count 0x8030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
535 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
536 #define PM3DeltaControl 0x9350
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
537 #define PM3DeltaControlAnd 0xab20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
538 #define PM3DeltaControlOr 0xab28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
539 #define PM3DeltaMode 0x9300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
540 #define PM3DeltaModeAnd 0xaad0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
541 #define PM3DeltaModeOr 0xaad8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
542 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
543 #define PM3DitherMode 0x8818
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
544 #define PM3DitherModeAnd 0xacd0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
545 #define PM3DitherModeOr 0xacd8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
546 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
547 #define PM3dXDom 0x8008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
548 #define PM3dXSub 0x8018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
549 #define PM3dY 0x8028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
550 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
551 #define PM3FBBlockColor 0x8ac8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
552 #define PM3FBBlockColor0 0xb060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
553 #define PM3FBBlockColor1 0xb068
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
554 #define PM3FBBlockColor2 0xb070
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
555 #define PM3FBBlockColor3 0xb078
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
556 #define PM3FBBlockColorBack 0xb0a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
557 #define PM3FBBlockColorBack0 0xb080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
558 #define PM3FBBlockColorBack1 0xb088
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
559 #define PM3FBBlockColorBack2 0xb090
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
560 #define PM3FBBlockColorBack3 0xb098
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
561 #define PM3FBColor 0x8a98
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
562 #define PM3FBDestReadBufferAddr0 0xae80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
563 #define PM3FBDestReadBufferAddr1 0xae88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
564 #define PM3FBDestReadBufferAddr2 0xae90
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
565 #define PM3FBDestReadBufferAddr3 0xae98
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
566 #define PM3FBDestReadBufferOffset0 0xaea0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
567 #define PM3FBDestReadBufferOffset1 0xaea8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
568 #define PM3FBDestReadBufferOffset2 0xaeb0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
569 #define PM3FBDestReadBufferOffset3 0xaeb8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
570 #define PM3FBDestReadBufferOffset_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
571 #define PM3FBDestReadBufferOffset_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
572 #define PM3FBDestReadBufferWidth0 0xaec0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
573 #define PM3FBDestReadBufferWidth1 0xaec8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
574 #define PM3FBDestReadBufferWidth2 0xaed0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
575 #define PM3FBDestReadBufferWidth3 0xaed8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
576 #define PM3FBDestReadBufferWidth_Width(w) ((w)&0x0fff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
577
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
578 #define PM3FBDestReadEnables 0xaee8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
579 #define PM3FBDestReadEnablesAnd 0xad20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
580 #define PM3FBDestReadEnablesOr 0xad28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
581 #define PM3FBDestReadEnables_E(e) ((e)&0xff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
582 #define PM3FBDestReadEnables_E0 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
583 #define PM3FBDestReadEnables_E1 1<<1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
584 #define PM3FBDestReadEnables_E2 1<<2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
585 #define PM3FBDestReadEnables_E3 1<<3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
586 #define PM3FBDestReadEnables_E4 1<<4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
587 #define PM3FBDestReadEnables_E5 1<<5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
588 #define PM3FBDestReadEnables_E6 1<<6
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
589 #define PM3FBDestReadEnables_E7 1<<7
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
590 #define PM3FBDestReadEnables_R(r) (((r)&0xff)<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
591 #define PM3FBDestReadEnables_R0 1<<8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
592 #define PM3FBDestReadEnables_R1 1<<9
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
593 #define PM3FBDestReadEnables_R2 1<<10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
594 #define PM3FBDestReadEnables_R3 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
595 #define PM3FBDestReadEnables_R4 1<<12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
596 #define PM3FBDestReadEnables_R5 1<<13
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
597 #define PM3FBDestReadEnables_R6 1<<14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
598 #define PM3FBDestReadEnables_R7 1<<15
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
599 #define PM3FBDestReadEnables_ReferenceAlpha(a) (((a)&0xff)<<24)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
601 #define PM3FBDestReadMode 0xaee0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
602 #define PM3FBDestReadModeAnd 0xac90
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
603 #define PM3FBDestReadModeOr 0xac98
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
604 #define PM3FBDestReadMode_ReadDisable 0<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
605 #define PM3FBDestReadMode_ReadEnable 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
606 #define PM3FBDestReadMode_StripePitch(sp) (((sp)&0x7)<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
607 #define PM3FBDestReadMode_StripeHeight(sh) (((sh)&0x7)<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
608 #define PM3FBDestReadMode_Enable0 1<<8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
609 #define PM3FBDestReadMode_Enable1 1<<9
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
610 #define PM3FBDestReadMode_Enable2 1<<10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
611 #define PM3FBDestReadMode_Enable3 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
612 #define PM3FBDestReadMode_Layout0(l) (((l)&0x3)<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
613 #define PM3FBDestReadMode_Layout1(l) (((l)&0x3)<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
614 #define PM3FBDestReadMode_Layout2(l) (((l)&0x3)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
615 #define PM3FBDestReadMode_Layout3(l) (((l)&0x3)<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
616 #define PM3FBDestReadMode_Origin0 1<<20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
617 #define PM3FBDestReadMode_Origin1 1<<21
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
618 #define PM3FBDestReadMode_Origin2 1<<22
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
619 #define PM3FBDestReadMode_Origin3 1<<23
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
620 #define PM3FBDestReadMode_Blocking 1<<24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
621 #define PM3FBDestReadMode_UseReadEnabled 1<<26
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
622 #define PM3FBDestReadMode_AlphaFiltering 1<<27
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
623
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
624 #define PM3FBHardwareWriteMask 0x8ac0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
625 #define PM3FBSoftwareWriteMask 0x8820
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
626 #define PM3FBData 0x8aa0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
627 #define PM3FBSourceData 0x8aa8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
628 #define PM3FBSourceReadBufferAddr 0xaf08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
629 #define PM3FBSourceReadBufferOffset 0xaf10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
630 #define PM3FBSourceReadBufferOffset_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
631 #define PM3FBSourceReadBufferOffset_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
632 #define PM3FBSourceReadBufferWidth 0xaf18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
633 #define PM3FBSourceReadBufferWidth_Width(w) ((w)&0x0fff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
634 #define PM3FBSourceReadMode 0xaf00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
635 #define PM3FBSourceReadModeAnd 0xaca0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
636 #define PM3FBSourceReadModeOr 0xaca8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
637 #define PM3FBSourceReadMode_ReadDisable (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
638 #define PM3FBSourceReadMode_ReadEnable (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
639 #define PM3FBSourceReadMode_StripePitch(sp) (((sp)&0x7)<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
640 #define PM3FBSourceReadMode_StripeHeight(sh) (((sh)&0x7)<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
641 #define PM3FBSourceReadMode_Layout(l) (((l)&0x3)<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
642 #define PM3FBSourceReadMode_Origin 1<<10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
643 #define PM3FBSourceReadMode_Blocking 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
644 #define PM3FBSourceReadMode_UserTexelCoord 1<<13
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
645 #define PM3FBSourceReadMode_WrapXEnable 1<<14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
646 #define PM3FBSourceReadMode_WrapYEnable 1<<15
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
647 #define PM3FBSourceReadMode_WrapX(w) (((w)&0xf)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
648 #define PM3FBSourceReadMode_WrapY(w) (((w)&0xf)<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
649 #define PM3FBSourceReadMode_ExternalSourceData 1<<24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
650 #define PM3FBWriteBufferAddr0 0xb000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
651 #define PM3FBWriteBufferAddr1 0xb008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
652 #define PM3FBWriteBufferAddr2 0xb010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
653 #define PM3FBWriteBufferAddr3 0xb018
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
654
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
655 #define PM3FBWriteBufferOffset0 0xb020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
656 #define PM3FBWriteBufferOffset1 0xb028
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
657 #define PM3FBWriteBufferOffset2 0xb030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
658 #define PM3FBWriteBufferOffset3 0xb038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
659 #define PM3FBWriteBufferOffset_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
660 #define PM3FBWriteBufferOffset_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
661
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
662 #define PM3FBWriteBufferWidth0 0xb040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
663 #define PM3FBWriteBufferWidth1 0xb048
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
664 #define PM3FBWriteBufferWidth2 0xb050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
665 #define PM3FBWriteBufferWidth3 0xb058
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
666 #define PM3FBWriteBufferWidth_Width(w) ((w)&0x0fff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
667
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
668 #define PM3FBWriteMode 0x8ab8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
669 #define PM3FBWriteModeAnd 0xacf0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
670 #define PM3FBWriteModeOr 0xacf8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
671 #define PM3FBWriteMode_WriteDisable 0<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
672 #define PM3FBWriteMode_WriteEnable 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
673 #define PM3FBWriteMode_Replicate 1<<4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
674 #define PM3FBWriteMode_OpaqueSpan 1<<5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
675 #define PM3FBWriteMode_StripePitch(p) (((p)&0x7)<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
676 #define PM3FBWriteMode_StripeHeight(h) (((h)&0x7)<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
677 #define PM3FBWriteMode_Enable0 1<<12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
678 #define PM3FBWriteMode_Enable1 1<<13
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
679 #define PM3FBWriteMode_Enable2 1<<14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
680 #define PM3FBWriteMode_Enable3 1<<15
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
681 #define PM3FBWriteMode_Layout0(l) (((l)&0x3)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
682 #define PM3FBWriteMode_Layout1(l) (((l)&0x3)<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
683 #define PM3FBWriteMode_Layout2(l) (((l)&0x3)<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
684 #define PM3FBWriteMode_Layout3(l) (((l)&0x3)<<22)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
685 #define PM3FBWriteMode_Origin0 1<<24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
686 #define PM3FBWriteMode_Origin1 1<<25
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
687 #define PM3FBWriteMode_Origin2 1<<26
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
688 #define PM3FBWriteMode_Origin3 1<<27
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
689 #define PM3ForegroundColor 0xb0c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
690 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
691 #define PM3GIDMode 0xb538
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
692 #define PM3GIDModeAnd 0xb5b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
693 #define PM3GIDModeOr 0xb5b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
694 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
695 #define PM3LBDestReadBufferAddr 0xb510
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
696 #define PM3LBDestReadBufferOffset 0xb518
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
697 #define PM3LBDestReadEnables 0xb508
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
698 #define PM3LBDestReadEnablesAnd 0xb590
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
699 #define PM3LBDestReadEnablesOr 0xb598
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
700 #define PM3LBDestReadMode 0xb500
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
701 #define PM3LBDestReadModeAnd 0xb580
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
702 #define PM3LBDestReadModeOr 0xb588
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
703 #define PM3LBDestReadMode_Disable 0<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
704 #define PM3LBDestReadMode_Enable 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
705 #define PM3LBDestReadMode_StripePitch(p) (((p)&0x7)<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
706 #define PM3LBDestReadMode_StripeHeight(h) (((h)&0x7)<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
707 #define PM3LBDestReadMode_Layout 1<<8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
708 #define PM3LBDestReadMode_Origin 1<<9
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
709 #define PM3LBDestReadMode_UserReadEnables 1<<10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
710 #define PM3LBDestReadMode_Packed16 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
711 #define PM3LBDestReadMode_Width(w) (((w)&0xfff)<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
712 #define PM3LBReadFormat 0x8888
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
713 #define PM3LBReadFormat_DepthWidth(w) (((w)&0x3)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
714 #define PM3LBReadFormat_StencilWidth(w) (((w)&0xf)<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
715 #define PM3LBReadFormat_StencilPosition(p) (((p)&0x1f)<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
716 #define PM3LBReadFormat_FCPWidth(w) (((w)&0xf)<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
717 #define PM3LBReadFormat_FCPPosition(p) (((p)&0x1f)<<15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
718 #define PM3LBReadFormat_GIDWidth(w) (((w)&0x7)<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
719 #define PM3LBReadFormat_GIDPosition(p) (((p)&0x1f)<<23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
720 #define PM3LBSourceReadBufferAddr 0xb528
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
721 #define PM3LBSourceReadBufferOffset 0xb530
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
722 #define PM3LBSourceReadMode 0xb520
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
723 #define PM3LBSourceReadModeAnd 0xb5a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
724 #define PM3LBSourceReadModeOr 0xb5a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
725 #define PM3LBSourceReadMode_Enable 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
726 #define PM3LBSourceReadMode_StripePitch(p) (((p)&0x7)<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
727 #define PM3LBSourceReadMode_StripeHeight(h) (((h)&0x7)<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
728 #define PM3LBSourceReadMode_Layout 1<<8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
729 #define PM3LBSourceReadMode_Origin 1<<9
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
730 #define PM3LBSourceReadMode_Packed16 1<<10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
731 #define PM3LBSourceReadMode_Width(w) (((w)&0xfff)<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
732 #define PM3LBStencil 0x88a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
733 #define PM3LBWriteBufferAddr 0xb540
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
734 #define PM3LBWriteBufferOffset 0xb548
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
735 #define PM3LBWriteFormat 0x88c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
736 #define PM3LBWriteFormat_DepthWidth(w) (((w)&0x3)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
737 #define PM3LBWriteFormat_StencilWidth(w) (((w)&0xf)<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
738 #define PM3LBWriteFormat_StencilPosition(p) (((p)&0x1f)<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
739 #define PM3LBWriteFormat_GIDWidth(w) (((w)&0x7)<<20)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
740 #define PM3LBWriteFormat_GIDPosition(p) (((p)&0x1f)<<23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
741 #define PM3LBWriteMode 0x88c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
742 #define PM3LBWriteModeAnd 0xac80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
743 #define PM3LBWriteModeOr 0xac88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
744 #define PM3LBWriteMode_WriteDisable 0<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
745 #define PM3LBWriteMode_WriteEnable 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
746 #define PM3LBWriteMode_StripePitch(p) (((p)&0x7)<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
747 #define PM3LBWriteMode_StripeHeight(h) (((h)&0x7)<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
748 #define PM3LBWriteMode_Layout 1<<9
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
749 #define PM3LBWriteMode_Origin 1<<10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
750 #define PM3LBWriteMode_Packed16 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
751 #define PM3LBWriteMode_Width(w) (((w)&0xfff)<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
752 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
753 #define PM3LineStippleMode 0x81a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
754 #define PM3LineStippleModeAnd 0xabc0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
755 #define PM3LineStippleModeOr 0xabc8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
756 #define PM3LoadLineStippleCounters 0x81b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
757 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
758 #define PM3LogicalOpMode 0x8828
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
759 #define PM3LogicalOpModeAnd 0xace0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
760 #define PM3LogicalOpModeOr 0xace8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
761 #define PM3LogicalOpMode_Disable (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
762 #define PM3LogicalOpMode_Enable (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
763 #define PM3LogicalOpMode_LogicOp(op) (((op)&0xf)<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
764 #define PM3LogicalOpMode_UseConstantWriteData_Disable (0<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
765 #define PM3LogicalOpMode_UseConstantWriteData_Enable (1<<5)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
766 #define PM3LogicalOpMode_Background_Disable (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
767 #define PM3LogicalOpMode_Background_Enable (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
768 #define PM3LogicalOpMode_Background_LogicOp(op) (((op)&0xf)<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
769 #define PM3LogicalOpMode_UseConstantSource_Disable (0<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
770 #define PM3LogicalOpMode_UseConstantSource_Enable (1<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
771
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
772 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
773 #define PM3LUT 0x8e80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
774 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
775 #define PM3LUT 0x8e80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
776 #define PM3LUTAddress 0x84d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
777 #define PM3LUTData 0x84c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
778 #define PM3LUTIndex 0x84c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
779 #define PM3LUTMode 0xb378
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
780 #define PM3LUTModeAnd 0xad70
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
781 #define PM3LUTModeOr 0xad78
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
782 #define PM3LUTTransfer 0x84d8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
783 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
784 #define PM3PixelSize 0x80c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
785 #define PM3PixelSize_GLOBAL_32BIT (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
786 #define PM3PixelSize_GLOBAL_16BIT (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
787 #define PM3PixelSize_GLOBAL_8BIT (2<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
788 #define PM3PixelSize_RASTERIZER_32BIT (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
789 #define PM3PixelSize_RASTERIZER_16BIT (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
790 #define PM3PixelSize_RASTERIZER_8BIT (2<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
791 #define PM3PixelSize_SCISSOR_AND_STIPPLE_32BIT (0<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
792 #define PM3PixelSize_SCISSOR_AND_STIPPLE_16BIT (1<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
793 #define PM3PixelSize_SCISSOR_AND_STIPPLE_8BIT (2<<4)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
794 #define PM3PixelSize_TEXTURE_32BIT (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
795 #define PM3PixelSize_TEXTURE_16BIT (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
796 #define PM3PixelSize_TEXTURE_8BIT (2<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
797 #define PM3PixelSize_LUT_32BIT (0<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
798 #define PM3PixelSize_LUT_16BIT (1<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
799 #define PM3PixelSize_LUT_8BIT (2<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
800 #define PM3PixelSize_FRAMEBUFFER_32BIT (0<<10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
801 #define PM3PixelSize_FRAMEBUFFER_16BIT (1<<10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
802 #define PM3PixelSize_FRAMEBUFFER_8BIT (2<<10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
803 #define PM3PixelSize_LOGICAL_OP_32BIT (0<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
804 #define PM3PixelSize_LOGICAL_OP_16BIT (1<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
805 #define PM3PixelSize_LOGICAL_OP_8BIT (2<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
806 #define PM3PixelSize_LOCALBUFFER_32BIT (0<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
807 #define PM3PixelSize_LOCALBUFFER_16BIT (1<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
808 #define PM3PixelSize_LOCALBUFFER_8BIT (2<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
809 #define PM3PixelSize_SETUP_32BIT (0<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
810 #define PM3PixelSize_SETUP_16BIT (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
811 #define PM3PixelSize_SETUP_8BIT (2<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
812 #define PM3PixelSize_GLOBAL (0<<31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
813 #define PM3PixelSize_INDIVIDUAL (1<<31)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
814 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
815 #define PM3Render 0x8038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
816 #define PM3Render_AreaStipple_Disable (0<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
817 #define PM3Render_AreaStipple_Enable (1<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
818 #define PM3Render_LineStipple_Disable (0<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
819 #define PM3Render_LineStipple_Enable (1<<1)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
820 #define PM3Render_ResetLine_Disable (0<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
821 #define PM3Render_ResetLine_Enable (1<<2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
822 #define PM3Render_FastFill_Disable (0<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
823 #define PM3Render_FastFill_Enable (1<<3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
824 #define PM3Render_Primitive_Line (0<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
825 #define PM3Render_Primitive_Trapezoid (1<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
826 #define PM3Render_Primitive_Point (2<<6)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
827 #define PM3Render_Antialias_Disable (0<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
828 #define PM3Render_Antialias_Enable (1<<8)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
829 #define PM3Render_Antialias_SubPixelRes_4x4 (0<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
830 #define PM3Render_Antialias_SubPixelRes_8x8 (1<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
831 #define PM3Render_UsePointTable_Disable (0<<10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
832 #define PM3Render_UsePointTable_Enable (1<<10)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
833 #define PM3Render_SyncOnbitMask_Disable (0<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
834 #define PM3Render_SyncOnBitMask_Enable (1<<11)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
835 #define PM3Render_SyncOnHostData_Disable (0<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
836 #define PM3Render_SyncOnHostData_Enable (1<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
837 #define PM3Render_Texture_Disable (0<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
838 #define PM3Render_Texture_Enable (1<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
839 #define PM3Render_Fog_Disable (0<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
840 #define PM3Render_Fog_Enable (1<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
841 #define PM3Render_Coverage_Disable (0<<15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
842 #define PM3Render_Coverage_Enable (1<<15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
843 #define PM3Render_SubPixelCorrection_Disable (0<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
844 #define PM3Render_SubPixelCorrection_Enable (1<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
845 #define PM3Render_SpanOperation_Disable (0<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
846 #define PM3Render_SpanOperation_Enable (1<<18)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
847 #define PM3Render_FBSourceRead_Disable (0<<27)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
848 #define PM3Render_FBSourceRead_Enable (1<<27)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
849 #define PM3RasterizerMode 0x80a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
850 #define PM3RasterizerModeAnd 0xaba0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
851 #define PM3RasterizerModeOr 0xabb8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
852 #define PM3RectangleHeight 0x94e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
853 #define PM3Render 0x8038
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
854 #define PM3RepeatLine 0x9328
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
855 #define PM3ResetPickResult 0x8c20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
856 #define PM3RLEMask 0x8c48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
857 #define PM3RouterMode 0x8840
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
858 #define PM3RStart 0x8780
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
859 #define PM3S1Start 0x8400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
860 #define PM3aveLineStippleCounters 0x81c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
861 #define PM3ScissorMaxXY 0x8190
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
862 #define PM3ScissorMinXY 0x8188
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
863 #define PM3ScissorMode 0x8180
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
864 #define PM3ScissorModeAnd 0xabb0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
865 #define PM3ScissorModeOr 0xabb8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
866 #define PM3ScreenSize 0x8198
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
867 #define PM3Security 0x8908
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
868 #define PM3SetLogicalTexturePage 0xb360
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
869 #define PM3SizeOfFramebuffer 0xb0a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
870 #define PM3SStart 0x8388
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
871 #define PM3StartXDom 0x8000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
872 #define PM3StartXSub 0x8010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
873 #define PM3StartY 0x8020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
874 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
875 #define PM3SpanColorMask 0x8168
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
876 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
877 #define PM3TextureApplicationMode 0x8680
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
878 #define PM3TextureApplicationModeAnd 0xac50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
879 #define PM3TextureApplicationModeOr 0xac58
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
880 #define PM3TextureBaseAddr 0x8500
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
881 #define PM3TextureCacheControl 0x8490
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
882 #define PM3TextureChromaLower0 0x84f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
883 #define PM3TextureChromaLower1 0x8608
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
884 #define PM3TextureChromaUpper0 0x84e8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
885 #define PM3TextureChromaUpper1 0x8600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
886 #define PM3TextureCompositeAlphaMode0 0xb310
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
887 #define PM3TextureCompositeAlphaMode0And 0xb390
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
888 #define PM3TextureCompositeAlphaMode0Or 0xb398
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
889 #define PM3TextureCompositeAlphaMode1 0xb320
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
890 #define PM3TextureCompositeAlphaMode1And 0xb3b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
891 #define PM3TextureCompositeAlphaMode1Or 0xb3b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
892 #define PM3TextureCompositeColorMode0 0xb308
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
893 #define PM3TextureCompositeColorMode0And 0xb380
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
894 #define PM3TextureCompositeColorMode0Or 0xb388
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
895 #define PM3TextureCompositeColorMode1 0xb318
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
896 #define PM3TextureCompositeColorMode1And 0xb3a0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
897 #define PM3TextureCompositeColorMode1Or 0xb3a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
898 #define PM3TextureCompositeFactor0 0xb328
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
899 #define PM3TextureCompositeFactor1 0xb330
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
900 #define PM3TextureCompositeMode 0xb300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
901 #define PM3TextureCoordMode 0x8380
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
902 #define PM3TextureCoordModeAnd 0xac20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
903 #define PM3TextureCoordModeOr 0xac28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
904 #define PM3TextureData 0x88e8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
905 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
906 #define PM3TextureDownloadControl 0x0108
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
907 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
908 #define PM3TextureDownloadOffset 0x88f0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
909 #define PM3TextureEnvColor 0x8688
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
910 #define PM3TextureFilterMode 0x84e0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
911 #define PM3TextureFilterModeAnd 0xad50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
912 #define PM3TextureFilterModeOr 0xad58
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
913 #define PM3TextureIndexMode0 0xb338
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
914 #define PM3TextureIndexMode0And 0xb3c0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
915 #define PM3TextureIndexMode0Or 0xb3c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
916 #define PM3TextureIndexMode1 0xb340
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
917 #define PM3TextureIndexMode1And 0xb3d0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
918 #define PM3TextureIndexMode1Or 0xb3d8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
919 #define PM3TextureLODBiasS 0x8450
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
920 #define PM3TextureLODBiasT 0x8458
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
921 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
922 #define PM3TextureMapSize 0xb428
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
923 #define PM3TextureMapWidth0 0x8580
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
924 #define PM3TextureMapWidth1 0x8588
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
925 #define PM3TextureMapWidth_Width(w) ((w&0xfff)<<0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
926 #define PM3TextureMapWidth_BorderLayout (1<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
927 #define PM3TextureMapWidth_Layout_Linear (0<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
928 #define PM3TextureMapWidth_Layout_Patch64 (1<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
929 #define PM3TextureMapWidth_Layout_Patch32_2 (2<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
930 #define PM3TextureMapWidth_Layout_Patch2 (3<<13)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
931 #define PM3TextureMapWidth_HostTexture (1<<15)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
932 #define PM3TextureReadMode0 0xb400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
933 #define PM3TextureReadMode0And 0xac30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
934 #define PM3TextureReadMode0Or 0xac38
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
935 #define PM3TextureReadMode1 0xb408
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
936 #define PM3TextureReadMode1And 0xad40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
937 #define PM3TextureReadMode1Or 0xad48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
938 /* ... */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
939 #define PM3WaitForCompletion 0x80b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
940 #define PM3Window 0x8980
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
941 #define PM3Window_ForceLBUpdate 1<<3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
942 #define PM3Window_LBUpdateSource 1<<4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
943 #define PM3Window_FrameCount(c) (((c)&0xff)<<9)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
944 #define PM3Window_StencilFCP 1<<17
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
945 #define PM3Window_DepthFCP 1<<18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
946 #define PM3Window_OverrideWriteFiltering 1<<19
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
947 #define PM3WindowAnd 0xab80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
948 #define PM3WindowOr 0xab88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
949 #define PM3WindowOrigin 0x81c8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
950 #define PM3XBias 0x9480
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
951 #define PM3YBias 0x9488
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
952 #define PM3YLimits 0x80a8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
953 #define PM3UVMode 0x8f00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
954 #define PM3ZFogBias 0x86b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
955 #define PM3ZStart 0xadd8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
956 #define PM3ZStartL 0x89b8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
957 #define PM3ZStartU 0x89b0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
958
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
959
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
960 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
961 * GLINT Permedia3 2D setup Unit *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
962 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
963 #define PM3Config2D 0xb618
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
964 #define PM3Config2D_OpaqueSpan 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
965 #define PM3Config2D_MultiRXBlit 1<<1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
966 #define PM3Config2D_UserScissorEnable 1<<2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
967 #define PM3Config2D_FBDestReadEnable 1<<3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
968 #define PM3Config2D_AlphaBlendEnable 1<<4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
969 #define PM3Config2D_DitherEnable 1<<5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
970 #define PM3Config2D_ForegroundROPEnable 1<<6
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
971 #define PM3Config2D_ForegroundROP(rop) (((rop)&0xf)<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
972 #define PM3Config2D_BackgroundROPEnable 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
973 #define PM3Config2D_BackgroundROP(rop) (((rop)&0xf)<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
974 #define PM3Config2D_UseConstantSource 1<<16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
975 #define PM3Config2D_FBWriteEnable 1<<17
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
976 #define PM3Config2D_Blocking 1<<18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
977 #define PM3Config2D_ExternalSourceData 1<<19
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
978 #define PM3Config2D_LUTModeEnable 1<<20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
979 #define PM3DownloadGlyphwidth 0xb658
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
980 #define PM3DownloadGlyphwidth_GlyphWidth(gw) ((gw)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
981 #define PM3DownloadTarget 0xb650
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
982 #define PM3DownloadTarget_TagName(tag) ((tag)&0x1fff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
983 #define PM3GlyphData 0xb660
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
984 #define PM3GlyphPosition 0xb608
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
985 #define PM3GlyphPosition_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
986 #define PM3GlyphPosition_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
987 #define PM3Packed4Pixels 0xb668
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
988 #define PM3Packed8Pixels 0xb630
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
989 #define PM3Packed16Pixels 0xb638
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
990 #define PM3RectanglePosition 0xb600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
991 #define PM3RectanglePosition_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
992 #define PM3RectanglePosition_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
993 #define PM3Render2D 0xb640
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
994 #define PM3Render2D_Width(w) ((w)&0x0fff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
995 #define PM3Render2D_Operation_Normal 0<<12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
996 #define PM3Render2D_Operation_SyncOnHostData 1<<12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
997 #define PM3Render2D_Operation_SyncOnBitMask 2<<12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
998 #define PM3Render2D_Operation_PatchOrderRendering 3<<12
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
999 #define PM3Render2D_FBSourceReadEnable 1<<14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1000 #define PM3Render2D_SpanOperation 1<<15
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1001 #define PM3Render2D_Height(h) (((h)&0x0fff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1002 #define PM3Render2D_XPositive 1<<28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1003 #define PM3Render2D_YPositive 1<<29
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1004 #define PM3Render2D_AreaStippleEnable 1<<30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1005 #define PM3Render2D_TextureEnable 1<<31
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1006 #define PM3Render2DGlyph 0xb648
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1007 #define PM3Render2DGlyph_Width(w) ((w)&0x7f)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1008 #define PM3Render2DGlyph_Height(h) (((h)&0x7f)<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1009 #define PM3Render2DGlyph_XOffset(x) (((x)&0x1ff)<<14)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1010 #define PM3Render2DGlyph_YOffset(y) (((y)&0x1ff)<<23)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1011 #define PM3RenderPatchOffset 0xb610
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1012 #define PM3RenderPatchOffset_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1013 #define PM3RenderPatchOffset_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1014 #define PM3RLCount 0xb678
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1015 #define PM3RLCount_Count(c) ((c)&0x0fff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1016 #define PM3RLData 0xb670
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1017
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1018 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1019 * GLINT Permedia3 Alias Register *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1020 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1021 #define PM3FillBackgroundColor 0x8330
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1022 #define PM3FillConfig2D0 0x8338
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1023 #define PM3FillConfig2D1 0x8360
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1024 #define PM3FillConfig2D_OpaqueSpan 1<<0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1025 #define PM3FillConfig2D_MultiRXBlit 1<<1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1026 #define PM3FillConfig2D_UserScissorEnable 1<<2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1027 #define PM3FillConfig2D_FBDestReadEnable 1<<3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1028 #define PM3FillConfig2D_AlphaBlendEnable 1<<4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1029 #define PM3FillConfig2D_DitherEnable 1<<5
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1030 #define PM3FillConfig2D_ForegroundROPEnable 1<<6
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1031 #define PM3FillConfig2D_ForegroundROP(rop) (((rop)&0xf)<<7)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1032 #define PM3FillConfig2D_BackgroundROPEnable 1<<11
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1033 #define PM3FillConfig2D_BackgroundROP(rop) (((rop)&0xf)<<12)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1034 #define PM3FillConfig2D_UseConstantSource 1<<16
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1035 #define PM3FillConfig2D_FBWriteEnable 1<<17
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1036 #define PM3FillConfig2D_Blocking 1<<18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1037 #define PM3FillConfig2D_ExternalSourceData 1<<19
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1038 #define PM3FillConfig2D_LUTModeEnable 1<<20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1039 #define PM3FillFBDestReadBufferAddr 0x8310
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1040 #define PM3FillFBSourceReadBufferAddr 0x8308
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1041 #define PM3FillFBSourceReadBufferOffset 0x8340
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1042 #define PM3FillFBSourceReadBufferOffset_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1043 #define PM3FillFBSourceReadBufferOffset_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1044 #define PM3FillFBWriteBufferAddr 0x8300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1045 #define PM3FillForegroundColor0 0x8328
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1046 #define PM3FillForegroundColor1 0x8358
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1047 #define PM3FillGlyphPosition 0x8368
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1048 #define PM3FillGlyphPosition_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1049 #define PM3FillGlyphPosition_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1050 #define PM3FillRectanglePosition 0x8348
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1051 #define PM3FillRectanglePosition_XOffset(x) ((x)&0xffff)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1052 #define PM3FillRectanglePosition_YOffset(y) (((y)&0xffff)<<16)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1053
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1054 /**********************************************
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1055 * GLINT Permedia3 Macros *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1056 ***********************************************/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1057
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1058 extern void *pm3_reg_base;
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1059
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1060 #define WRITE_REG(offset,val) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1061 *(volatile unsigned long *)(((unsigned char *)(pm3_reg_base)) + (offset)) = (val)
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
1062
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1063 #define READ_REG(offset) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1064 *(volatile unsigned long *)(((unsigned char *)(pm3_reg_base)) + (offset))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1065
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1066 #define UPDATE_SET_REG(offset,val) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1067 { \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1068 unsigned long temp; \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1069 temp = READ_REG(offset); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1070 WRITE_REG(offset,temp|(val)); \
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
1071 }
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1072
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1073 #define UPDATE_CLEAR_REG(offset,val) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1074 { \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1075 unsigned long temp; \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1076 temp = READ_REG(offset); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1077 WRITE_REG(offset,temp&(~(val))); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1078 }
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1079
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1080 #define RAMDAC_DELAY(x) do { \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1081 int delay = x; \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1082 unsigned char tmp; \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1083 while(delay--){tmp = READ_REG(PM3InFIFOSpace);}; \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1084 } while(0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1085
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1086 #define SLOW_WRITE_REG(v,r) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1087 do{ \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1088 RAMDAC_DELAY(5); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1089 WRITE_REG(v,r); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1090 RAMDAC_DELAY(5); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1091 }while(0)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1092
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1093 #define RAMDAC_SET_INDEX(index) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1094 { \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1095 SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1096 SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1097 }
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1098
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1099 #define RAMDAC_SET_REG(index, data) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1100 { \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1101 RAMDAC_SET_INDEX(index); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1102 SLOW_WRITE_REG(PM3RD_IndexedData, data); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1103 }
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1104
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1105 #define RAMDAC_GET_REG(index, temp) \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1106 { \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1107 RAMDAC_SET_INDEX(index); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1108 temp = READ_REG(PM3RD_IndexedData); \
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1109 }
30612
ed1000201cd0 Remove pointless '#if 1' preprocessor directives.
diego
parents: 29263
diff changeset
1110
26030
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
1111 #endif /* MPLAYER_PM3_REGS_H */