* better
[mascara-docs.git] / i386 / linux-2.3.21 / include / video / fbcon-vga-planes.h
blob31578d41c58f720e5a71a9f90d79c14d0d9032d9
1 /*
2 * FBcon low-level driver for VGA 4-plane modes
3 */
5 #ifndef _VIDEO_FBCON_VGA_PLANES_H
6 #define _VIDEO_FBCON_VGA_PLANES_H
8 #include <linux/config.h>
10 #ifdef MODULE
11 #if defined(CONFIG_FBCON_VGA_PLANES) || defined(CONFIG_FBCON_VGA_PLANES_MODULE)
12 #define FBCON_HAS_VGA_PLANES
13 #endif
14 #else
15 #if defined(CONFIG_FBCON_VGA_PLANES)
16 #define FBCON_HAS_VGA_PLANES
17 #endif
18 #endif
20 extern struct display_switch fbcon_vga_planes;
21 extern struct display_switch fbcon_ega_planes;
22 extern void fbcon_vga_planes_setup(struct display *p);
23 extern void fbcon_vga_planes_bmove(struct display *p, int sy, int sx, int dy, int dx,
24 int height, int width);
25 extern void fbcon_vga_planes_clear(struct vc_data *conp, struct display *p, int sy,
26 int sx, int height, int width);
27 extern void fbcon_vga_planes_putc(struct vc_data *conp, struct display *p, int c,
28 int yy, int xx);
29 extern void fbcon_ega_planes_putc(struct vc_data *conp, struct display *p, int c,
30 int yy, int xx);
31 extern void fbcon_vga_planes_putcs(struct vc_data *conp, struct display *p,
32 const unsigned short *s, int count, int yy, int xx);
33 extern void fbcon_ega_planes_putcs(struct vc_data *conp, struct display *p,
34 const unsigned short *s, int count, int yy, int xx);
35 extern void fbcon_vga_planes_revc(struct display *p, int xx, int yy);
37 #endif /* _VIDEO_FBCON_VGA_PLANES_H */