VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/TIPriv.h@ 68495

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
9typedef struct {
10 char *DeviceName;
11} xf86TIramdacInfo;
12
13extern xf86TIramdacInfo TIramdacDeviceInfo[];
14
15#ifdef INIT_TI_RAMDAC_INFO
16xf86TIramdacInfo 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette