Go to the documentation of this file.
4 #include <linux/types.h>
27 #define TF_BUF_ESDI 0x02
28 #define TF_BUF_ESBX 0x04
29 #define TF_BUF_RET 0x08
40 #define VBE_CAP_CAN_SWITCH_DAC 0x01
41 #define VBE_CAP_VGACOMPAT 0x02
76 #define VBE_MODE_VGACOMPAT 0x20
77 #define VBE_MODE_COLOR 0x08
78 #define VBE_MODE_SUPPORTEDHW 0x01
79 #define VBE_MODE_GRAPHICS 0x10
80 #define VBE_MODE_LFB 0x80
82 #define VBE_MODE_MASK (VBE_MODE_COLOR | VBE_MODE_SUPPORTEDHW | \
83 VBE_MODE_GRAPHICS | VBE_MODE_LFB)
96 u16 bytes_per_scan_line;
121 u8 direct_color_info;
128 u16 lin_bytes_per_scan_line;
144 #define UVESAFB_DEFAULT_MODE "640x480-16"
147 #define UVESAFB_TIMEOUT 5000
150 #define UVESAFB_TASKS_MAX 16
152 #define dac_reg (0x3c8)
153 #define dac_val (0x3c9)
155 struct uvesafb_pal_entry {
159 struct uvesafb_ktask {
166 static int uvesafb_exec(
struct uvesafb_ktask *tsk);
168 #define UVESAFB_EXACT_RES 1
169 #define UVESAFB_EXACT_DEPTH 2
173 struct vbe_mode_ib *vbe_modes;
191 struct vbe_crtc_ib
crtc;