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