Lines Matching defs:rect
844 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
846 u32 dx = rect->dx, width = rect->width;
855 where = info->screen_base + dx + rect->dy * info->fix.line_length;
857 if (rect->rop == ROP_COPY) {
865 height = rect->height;
872 writeb(rect->color, where);
884 for (y = 0; y < rect->height; y++) {
898 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
906 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres)
912 x2 = rect->dx + rect->width;
913 y2 = rect->dy + rect->height;
916 width = x2 - rect->dx;
922 height = y2 - rect->dy;
923 width = rect->width/8;
926 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length;
928 switch (rect->rop) {
933 setcolor(rect->color);
964 vga_8planes_fillrect(info, rect);
968 cfb_fillrect(info, rect);