~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/xgifb/vb_ext.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef  _VBEXT_
2
 
#define  _VBEXT_
 
1
#ifndef _VBEXT_
 
2
#define _VBEXT_
3
3
 
4
4
struct DWORDREGS {
5
 
    unsigned long    Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp;
 
5
        unsigned long Eax, Ebx, Ecx, Edx, Esi, Edi, Ebp;
6
6
};
7
7
 
8
8
struct WORDREGS {
9
 
    unsigned short ax, hi_ax, bx, hi_bx, cx, hi_cx, dx, hi_dx, si,
10
 
            hi_si, di, hi_di, bp, hi_bp;
 
9
        unsigned short  ax, hi_ax, bx, hi_bx, cx, hi_cx, dx, hi_dx, si,
 
10
                        hi_si, di, hi_di, bp, hi_bp;
11
11
};
12
12
 
13
13
struct BYTEREGS {
14
 
     unsigned char al, ah, hi_al, hi_ah, bl, bh, hi_bl, hi_bh, cl, ch,
15
 
             hi_cl, hi_ch, dl, dh, hi_dl, hi_dh;
 
14
        unsigned char   al, ah, hi_al, hi_ah, bl, bh, hi_bl, hi_bh, cl, ch,
 
15
                        hi_cl, hi_ch, dl, dh, hi_dl, hi_dh;
16
16
};
17
17
 
18
 
typedef union   _X86_REGS    {
19
 
    struct  DWORDREGS e;
20
 
    struct  WORDREGS x;
21
 
    struct  BYTEREGS h;
 
18
typedef union _X86_REGS {
 
19
        struct  DWORDREGS e;
 
20
        struct  WORDREGS x;
 
21
        struct  BYTEREGS h;
22
22
} X86_REGS, *PX86_REGS;
23
23
 
24
 
extern   void     XGI_XG21Fun14(struct xgi_hw_device_info *pXGIHWDE, PX86_REGS pBiosArguments);
25
 
extern void XGISetDPMS(struct xgi_hw_device_info *pXGIHWDE,
26
 
                       unsigned long VESA_POWER_STATE);
27
 
extern   void     XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo);
28
 
extern   void     XGINew_SetModeScratch(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) ;
29
 
extern void ReadVBIOSTablData(unsigned char ChipType,
30
 
                              struct vb_device_info *pVBInfo);
 
24
extern void XGI_GetSenseStatus(struct xgi_hw_device_info *HwDeviceExtension,
 
25
                               struct vb_device_info *pVBInfo);
31
26
extern unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *,
32
27
                                      struct vb_device_info *pVBInfo);
33
28