Last change
on this file since 68495 was 51223, checked in by vboxsync, 11 years ago |
Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.
|
-
Property svn:eol-style
set to
native
|
File size:
688 bytes
|
Line | |
---|
1 | /* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/TIPriv.h,v 1.2 1998/07/25 16:57:19 dawes Exp $ */
|
---|
2 |
|
---|
3 | #ifdef HAVE_XORG_CONFIG_H
|
---|
4 | #include <xorg-config.h>
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #include "TI.h"
|
---|
8 |
|
---|
9 | typedef struct {
|
---|
10 | char *DeviceName;
|
---|
11 | } xf86TIramdacInfo;
|
---|
12 |
|
---|
13 | extern xf86TIramdacInfo TIramdacDeviceInfo[];
|
---|
14 |
|
---|
15 | #ifdef INIT_TI_RAMDAC_INFO
|
---|
16 | xf86TIramdacInfo TIramdacDeviceInfo[] = {
|
---|
17 | {"TI TVP3030"},
|
---|
18 | {"TI TVP3026"}
|
---|
19 | };
|
---|
20 | #endif
|
---|
21 |
|
---|
22 | #define TISAVE(_reg) do { \
|
---|
23 | ramdacReg->DacRegs[_reg] = (*ramdacPtr->ReadDAC)(pScrn, _reg); \
|
---|
24 | } while (0)
|
---|
25 |
|
---|
26 | #define TIRESTORE(_reg) do { \
|
---|
27 | (*ramdacPtr->WriteDAC)(pScrn, _reg, \
|
---|
28 | (ramdacReg->DacRegs[_reg] & 0xFF00) >> 8, \
|
---|
29 | ramdacReg->DacRegs[_reg]); \
|
---|
30 | } while (0)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.