xref: /openbmc/linux/drivers/video/fbdev/atafb.h (revision a2cce7a9)
1 #ifndef _VIDEO_ATAFB_H
2 #define _VIDEO_ATAFB_H
3 
4 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
5 			int dx, int height, int width);
6 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
7 			int sy, int sx, int height, int width);
8 void atafb_mfb_linefill(struct fb_info *info, u_long next_line,
9 			int dy, int dx, u32 width,
10 			const u8 *data, u32 bgcolor, u32 fgcolor);
11 
12 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
13 			     int dx, int height, int width);
14 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
15 			     int sy, int sx, int height, int width);
16 void atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line,
17 			     int dy, int dx, u32 width,
18 			     const u8 *data, u32 bgcolor, u32 fgcolor);
19 
20 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
21 			     int dx, int height, int width);
22 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
23 			     int sy, int sx, int height, int width);
24 void atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
25 			     int dy, int dx, u32 width,
26 			     const u8 *data, u32 bgcolor, u32 fgcolor);
27 
28 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
29 			     int dx, int height, int width);
30 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color,
31 			     int sy, int sx, int height, int width);
32 void atafb_iplan2p8_linefill(struct fb_info *info, u_long next_line,
33 			     int dy, int dx, u32 width,
34 			     const u8 *data, u32 bgcolor, u32 fgcolor);
35 
36 #endif /* _VIDEO_ATAFB_H */
37