VirtualBox

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

最後變更 在這個檔案從61386是 45134,由 vboxsync 提交於 12 年 前

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

  • 屬性 svn:eol-style 設為 native
檔案大小: 602 位元組
 
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)
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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