Kenji Toyama | 2dbe71c | 2011-04-23 16:14:34 +0800 | [diff] [blame] | 1 | #ifndef _VBSETMODE_ |
| 2 | #define _VBSETMODE_ |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 3 | |
Kenji Toyama | 2dbe71c | 2011-04-23 16:14:34 +0800 | [diff] [blame] | 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); |
| 35 | |
| 36 | extern unsigned char XGISetModeNew(struct xgi_hw_device_info *HwDeviceExtension, |
| 37 | unsigned short ModeNo) ; |
| 38 | |
| 39 | extern unsigned char XGI_SearchModeID(unsigned short ModeNo, |
| 40 | unsigned short *ModeIdIndex, |
Bill Pemberton | 80adad8 | 2010-06-17 13:10:51 -0400 | [diff] [blame] | 41 | struct vb_device_info *); |
Kenji Toyama | 2dbe71c | 2011-04-23 16:14:34 +0800 | [diff] [blame] | 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 *); |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 46 | |
Kenji Toyama | 2dbe71c | 2011-04-23 16:14:34 +0800 | [diff] [blame] | 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 *); |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 55 | |
Kenji Toyama | 2dbe71c | 2011-04-23 16:14:34 +0800 | [diff] [blame] | 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); |
apatard@mandriva.com | d7636e0 | 2010-05-19 10:44:14 +0200 | [diff] [blame] | 70 | |
| 71 | #endif |