5 #define MASK_DISPTYPE_CRT2 0x04 /* Connect CRT2 */
6 #define MASK_DISPTYPE_LCD 0x02 /* Connect LCD */
7 #define MASK_DISPTYPE_TV 0x01 /* Connect TV */
8 #define MASK_DISPTYPE_DISP2 (MASK_DISPTYPE_LCD | MASK_DISPTYPE_TV | MASK_DISPTYPE_CRT2)
10 #define DISPTYPE_CRT1 0x00000008L
11 #define DISPTYPE_CRT2 0x00000004L
12 #define DISPTYPE_LCD 0x00000002L
13 #define DISPTYPE_TV 0x00000001L
14 #define DISPTYPE_DISP1 DISPTYPE_CRT1
15 #define DISPTYPE_DISP2 (DISPTYPE_CRT2 | DISPTYPE_LCD | DISPTYPE_TV)
16 #define DISPMODE_SINGLE 0x00000020L
17 #define DISPMODE_MIRROR 0x00000010L
18 #define DISPMODE_DUALVIEW 0x00000040L
23 #define HASVB_TRUMPION 3
24 #define HASVB_LVDS_CHRONTEL 4
25 #define HASVB_LVDS_ALL (HASVB_LVDS | HASVB_TRUMPION | HASVB_LVDS_CHRONTEL)
75 struct mode_info minfo
;
77 unsigned int mem_size
;
78 unsigned long disp_state
;
88 unsigned int video_size
;
89 unsigned long video_base
;
91 unsigned long mmio_base
;
93 unsigned long vga_base
;
103 unsigned int refresh_rate
;
106 unsigned long disp_state
;
108 unsigned char TV_type
;
109 unsigned char TV_plug
;
113 extern struct video_info ivideo
;
115 extern void sis_malloc(struct sis_memreq
*req
);
116 extern void sis_free(unsigned long base
);