Import 2.3.18pre1
[davej-history.git] / include / video / fbcon-cfb32.h
blobabac3baa2f37e1fdbff8547cf319092cfc8d8ef4
1 /*
2 * FBcon low-level driver for 32 bpp packed pixel (cfb32)
3 */
5 #ifndef _VIDEO_FBCON_CFB32_H
6 #define _VIDEO_FBCON_CFB32_H
8 #include <linux/config.h>
10 #ifdef MODULE
11 #if defined(CONFIG_FBCON_CFB32) || defined(CONFIG_FBCON_CFB32_MODULE)
12 #define FBCON_HAS_CFB32
13 #endif
14 #else
15 #if defined(CONFIG_FBCON_CFB32)
16 #define FBCON_HAS_CFB32
17 #endif
18 #endif
20 extern struct display_switch fbcon_cfb32;
21 extern void fbcon_cfb32_setup(struct display *p);
22 extern void fbcon_cfb32_bmove(struct display *p, int sy, int sx, int dy,
23 int dx, int height, int width);
24 extern void fbcon_cfb32_clear(struct vc_data *conp, struct display *p, int sy,
25 int sx, int height, int width);
26 extern void fbcon_cfb32_putc(struct vc_data *conp, struct display *p, int c,
27 int yy, int xx);
28 extern void fbcon_cfb32_putcs(struct vc_data *conp, struct display *p,
29 const unsigned short *s, int count, int yy, int xx);
30 extern void fbcon_cfb32_revc(struct display *p, int xx, int yy);
31 extern void fbcon_cfb32_clear_margins(struct vc_data *conp, struct display *p,
32 int bottom_only);
34 #endif /* _VIDEO_FBCON_CFB32_H */