Lines Matching defs:rect
846 static void vga_8planes_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
848 u32 dx = rect->dx, width = rect->width;
857 where = info->screen_base + dx + rect->dy * info->fix.line_length;
859 if (rect->rop == ROP_COPY) {
867 height = rect->height;
874 writeb(rect->color, where);
886 for (y = 0; y < rect->height; y++) {
900 static void vga16fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
908 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres)
914 x2 = rect->dx + rect->width;
915 y2 = rect->dy + rect->height;
918 width = x2 - rect->dx;
924 height = y2 - rect->dy;
925 width = rect->width/8;
928 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length;
930 switch (rect->rop) {
935 setcolor(rect->color);
966 vga_8planes_fillrect(info, rect);
970 cfb_fillrect(info, rect);