Lines Matching defs:rect
377 static void s3fb_iplan_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
379 u32 fg = expand_color(rect->color);
384 dst1 = info->screen_base + (rect->dy * info->fix.line_length)
385 + ((rect->dx / 8) * 4);
387 for (y = 0; y < rect->height; y++) {
389 for (x = 0; x < rect->width; x += 8) {
444 static void s3fb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
447 && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0)
449 s3fb_iplan_fillrect(info, rect);
451 cfb_fillrect(info, rect);