Lines Matching refs:rect
827 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga_8planes_fillrect() argument
829 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect()
838 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
840 if (rect->rop == ROP_COPY) { in vga_8planes_fillrect()
848 height = rect->height; in vga_8planes_fillrect()
855 writeb(rect->color, where); in vga_8planes_fillrect()
867 for (y = 0; y < rect->height; y++) { in vga_8planes_fillrect()
881 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in vga16fb_fillrect() argument
889 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
895 x2 = rect->dx + rect->width; in vga16fb_fillrect()
896 y2 = rect->dy + rect->height; in vga16fb_fillrect()
899 width = x2 - rect->dx; in vga16fb_fillrect()
905 height = y2 - rect->dy; in vga16fb_fillrect()
906 width = rect->width/8; in vga16fb_fillrect()
909 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
911 switch (rect->rop) { in vga16fb_fillrect()
916 setcolor(rect->color); in vga16fb_fillrect()
947 vga_8planes_fillrect(info, rect); in vga16fb_fillrect()
951 cfb_fillrect(info, rect); in vga16fb_fillrect()