Lines Matching refs:rect
843 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga_8planes_fillrect() argument
845 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect()
854 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
856 if (rect->rop == ROP_COPY) { in vga_8planes_fillrect()
864 height = rect->height; in vga_8planes_fillrect()
871 writeb(rect->color, where); in vga_8planes_fillrect()
883 for (y = 0; y < rect->height; y++) { in vga_8planes_fillrect()
897 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga16fb_fillrect() argument
905 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
911 x2 = rect->dx + rect->width; in vga16fb_fillrect()
912 y2 = rect->dy + rect->height; in vga16fb_fillrect()
915 width = x2 - rect->dx; in vga16fb_fillrect()
921 height = y2 - rect->dy; in vga16fb_fillrect()
922 width = rect->width/8; in vga16fb_fillrect()
925 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
927 switch (rect->rop) { in vga16fb_fillrect()
932 setcolor(rect->color); in vga16fb_fillrect()
963 vga_8planes_fillrect(info, rect); in vga16fb_fillrect()
967 cfb_fillrect(info, rect); in vga16fb_fillrect()