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