Lines Matching defs:rect
376 static void s3fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
378 u32 fg = expand_color(rect->color);
383 dst1 = info->screen_base + (rect->dy * info->fix.line_length)
384 + ((rect->dx / 8) * 4);
386 for (y = 0; y < rect->height; y++) {
388 for (x = 0; x < rect->width; x += 8) {
443 static void s3fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
446 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0)
448 s3fb_iplan_fillrect(info, rect);
450 cfb_fillrect(info, rect);