Lines Matching refs:fix
239 info->fix.type = FB_TYPE_PACKED_PIXELS; in vga16fb_update_fix()
240 info->fix.line_length = info->var.xres_virtual / 2; in vga16fb_update_fix()
242 info->fix.type = FB_TYPE_VGA_PLANES; in vga16fb_update_fix()
243 info->fix.type_aux = FB_AUX_VGA_PLANES_VGA4; in vga16fb_update_fix()
244 info->fix.line_length = info->var.xres_virtual / 8; in vga16fb_update_fix()
247 info->fix.type = FB_TYPE_TEXT; in vga16fb_update_fix()
248 info->fix.type_aux = FB_AUX_TEXT_CGA; in vga16fb_update_fix()
249 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
252 info->fix.type = FB_TYPE_VGA_PLANES; in vga16fb_update_fix()
253 info->fix.type_aux = FB_AUX_VGA_PLANES_CFB8; in vga16fb_update_fix()
254 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
256 info->fix.type = FB_TYPE_PACKED_PIXELS; in vga16fb_update_fix()
257 info->fix.line_length = info->var.xres_virtual; in vga16fb_update_fix()
855 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
862 line_ofs = info->fix.line_length - width; in vga_8planes_fillrect()
887 where += info->fix.line_length; in vga_8planes_fillrect()
918 switch (info->fix.type) { in vga16fb_fillrect()
920 if (info->fix.type_aux == FB_AUX_VGA_PLANES_VGA4) { in vga16fb_fillrect()
925 line_ofs = info->fix.line_length - width; in vga16fb_fillrect()
926 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
991 line_ofs = info->fix.line_length - width; in vga_8planes_copyarea()
992 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
993 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
1005 line_ofs = info->fix.line_length - width; in vga_8planes_copyarea()
1007 (area->dy + height - 1) * info->fix.line_length; in vga_8planes_copyarea()
1009 (area->sy + height - 1) * info->fix.line_length; in vga_8planes_copyarea()
1071 switch (info->fix.type) { in vga16fb_copyarea()
1073 if (info->fix.type_aux == FB_AUX_VGA_PLANES_VGA4) { in vga16fb_copyarea()
1075 line_ofs = info->fix.line_length - width; in vga16fb_copyarea()
1082 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea()
1083 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
1096 (dy + height - 1) * info->fix.line_length; in vga16fb_copyarea()
1098 (sy + height - 1) * info->fix.line_length; in vga16fb_copyarea()
1147 where = info->screen_base + dx + image->dy * info->fix.line_length; in vga_8planes_imageblit()
1156 for (y = 0; y < image->height; y++, where += info->fix.line_length) in vga_8planes_imageblit()
1168 image->dy * info->fix.line_length; in vga_imageblit_expand()
1174 switch (info->fix.type) { in vga_imageblit_expand()
1176 if (info->fix.type_aux == FB_AUX_VGA_PLANES_VGA4) { in vga_imageblit_expand()
1194 where += info->fix.line_length; in vga_imageblit_expand()
1216 where += info->fix.line_length; in vga_imageblit_expand()
1236 info->screen_base + image->dy * info->fix.line_length + in vga_imageblit_color()
1242 switch (info->fix.type) { in vga_imageblit_color()
1244 if (info->fix.type_aux == FB_AUX_VGA_PLANES_VGA4 && in vga_imageblit_color()
1262 where += info->fix.line_length; in vga_imageblit_color()
1359 info->fix = vga16fb_fix; in vga16fb_probe()
1389 fb_info(info, "%s frame buffer device\n", info->fix.id); in vga16fb_probe()