include upstream ip1000a driver version 2.09f
[linux-2.4.git] / include / video / fbcon-vga-planes.h
1 /*
2  *  FBcon low-level driver for VGA 4-plane modes
3  */
4
5 #ifndef _VIDEO_FBCON_VGA_PLANES_H
6 #define _VIDEO_FBCON_VGA_PLANES_H
7
8 #include <linux/config.h>
9
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
19
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);
36
37 #endif /* _VIDEO_FBCON_VGA_PLANES_H */