Lines Matching refs:fix
150 if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len)
161 info->fix.visual = FB_VISUAL_TRUECOLOR;
163 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
165 info->fix.line_length = gx_line_delta(info->var.xres, info->var.bits_per_pixel);
189 if (info->fix.visual == FB_VISUAL_TRUECOLOR) {
251 info->fix.smem_start = pci_resource_start(dev, 0);
252 info->fix.smem_len = vram ? vram : gx_frame_buffer_size();
253 info->screen_base = ioremap_wc(info->fix.smem_start,
254 info->fix.smem_len);
261 write_dc(par, DC_GLIU0_MEM_OFFSET, info->fix.smem_start & 0xFF000000);
264 info->fix.smem_len / 1024, info->fix.smem_start);
291 strcpy(info->fix.id, "Geode GX");
293 info->fix.type = FB_TYPE_PACKED_PIXELS;
294 info->fix.type_aux = 0;
295 info->fix.xpanstep = 0;
296 info->fix.ypanstep = 0;
297 info->fix.ywrapstep = 0;
298 info->fix.accel = FB_ACCEL_NONE;
398 memset_io(info->screen_base, 0, info->fix.smem_len);
410 fb_info(info, "%s frame buffer device\n", info->fix.id);