18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _VIDEO_ATAFB_H
38c2ecf20Sopenharmony_ci#define _VIDEO_ATAFB_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_civoid atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
68c2ecf20Sopenharmony_ci			int dx, int height, int width);
78c2ecf20Sopenharmony_civoid atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
88c2ecf20Sopenharmony_ci			int sy, int sx, int height, int width);
98c2ecf20Sopenharmony_civoid atafb_mfb_linefill(struct fb_info *info, u_long next_line,
108c2ecf20Sopenharmony_ci			int dy, int dx, u32 width,
118c2ecf20Sopenharmony_ci			const u8 *data, u32 bgcolor, u32 fgcolor);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_civoid atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
148c2ecf20Sopenharmony_ci			     int dx, int height, int width);
158c2ecf20Sopenharmony_civoid atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
168c2ecf20Sopenharmony_ci			     int sy, int sx, int height, int width);
178c2ecf20Sopenharmony_civoid atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line,
188c2ecf20Sopenharmony_ci			     int dy, int dx, u32 width,
198c2ecf20Sopenharmony_ci			     const u8 *data, u32 bgcolor, u32 fgcolor);
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_civoid atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
228c2ecf20Sopenharmony_ci			     int dx, int height, int width);
238c2ecf20Sopenharmony_civoid atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
248c2ecf20Sopenharmony_ci			     int sy, int sx, int height, int width);
258c2ecf20Sopenharmony_civoid atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
268c2ecf20Sopenharmony_ci			     int dy, int dx, u32 width,
278c2ecf20Sopenharmony_ci			     const u8 *data, u32 bgcolor, u32 fgcolor);
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_civoid atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
308c2ecf20Sopenharmony_ci			     int dx, int height, int width);
318c2ecf20Sopenharmony_civoid atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color,
328c2ecf20Sopenharmony_ci			     int sy, int sx, int height, int width);
338c2ecf20Sopenharmony_civoid atafb_iplan2p8_linefill(struct fb_info *info, u_long next_line,
348c2ecf20Sopenharmony_ci			     int dy, int dx, u32 width,
358c2ecf20Sopenharmony_ci			     const u8 *data, u32 bgcolor, u32 fgcolor);
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#endif /* _VIDEO_ATAFB_H */
38