VirtualBox

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

最後變更 在這個檔案從35393是 25078,由 vboxsync 提交於 15 年 前

Additions/x11/x11include: exported and set eol-style on new headers

  • 屬性 svn:eol-style 設為 native
檔案大小: 587 位元組
 
1
2#ifdef HAVE_XORG_CONFIG_H
3#include <xorg-config.h>
4#endif
5
6#include "TI.h"
7
8typedef struct {
9 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