File Index
Files and directories
Sign in
FILE

wmt_ge_rops.h

File preview with syntax highlighting.

linux-6.19.14/drivers/video/fbdev/wmt_ge_rops.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifdef CONFIG_FB_WMT_GE_ROPS
 3
 4extern void wmt_ge_fillrect(struct fb_info *info,
 5			    const struct fb_fillrect *rect);
 6extern void wmt_ge_copyarea(struct fb_info *info,
 7			    const struct fb_copyarea *area);
 8extern int wmt_ge_sync(struct fb_info *info);
 9
10#else
11
12static inline int wmt_ge_sync(struct fb_info *p)
13{
14	return 0;
15}
16
17static inline void wmt_ge_fillrect(struct fb_info *p,
18				    const struct fb_fillrect *rect)
19{
20	sys_fillrect(p, rect);
21}
22
23static inline void wmt_ge_copyarea(struct fb_info *p,
24				     const struct fb_copyarea *area)
25{
26	sys_copyarea(p, area);
27}
28
29#endif
~/ Read-only file preview.