Lines Matching refs:fix
165 if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len)
175 info->fix.visual = FB_VISUAL_TRUECOLOR;
177 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
179 info->fix.line_length = gx_line_delta(info->var.xres, info->var.bits_per_pixel);
203 if (info->fix.visual == FB_VISUAL_TRUECOLOR) {
266 info->fix.smem_start = pci_resource_start(dev, 0);
267 info->fix.smem_len = vram ? vram : gx_frame_buffer_size();
268 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len);
275 write_dc(par, DC_GLIU0_MEM_OFFSET, info->fix.smem_start & 0xFF000000);
278 info->fix.smem_len / 1024, info->fix.smem_start);
308 strcpy(info->fix.id, "Geode GX");
310 info->fix.type = FB_TYPE_PACKED_PIXELS;
311 info->fix.type_aux = 0;
312 info->fix.xpanstep = 0;
313 info->fix.ypanstep = 0;
314 info->fix.ywrapstep = 0;
315 info->fix.accel = FB_ACCEL_NONE;
417 memset_io(info->screen_base, 0, info->fix.smem_len);
429 printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, info->fix.id);