2 * This file is part of the coreboot project.
4 * File taken verbatim from the Linux xgifb driver (v3.18.5)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
19 extern void InitTo330Pointer(unsigned char, struct vb_device_info
*);
20 extern void XGI_UnLockCRT2(struct vb_device_info
*);
21 extern void XGI_LockCRT2(struct vb_device_info
*);
22 extern void XGI_DisplayOff(struct xgifb_video_info
*,
23 struct xgi_hw_device_info
*,
24 struct vb_device_info
*);
25 extern void XGI_GetVBType(struct vb_device_info
*);
26 extern void XGI_SenseCRT1(struct vb_device_info
*);
27 extern unsigned char XGISetModeNew(struct xgifb_video_info
*xgifb_info
,
28 struct xgi_hw_device_info
*HwDeviceExtension
,
29 unsigned short ModeNo
);
31 extern unsigned char XGI_SearchModeID(unsigned short ModeNo
,
32 unsigned short *ModeIdIndex
);
33 extern unsigned short XGI_GetRatePtrCRT2(struct xgi_hw_device_info
*pXGIHWDE
,
34 unsigned short ModeNo
,
35 unsigned short ModeIdIndex
,
36 struct vb_device_info
*);