VirtualBox

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

Last change on this file since 78293 was 58634, checked in by vboxsync, 9 years ago

Additions/x11: added header files for building X.Org video driver against X.Org Server 1.18.

  • Property svn:eol-style set to native
File size: 602 bytes
Line 
1
2#ifdef HAVE_XORG_CONFIG_H
3#include <xorg-config.h>
4#endif
5
6#include "TI.h"
7
8typedef struct {
9 const char *DeviceName;
10} xf86TIramdacInfo;
11
12extern xf86TIramdacInfo TIramdacDeviceInfo[];
13
14#ifdef INIT_TI_RAMDAC_INFO
15xf86TIramdacInfo TIramdacDeviceInfo[] = {
16 {"TI TVP3030"},
17 {"TI TVP3026"}
18};
19#endif
20
21#define TISAVE(_reg) do { \
22 ramdacReg->DacRegs[_reg] = (*ramdacPtr->ReadDAC)(pScrn, _reg); \
23} while (0)
24
25#define TIRESTORE(_reg) do { \
26 (*ramdacPtr->WriteDAC)(pScrn, _reg, \
27 (ramdacReg->DacRegs[_reg] & 0xFF00) >> 8, \
28 ramdacReg->DacRegs[_reg]); \
29} 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