staging: Add framebuffer driver for XGI chipsets
[deliverable/linux.git] / drivers / staging / xgifb / vb_ext.h
CommitLineData
d7636e0b 1#ifndef _VBEXT_
2#define _VBEXT_
3
4struct DWORDREGS {
5 ULONG Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp;
6};
7
8struct WORDREGS {
9 USHORT ax, hi_ax, bx, hi_bx, cx, hi_cx, dx, hi_dx, si, hi_si, di ,hi_di, bp, hi_bp;
10};
11
12struct BYTEREGS {
13 UCHAR al, ah, hi_al, hi_ah, bl, bh, hi_bl, hi_bh, cl, ch, hi_cl, hi_ch, dl, dh, hi_dl, hi_dh;
14};
15
16typedef union _X86_REGS {
17 struct DWORDREGS e;
18 struct WORDREGS x;
19 struct BYTEREGS h;
20} X86_REGS, *PX86_REGS;
21
22extern void XGI_XG21Fun14( PXGI_HW_DEVICE_INFO pXGIHWDE, PX86_REGS pBiosArguments);
23extern void XGISetDPMS( PXGI_HW_DEVICE_INFO pXGIHWDE , ULONG VESA_POWER_STATE ) ;
24extern void XGI_GetSenseStatus( PXGI_HW_DEVICE_INFO HwDeviceExtension , PVB_DEVICE_INFO pVBInfo );
25extern void XGINew_SetModeScratch ( PXGI_HW_DEVICE_INFO HwDeviceExtension , PVB_DEVICE_INFO pVBInfo ) ;
26extern void ReadVBIOSTablData( UCHAR ChipType , PVB_DEVICE_INFO pVBInfo);
27extern USHORT XGINew_SenseLCD(PXGI_HW_DEVICE_INFO,PVB_DEVICE_INFO pVBInfo);
28#ifdef WIN2000
29extern BOOLEAN XGI_DySense( PHW_DEVICE_EXTENSION pHWDE , PUCHAR ujConnectStatus );
30#endif /* WIN2000 */
31
32#endif
This page took 0.027918 seconds and 5 git commands to generate.