Lines Matching defs:rect
380 static void s3fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
382 u32 fg = expand_color(rect->color);
387 dst1 = info->screen_base + (rect->dy * info->fix.line_length)
388 + ((rect->dx / 8) * 4);
390 for (y = 0; y < rect->height; y++) {
392 for (x = 0; x < rect->width; x += 8) {
447 static void s3fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
450 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0)
452 s3fb_iplan_fillrect(info, rect);
454 cfb_fillrect(info, rect);