162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _VIDEO_ATAFB_H
362306a36Sopenharmony_ci#define _VIDEO_ATAFB_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_civoid atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
662306a36Sopenharmony_ci			int dx, int height, int width);
762306a36Sopenharmony_civoid atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
862306a36Sopenharmony_ci			int sy, int sx, int height, int width);
962306a36Sopenharmony_civoid atafb_mfb_linefill(struct fb_info *info, u_long next_line,
1062306a36Sopenharmony_ci			int dy, int dx, u32 width,
1162306a36Sopenharmony_ci			const u8 *data, u32 bgcolor, u32 fgcolor);
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_civoid atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
1462306a36Sopenharmony_ci			     int dx, int height, int width);
1562306a36Sopenharmony_civoid atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
1662306a36Sopenharmony_ci			     int sy, int sx, int height, int width);
1762306a36Sopenharmony_civoid atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line,
1862306a36Sopenharmony_ci			     int dy, int dx, u32 width,
1962306a36Sopenharmony_ci			     const u8 *data, u32 bgcolor, u32 fgcolor);
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_civoid atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
2262306a36Sopenharmony_ci			     int dx, int height, int width);
2362306a36Sopenharmony_civoid atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
2462306a36Sopenharmony_ci			     int sy, int sx, int height, int width);
2562306a36Sopenharmony_civoid atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
2662306a36Sopenharmony_ci			     int dy, int dx, u32 width,
2762306a36Sopenharmony_ci			     const u8 *data, u32 bgcolor, u32 fgcolor);
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_civoid atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
3062306a36Sopenharmony_ci			     int dx, int height, int width);
3162306a36Sopenharmony_civoid atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color,
3262306a36Sopenharmony_ci			     int sy, int sx, int height, int width);
3362306a36Sopenharmony_civoid atafb_iplan2p8_linefill(struct fb_info *info, u_long next_line,
3462306a36Sopenharmony_ci			     int dy, int dx, u32 width,
3562306a36Sopenharmony_ci			     const u8 *data, u32 bgcolor, u32 fgcolor);
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci#endif /* _VIDEO_ATAFB_H */
38