Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
XGIfb.h
Go to the documentation of this file.
1 #ifndef _LINUX_XGIFB
2 #define _LINUX_XGIFB
3 #include "vgatypes.h"
4 #include "vb_struct.h"
5 
11 };
12 
13 #define HASVB_NONE 0x00
14 #define HASVB_301 0x01
15 #define HASVB_LVDS 0x02
16 #define HASVB_TRUMPION 0x04
17 #define HASVB_LVDS_CHRONTEL 0x10
18 #define HASVB_302 0x20
19 #define HASVB_CHRONTEL 0x80
20 
22  XG40 = 32,
24  XG20 = 48,
27 };
28 
29 enum xgi_tvtype {
37 };
38 
50 };
51 
53  struct fb_info *fb_info;
56 
57  int mode_idx;
58  int rate_idx;
59 
61 
62  int chip_id;
63  unsigned int video_size;
67  unsigned long mmio_size;
69  unsigned long vga_base;
70  unsigned long mtrr;
71 
72  int video_bpp;
78  int org_x;
79  int org_y;
81  unsigned int refresh_rate;
82 
83  enum xgifb_display_type display2; /* the second display output type */
85  unsigned char hasVB;
86  unsigned char TV_type;
87  unsigned char TV_plug;
88 
90 
92  unsigned char revision_id;
93 
94  unsigned short DstColor;
95  unsigned long XGI310_AccelDepth;
96  unsigned long CommandReg;
97 
98  unsigned int pcibus;
99  unsigned int pcislot;
100  unsigned int pcifunc;
101 
102  unsigned short subsysvendor;
103  unsigned short subsysdevice;
104 
105  char reserved[236];
106 };
107 
108 #endif