Remove CVS keywords.
[mesa.git] / src / mesa / drivers / dri / ffb / server / ffb_dac.h
1 /*
2 * Acceleration for the Creator and Creator3D framebuffer - DAC register layout.
3 *
4 * Copyright (C) 2000 David S. Miller (davem@redhat.com)
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * DAVID MILLER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 *
23 */
24
25 #ifndef _FFB_DAC_H
26 #define _FFB_DAC_H
27
28 #define Bool int
29
30 /* FFB utilizes two different ramdac chips:
31 *
32 * 1) BT9068 "Pacifica1", used in all FFB1 and
33 * FFB2 boards.
34 *
35 * 2) BT498(a) "Pacifica2", used in FFB2+ and
36 * AFB boards.
37 *
38 * They are mostly equivalent, except in a few key areas:
39 *
40 * 1) WID register layout
41 * 2) Number of CLUT tables
42 * 3) Presence of Window Address Mask register
43 * 4) Method of GAMMA correction support
44 */
45
46 /* NOTE: All addresses described in this file are DAC
47 * indirect addresses.
48 */
49
50 /* DAC color values are in the following format. */
51 #define FFBDAC_COLOR_BLUE 0x00ff0000
52 #define FFBDAC_COLOR_BLUE_SHFT 16
53 #define FFBDAC_COLOR_GREEN 0x0000ff00
54 #define FFBDAC_COLOR_GREEN_SHFT 8
55 #define FFBDAC_COLOR_RED 0x000000ff
56 #define FFBDAC_COLOR_RED_SHFT 0
57
58 /* Cursor DAC register addresses. */
59 #define FFBDAC_CUR_BITMAP_P0 0x000 /* Plane 0 cursor bitmap */
60 #define FFBDAC_CUR_BITMAP_P1 0x080 /* Plane 1 cursor bitmap */
61 #define FFBDAC_CUR_CTRL 0x100 /* Cursor control */
62 #define FFBDAC_CUR_COLOR0 0x101 /* Cursor Color 0 */
63 #define FFBDAC_CUR_COLOR1 0x102 /* Cursor Color 1 (bg) */
64 #define FFBDAC_CUR_COLOR2 0x103 /* Cursor Color 2 (fg) */
65 #define FFBDAC_CUR_POS 0x104 /* Active cursor position */
66
67 /* Cursor control register.
68 * WARNING: Be careful, reverse logic on these bits.
69 */
70 #define FFBDAC_CUR_CTRL_P0 0x00000001 /* Plane0 display disable */
71 #define FFBDAC_CUR_CTRL_P1 0x00000002 /* Plane1 display disable */
72
73 /* Active cursor position register */
74 #define FFBDAC_CUR_POS_Y_SIGN 0x80000000 /* Sign of Y position */
75 #define FFBDAC_CUR_POS_Y 0x0fff0000 /* Y position */
76 #define FFBDAC_CUR_POS_X_SIGN 0x00008000 /* Sign of X position */
77 #define FFBDAC_CUR_POS_X 0x00000fff /* X position */
78
79 /* Configuration and Palette DAC register addresses. */
80 #define FFBDAC_CFG_PPLLCTRL 0x0000 /* Pixel PLL Control */
81 #define FFBDAC_CFG_GPLLCTRL 0x0001 /* General Purpose PLL Control */
82 #define FFBDAC_CFG_PFCTRL 0x1000 /* Pixel Format Control */
83 #define FFBDAC_CFG_UCTRL 0x1001 /* User Control */
84 #define FFBDAC_CFG_CLUP_BASE 0x2000 /* Color Lookup Palette */
85 #define FFBDAC_CFG_CLUP(entry) (FFBDAC_CFG_CLUP_BASE + ((entry) * 0x100))
86 #define FFBDAC_PAC2_SOVWLUT0 0x3100 /* Shadow Overlay Window Lookup 0*/
87 #define FFBDAC_PAC2_SOVWLUT1 0x3101 /* Shadow Overlay Window Lookup 1*/
88 #define FFBDAC_PAC2_SOVWLUT2 0x3102 /* Shadow Overlay Window Lookup 2*/
89 #define FFBDAC_PAC2_SOVWLUT3 0x3103 /* Shadow Overlay Window Lookup 3*/
90 #define FFBDAC_PAC2_AOVWLUT0 0x3210 /* Active Overlay Window Lookup 0*/
91 #define FFBDAC_PAC2_AOVWLUT1 0x3211 /* Active Overlay Window Lookup 1*/
92 #define FFBDAC_PAC2_AOVWLUT2 0x3212 /* Active Overlay Window Lookup 2*/
93 #define FFBDAC_PAC2_AOVWLUT3 0x3213 /* Active Overlay Window Lookup 3*/
94 #define FFBDAC_CFG_WTCTRL 0x3150 /* Window Transfer Control */
95 #define FFBDAC_CFG_TMCTRL 0x3151 /* Transparent Mask Control */
96 #define FFBDAC_CFG_TCOLORKEY 0x3152 /* Transparent Color Key */
97 #define FFBDAC_CFG_WAMASK 0x3153 /* Window Address Mask (PAC2 only) */
98 #define FFBDAC_PAC1_SPWLUT_BASE 0x3100 /* Shadow Primary Window Lookups */
99 #define FFBDAC_PAC1_SPWLUT(entry) (FFBDAC_PAC1_SPWLUT_BASE + (entry))
100 #define FFBDAC_PAC1_APWLUT_BASE 0x3120 /* Active Primary Window Lookups */
101 #define FFBDAC_PAC1_APWLUT(entry) (FFBDAC_PAC1_APWLUT_BASE + (entry))
102 #define FFBDAC_PAC2_SPWLUT_BASE 0x3200 /* Shadow Primary Window Lookups */
103 #define FFBDAC_PAC2_SPWLUT(entry) (FFBDAC_PAC2_SPWLUT_BASE + (entry))
104 #define FFBDAC_PAC2_APWLUT_BASE 0x3240 /* Active Primary Window Lookups */
105 #define FFBDAC_PAC2_APWLUT(entry) (FFBDAC_PAC2_APWLUT_BASE + (entry))
106 #define FFBDAC_CFG_SANAL 0x5000 /* Signature Analysis Control */
107 #define FFBDAC_CFG_DACCTRL 0x5001 /* DAC Control */
108 #define FFBDAC_CFG_TGEN 0x6000 /* Timing Generator Control */
109 #define FFBDAC_CFG_VBNP 0x6001 /* Vertical Blank Negation Point */
110 #define FFBDAC_CFG_VBAP 0x6002 /* Vertical Blank Assertion Point*/
111 #define FFBDAC_CFG_VSNP 0x6003 /* Vertical Sync Negation Point */
112 #define FFBDAC_CFG_VSAP 0x6004 /* Vertical Sync Assertion Point */
113 #define FFBDAC_CFG_HSNP 0x6005 /* Horz Serration Negation Point */
114 #define FFBDAC_CFG_HBNP 0x6006 /* Horz Blank Negation Point */
115 #define FFBDAC_CFG_HBAP 0x6007 /* Horz Blank Assertion Point */
116 #define FFBDAC_CFG_HSYNCNP 0x6008 /* Horz Sync Negation Point */
117 #define FFBDAC_CFG_HSYNCAP 0x6009 /* Horz Sync Assertion Point */
118 #define FFBDAC_CFG_HSCENNP 0x600A /* Horz SCEN Negation Point */
119 #define FFBDAC_CFG_HSCENAP 0x600B /* Horz SCEN Assertion Point */
120 #define FFBDAC_CFG_EPNP 0x600C /* Eql'zing Pulse Negation Point */
121 #define FFBDAC_CFG_EINP 0x600D /* Eql'zing Intvl Negation Point */
122 #define FFBDAC_CFG_EIAP 0x600E /* Eql'zing Intvl Assertion Point*/
123 #define FFBDAC_CFG_TGVC 0x600F /* Timing Generator Vert Counter */
124 #define FFBDAC_CFG_TGHC 0x6010 /* Timing Generator Horz Counter */
125 #define FFBDAC_CFG_DID 0x8000 /* Device Identification */
126 #define FFBDAC_CFG_MPDATA 0x8001 /* Monitor Port Data */
127 #define FFBDAC_CFG_MPSENSE 0x8002 /* Monitor Port Sense */
128
129 /* Pixel PLL Control Register */
130 #define FFBDAC_CFG_PPLLCTRL_M 0x0000007f /* PLL VCO Multiplicand */
131 #define FFBDAC_CFG_PPLLCTRL_D 0x00000780 /* PLL VCO Divisor */
132 #define FFBDAC_CFG_PPLLCTRL_PFD 0x00001800 /* Post VCO Frequency Divider */
133 #define FFBDAC_CFG_PPLLCTRL_EN 0x00004000 /* Enable PLL as pixel clock src */
134
135 /* General Purpose PLL Control Register */
136 #define FFBDAC_CFG_GPLLCTRL_M 0x0000007f /* PLL VCO Multiplicand */
137 #define FFBDAC_CFG_GPLLCTRL_D 0x00000780 /* PLL VCO Divisor */
138 #define FFBDAC_CFG_GPLLCTRL_PFD 0x00001800 /* Post VCO Frequency Divider */
139 #define FFBDAC_CFG_GPLLCTRL_EN 0x00004000 /* Enable PLL as Gen. Purpose clk*/
140
141 /* Pixel Format Control Register */
142 #define FFBDAC_CFG_PFCTRL_2_1 0x00000000 /* 2:1 pixel interleave format */
143 #define FFBDAC_CFG_PFCTRL_4_1 0x00000001 /* 4:1 pixel interleave format */
144 #define FFBDAC_CFG_PFCTRL_42_1 0x00000002 /* 4/2:1 pixel interleave format */
145 #define FFBDAC_CFG_PFCTRL_82_1 0x00000003 /* 8/2:1 pixel interleave format */
146
147 /* User Control Register */
148 #define FFBDAC_UCTRL_IPDISAB 0x00000001 /* Disable input pullup resistors*/
149 #define FFBDAC_UCTRL_ABLANK 0x00000002 /* Asynchronous Blank */
150 #define FFBDAC_UCTRL_DBENAB 0x00000004 /* Double-Buffer Enable */
151 #define FFBDAC_UCTRL_OVENAB 0x00000008 /* Overlay Enable */
152 #define FFBDAC_UCTRL_WMODE 0x00000030 /* Window Mode */
153 #define FFBDAC_UCTRL_WM_COMB 0x00000000 /* Window Mode = Combined */
154 #define FFBDAC_UCTRL_WM_S4 0x00000010 /* Window Mode = Seperate_4 */
155 #define FFBDAC_UCTRL_WM_S8 0x00000020 /* Window Mode = Seperate_8 */
156 #define FFBDAC_UCTRL_WM_RESV 0x00000030 /* Window Mode = reserved */
157 #define FFBDAC_UCTRL_MANREV 0x00000f00 /* 4-bit Manufacturing Revision */
158
159 /* Overlay Window Lookup Registers (PAC2 only) */
160 #define FFBDAC_CFG_OVWLUT_PSEL 0x0000000f /* Palette Section, Seperate_4 */
161 #define FFBDAC_CFG_OVWLUT_PTBL 0x00000030 /* Palette Table */
162 #define FFBDAC_CFG_OVWLUT_LKUP 0x00000100 /* 1 = Use palette, 0 = Bypass */
163 #define FFBDAC_CFG_OVWLUT_OTYP 0x00000c00 /* Overlay Type */
164 #define FFBDAC_CFG_OVWLUT_O_N 0x00000000 /* Overlay Type - None */
165 #define FFBDAC_CFG_OVWLUT_O_T 0x00000400 /* Overlay Type - Transparent */
166 #define FFBDAC_CFG_OVWLUT_O_O 0x00000800 /* Overlay Type - Opaque */
167 #define FFBDAC_CFG_OVWLUT_O_R 0x00000c00 /* Overlay Type - Reserved */
168 #define FFBDAC_CFG_OVWLUT_PCS 0x00003000 /* Psuedocolor Src */
169 #define FFBDAC_CFG_OVWLUT_P_XO 0x00000000 /* Psuedocolor Src - XO[7:0] */
170 #define FFBDAC_CFG_OVWLUT_P_R 0x00001000 /* Psuedocolor Src - R[7:0] */
171 #define FFBDAC_CFG_OVWLUT_P_G 0x00002000 /* Psuedocolor Src - G[7:0] */
172 #define FFBDAC_CFG_OVWLUT_P_B 0x00003000 /* Psuedocolor Src - B[7:0] */
173
174 /* Window Transfer Control Register */
175 #define FFBDAC_CFG_WTCTRL_DS 0x00000001 /* Device Status, 1 = Busy */
176 #define FFBDAC_CFG_WTCTRL_TCMD 0x00000002 /* Transfer Command
177 * 1 = Transfer, 0 = No Action
178 */
179 #define FFBDAC_CFG_WTCTRL_TE 0x00000004 /* Transfer Event
180 * 1 = Next Frame, 0 = Next Field
181 */
182 #define FFBDAC_CFG_WTCTRL_DRD 0x00000008 /* Drawing Data
183 * 1 = Local Drawing Active
184 * 0 = Local Drawing Idle
185 */
186 #define FFBDAC_CFG_WTCTRL_DRS 0x00000010 /* Drawing Status
187 * 1 = Network Drawing Active
188 * 0 = Network Drawing Idle
189 */
190
191 /* Transparent Mask Control Register */
192 #define FFBDAC_CFG_TMCTRL_OMSK 0x000000ff /* Overlay Mask */
193
194 /* Transparent Color Key Register */
195 #define FFBDAC_CFG_TCOLORKEY_K 0x000000ff /* Overlay Color Key */
196
197 /* Window Address Mask Register (PAC2 only) */
198 #define FFBDAC_CFG_WAMASK_PMSK 0x0000003f /* PWLUT select PMASK */
199 #define FFBDAC_CFG_WAMASK_OMSK 0x00000300 /* OWLUT control OMASK */
200
201 /* (non-Overlay) Window Lookup Table Registers, PAC1 format */
202 #define FFBDAC_PAC1_WLUT_DB 0x00000020 /* 0 = Buffer A, 1 = Buffer B */
203 #define FFBDAC_PAC1_WLUT_C 0x0000001c /* C: Color Model Selection */
204 #define FFBDAC_PAC1_WLUT_C_8P 0x00000000 /* C: 8bpp Pseudocolor */
205 #define FFBDAC_PAC1_WLUT_C_8LG 0x00000004 /* C: 8bpp Linear Grey */
206 #define FFBDAC_PAC1_WLUT_C_8NG 0x00000008 /* C: 8bpp Non-Linear Grey */
207 #define FFBDAC_PAC1_WLUT_C_24D 0x00000010 /* C: 24bpp Directcolor */
208 #define FFBDAC_PAC1_WLUT_C_24LT 0x00000014 /* C: 24bpp Linear Truecolor */
209 #define FFBDAC_PAC1_WLUT_C_24NT 0x00000018 /* C: 24bpp Non-Linear Truecolor */
210 #define FFBDAC_PAC1_WLUT_PCS 0x00000003 /* Pseudocolor Src */
211 #define FFBDAC_PAC1_WLUT_P_XO 0x00000000 /* Pseudocolor Src - XO[7:0] */
212 #define FFBDAC_PAC1_WLUT_P_R 0x00000001 /* Pseudocolor Src - R[7:0] */
213 #define FFBDAC_PAC1_WLUT_P_G 0x00000002 /* Pseudocolor Src - G[7:0] */
214 #define FFBDAC_PAC1_WLUT_P_B 0x00000003 /* Pseudocolor Src - B[7:0] */
215
216 /* (non-Overlay) Window Lookup Table Registers, PAC2 format */
217 #define FFBDAC_PAC2_WLUT_PTBL 0x00000030 /* Palette Table Entry */
218 #define FFBDAC_PAC2_WLUT_LKUP 0x00000100 /* 1 = Use palette, 0 = Bypass */
219 #define FFBDAC_PAC2_WLUT_PCS 0x00003000 /* Pseudocolor Src */
220 #define FFBDAC_PAC2_WLUT_P_XO 0x00000000 /* Pseudocolor Src - XO[7:0] */
221 #define FFBDAC_PAC2_WLUT_P_R 0x00001000 /* Pseudocolor Src - R[7:0] */
222 #define FFBDAC_PAC2_WLUT_P_G 0x00002000 /* Pseudocolor Src - G[7:0] */
223 #define FFBDAC_PAC2_WLUT_P_B 0x00003000 /* Pseudocolor Src - B[7:0] */
224 #define FFBDAC_PAC2_WLUT_DEPTH 0x00004000 /* 0 = Pseudocolor, 1 = Truecolor*/
225 #define FFBDAC_PAC2_WLUT_DB 0x00008000 /* 0 = Buffer A, 1 = Buffer B */
226
227 /* Signature Analysis Control Register */
228 #define FFBDAC_CFG_SANAL_SRR 0x000000ff /* DAC Seed/Result for Red */
229 #define FFBDAC_CFG_SANAL_SRG 0x0000ff00 /* DAC Seed/Result for Green */
230 #define FFBDAC_CFG_SANAL_SRB 0x00ff0000 /* DAC Seed/Result for Blue */
231 #define FFBDAC_CFG_SANAL_RQST 0x01000000 /* Signature Capture Request */
232 #define FFBDAC_CFG_SANAL_BSY 0x02000000 /* Signature Analysis Busy */
233 #define FFBDAC_CFG_SANAL_DSM 0x04000000 /* Data Strobe Mode
234 * 0 = Signature Analysis Mode
235 * 1 = Data Strobe Mode
236 */
237
238 /* DAC Control Register */
239 #define FFBDAC_CFG_DACCTRL_O2 0x00000003 /* Operand 2 Select
240 * 00 = Normal Operation
241 * 01 = Select 145mv Reference
242 * 10 = Select Blue DAC Output
243 * 11 = Reserved
244 */
245 #define FFBDAC_CFG_DACCTRL_O1 0x0000000c /* Operand 1 Select
246 * 00 = Normal Operation
247 * 01 = Select Green DAC Output
248 * 10 = Select Red DAC Output
249 * 11 = Reserved
250 */
251 #define FFBDAC_CFG_DACCTRL_CR 0x00000010 /* Comparator Result
252 * 0 = operand1 < operand2
253 * 1 = operand1 > operand2
254 */
255 #define FFBDAC_CFG_DACCTRL_SGE 0x00000020 /* Sync-on-Green Enable */
256 #define FFBDAC_CFG_DACCTRL_PE 0x00000040 /* Pedestal Enable */
257 #define FFBDAC_CFG_DACCTRL_VPD 0x00000080 /* VSYNC* Pin Disable */
258 #define FFBDAC_CFG_DACCTRL_SPB 0x00000100 /* Sync Polarity Bit
259 * 0 = VSYNC* and CSYNC* active low
260 * 1 = VSYNC* and CSYNC* active high
261 */
262
263 /* Timing Generator Control Register */
264 #define FFBDAC_CFG_TGEN_VIDE 0x00000001 /* Video Enable */
265 #define FFBDAC_CFG_TGEN_TGE 0x00000002 /* Timing Generator Enable */
266 #define FFBDAC_CFG_TGEN_HSD 0x00000004 /* HSYNC* Disabled */
267 #define FFBDAC_CFG_TGEN_VSD 0x00000008 /* VSYNC* Disabled */
268 #define FFBDAC_CFG_TGEN_EQD 0x00000010 /* Equalization Disabled */
269 #define FFBDAC_CFG_TGEN_MM 0x00000020 /* 0 = Slave, 1 = Master */
270 #define FFBDAC_CFG_TGEN_IM 0x00000040 /* 1 = Interlaced Mode */
271
272 /* Device Identification Register, should be 0xA236E1AD for FFB bt497/bt498 */
273 #define FFBDAC_CFG_DID_ONE 0x00000001 /* Always set */
274 #define FFBDAC_CFG_DID_MANUF 0x00000ffe /* Manufacturer ID */
275 #define FFBDAC_CFG_DID_PNUM 0x0ffff000 /* Device Part Number */
276 #define FFBDAC_CFG_DID_REV 0xf0000000 /* Device Revision */
277
278 /* Monitor Port Data Register */
279 #define FFBDAC_CFG_MPDATA_SCL 0x00000001 /* SCL Data */
280 #define FFBDAC_CFG_MPDATA_SDA 0x00000002 /* SDA Data */
281
282 /* Monitor Port Sense Register */
283 #define FFBDAC_CFG_MPSENSE_SCL 0x00000001 /* SCL Sense */
284 #define FFBDAC_CFG_MPSENSE_SDA 0x00000002 /* SDA Sense */
285
286 /* DAC register access shorthands. */
287 #define DACCUR_READ(DAC, ADDR) ((DAC)->cur = (ADDR), (DAC)->curdata)
288 #define DACCUR_WRITE(DAC, ADDR, VAL) ((DAC)->cur = (ADDR), (DAC)->curdata = (VAL))
289 #define DACCFG_READ(DAC, ADDR) ((DAC)->cfg = (ADDR), (DAC)->cfgdata)
290 #define DACCFG_WRITE(DAC, ADDR, VAL) ((DAC)->cfg = (ADDR), (DAC)->cfgdata = (VAL))
291
292 typedef struct ffb_dac_hwstate {
293 unsigned int ppllctrl;
294 unsigned int gpllctrl;
295 unsigned int pfctrl;
296 unsigned int uctrl;
297 unsigned int clut[256 * 4]; /* One 256 entry clut on PAC1, 4 on PAC2 */
298 unsigned int ovluts[4]; /* Overlay WLUTS, PAC2 only */
299 unsigned int wtctrl;
300 unsigned int tmctrl;
301 unsigned int tcolorkey;
302 unsigned int wamask;
303 unsigned int pwluts[64];
304 unsigned int dacctrl;
305 unsigned int tgen;
306 unsigned int vbnp;
307 unsigned int vbap;
308 unsigned int vsnp;
309 unsigned int vsap;
310 unsigned int hsnp;
311 unsigned int hbnp;
312 unsigned int hbap;
313 unsigned int hsyncnp;
314 unsigned int hsyncap;
315 unsigned int hscennp;
316 unsigned int hscenap;
317 unsigned int epnp;
318 unsigned int einp;
319 unsigned int eiap;
320 } ffb_dac_hwstate_t;
321
322 typedef struct {
323 Bool InUse;
324
325 /* The following fields are undefined unless InUse is TRUE. */
326 int refcount;
327 Bool canshare;
328 unsigned int wlut_regval;
329 int buffer; /* 0 = Buffer A, 1 = Buffer B */
330 int depth; /* 8 or 32 bpp */
331 int greyscale; /* 1 = greyscale, 0 = color */
332 int linear; /* 1 = linear, 0 = non-linear */
333 int direct; /* 1 = 24bpp directcolor */
334 int channel; /* 0 = X, 1 = R, 2 = G, 3 = B */
335 int palette; /* Only PAC2 has multiple CLUTs */
336 } ffb_wid_info_t;
337
338 #define FFB_MAX_PWIDS 64
339 typedef struct {
340 int num_wids;
341 int wid_shift; /* To get X channel value */
342 ffb_wid_info_t wid_pool[FFB_MAX_PWIDS];
343 } ffb_wid_pool_t;
344
345 typedef struct ffb_dac_info {
346 unsigned int flags;
347 #define FFB_DAC_PAC1 0x00000001 /* Pacifica1 DAC, BT9068 */
348 #define FFB_DAC_PAC2 0x00000002 /* Pacifica2 DAC, BT498 */
349 #define FFB_DAC_ICURCTL 0x00000004 /* Inverted CUR_CTRL bits */
350
351 unsigned int kernel_wid;
352
353 /* These registers need to be modified when changing DAC
354 * timing state, so at init time we capture their values.
355 */
356 unsigned int ffbcfg0;
357 unsigned int ffbcfg2;
358 unsigned int ffb_passin_ctrl; /* FFB2+/AFB only */
359
360 ffb_dac_hwstate_t kern_dac_state;
361 ffb_dac_hwstate_t x_dac_state;
362
363 ffb_wid_pool_t wid_table;
364 } ffb_dac_info_t;
365
366 #endif /* _FFB_DAC_H */