Lines Matching full:area
109 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
149 void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in dnfb_copyarea() argument
157 incr = (area->dy <= area->sy) ? 1 : -1; in dnfb_copyarea()
159 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea()
160 (area->sx >> 4)); in dnfb_copyarea()
161 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
164 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea()
165 x_end = area->dx + area->width - 1; in dnfb_copyarea()
166 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea()
167 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea()
170 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea()
171 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea()
174 y_delta = -((info->fix.line_length * 8) - area->sx - area->width); in dnfb_copyarea()
175 x_end = area->dx - area->width + 1; in dnfb_copyarea()
176 x_word_count = (area->dx >> 4) - (x_end >> 4) + 1; in dnfb_copyarea()
177 start_mask = 0x7ffff >> (area->dx & 0xf); in dnfb_copyarea()
180 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea()
182 if ((area->dx & 0xf) > (area->sx & 0xf)) in dnfb_copyarea()
186 for (i = 0; i < area->height; i++) { in dnfb_copyarea()