Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / staging / xgifb / vb_setmode.h
blob1bd8667ff5cf24c31d208b193307ad2041a2ebcd
1 #ifndef _VBSETMODE_
2 #define _VBSETMODE_
4 extern void InitTo330Pointer(unsigned char, struct vb_device_info *);
5 extern void XGI_UnLockCRT2(struct xgi_hw_device_info *HwDeviceExtension,
6 struct vb_device_info *);
7 extern void XGI_LockCRT2(struct xgi_hw_device_info *HwDeviceExtension,
8 struct vb_device_info *);
9 extern void XGI_LongWait(struct vb_device_info *);
10 extern void XGI_SetCRT2ModeRegs(unsigned short ModeNo,
11 struct xgi_hw_device_info *,
12 struct vb_device_info *);
13 extern void XGI_DisableBridge(struct xgi_hw_device_info *HwDeviceExtension,
14 struct vb_device_info *);
15 extern void XGI_EnableBridge(struct xgi_hw_device_info *HwDeviceExtension,
16 struct vb_device_info *);
17 extern void XGI_DisplayOff(struct xgi_hw_device_info *,
18 struct vb_device_info *);
19 extern void XGI_DisplayOn(struct xgi_hw_device_info *,
20 struct vb_device_info *);
21 extern void XGI_GetVBType(struct vb_device_info *);
22 extern void XGI_SenseCRT1(struct vb_device_info *);
23 extern void XGI_GetVGAType(struct xgi_hw_device_info *HwDeviceExtension,
24 struct vb_device_info *);
25 extern void XGI_GetVBInfo(unsigned short ModeNo,
26 unsigned short ModeIdIndex,
27 struct xgi_hw_device_info *HwDeviceExtension,
28 struct vb_device_info *);
29 extern void XGI_GetTVInfo(unsigned short ModeNo,
30 unsigned short ModeIdIndex,
31 struct vb_device_info *);
32 extern unsigned short XGI_GetResInfo(unsigned short ModeNo,
33 unsigned short ModeIdIndex,
34 struct vb_device_info *pVBInfo);
36 extern unsigned char XGISetModeNew(struct xgi_hw_device_info *HwDeviceExtension,
37 unsigned short ModeNo) ;
39 extern unsigned char XGI_SearchModeID(unsigned short ModeNo,
40 unsigned short *ModeIdIndex,
41 struct vb_device_info *);
42 extern unsigned char XGI_GetLCDInfo(unsigned short ModeNo,
43 unsigned short ModeIdIndex,
44 struct vb_device_info *);
45 extern unsigned char XGI_BridgeIsOn(struct vb_device_info *);
47 extern unsigned char
48 XGI_SetCRT2Group301(unsigned short ModeNo,
49 struct xgi_hw_device_info *HwDeviceExtension,
50 struct vb_device_info *);
51 extern unsigned short XGI_GetRatePtrCRT2(struct xgi_hw_device_info *pXGIHWDE,
52 unsigned short ModeNo,
53 unsigned short ModeIdIndex,
54 struct vb_device_info *);
56 extern void XGI_SetXG21FPBits(struct vb_device_info *pVBInfo);
57 extern void XGI_SetXG27FPBits(struct vb_device_info *pVBInfo);
58 extern void XGI_XG21BLSignalVDD(unsigned short tempbh,
59 unsigned short tempbl,
60 struct vb_device_info *pVBInfo);
61 extern void XGI_XG27BLSignalVDD(unsigned short tempbh,
62 unsigned short tempbl,
63 struct vb_device_info *pVBInfo);
64 extern void XGI_XG21SetPanelDelay(unsigned short tempbl,
65 struct vb_device_info *pVBInfo);
66 extern unsigned char XGI_XG21CheckLVDSMode(unsigned short ModeNo,
67 unsigned short ModeIdIndex,
68 struct vb_device_info *pVBInfo);
69 extern unsigned short XGI_GetLVDSOEMTableIndex(struct vb_device_info *pVBInfo);
71 #endif