1/*
2 *  FBcon low-level driver for Atari interleaved bitplanes (2 planes) (iplan2p2)
3 */
4
5#ifndef _VIDEO_FBCON_IPLAN2P2_H
6#define _VIDEO_FBCON_IPLAN2P2_H
7
8#include <linux/config.h>
9
10#ifdef MODULE
11#if defined(CONFIG_FBCON_IPLAN2P2) || defined(CONFIG_FBCON_IPLAN2P2_MODULE)
12#define FBCON_HAS_IPLAN2P2
13#endif
14#else
15#if defined(CONFIG_FBCON_IPLAN2P2)
16#define FBCON_HAS_IPLAN2P2
17#endif
18#endif
19
20extern struct display_switch fbcon_iplan2p2;
21extern void fbcon_iplan2p2_setup(struct display *p);
22extern void fbcon_iplan2p2_bmove(struct display *p, int sy, int sx, int dy,
23				 int dx, int height, int width);
24extern void fbcon_iplan2p2_clear(struct vc_data *conp, struct display *p,
25				 int sy, int sx, int height, int width);
26extern void fbcon_iplan2p2_putc(struct vc_data *conp, struct display *p, int c,
27				int yy, int xx);
28extern void fbcon_iplan2p2_putcs(struct vc_data *conp, struct display *p,
29				 const unsigned short *s, int count, int yy, int xx);
30extern void fbcon_iplan2p2_revc(struct display *p, int xx, int yy);
31
32#endif /* _VIDEO_FBCON_IPLAN2P2_H */
33