Lines Matching refs:fix

297 	struct fb_fix_screeninfo *fix = &info->fix;  in atmel_lcdfb_update_dma()  local
300 dma_addr = (fix->smem_start + var->yoffset * fix->line_length in atmel_lcdfb_update_dma()
313 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, in atmel_lcdfb_free_video_memory()
314 info->fix.smem_start); in atmel_lcdfb_free_video_memory()
332 info->fix.smem_len = max(smem_len, sinfo->smem_len); in atmel_lcdfb_alloc_video_memory()
334 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len, in atmel_lcdfb_alloc_video_memory()
335 (dma_addr_t *)&info->fix.smem_start, in atmel_lcdfb_alloc_video_memory()
342 memset(info->screen_base, 0, info->fix.smem_len); in atmel_lcdfb_alloc_video_memory()
430 if (info->fix.smem_len) { in atmel_lcdfb_check_var()
433 if (smem_len > info->fix.smem_len) { in atmel_lcdfb_check_var()
435 info->fix.smem_len, smem_len); in atmel_lcdfb_check_var()
559 info->fix.visual = FB_VISUAL_MONO01; in atmel_lcdfb_set_par()
561 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in atmel_lcdfb_set_par()
563 info->fix.visual = FB_VISUAL_TRUECOLOR; in atmel_lcdfb_set_par()
566 info->fix.line_length = DIV_ROUND_UP(bits_per_line, 8); in atmel_lcdfb_set_par()
717 switch (info->fix.visual) { in atmel_lcdfb_setcolreg()
853 (unsigned long)info->fix.smem_len / 1024, in atmel_lcdfb_init_fbinfo()
854 (unsigned long)info->fix.smem_start, in atmel_lcdfb_init_fbinfo()
1065 info->fix = atmel_lcdfb_fix; in atmel_lcdfb_probe()
1066 strcpy(info->fix.id, sinfo->pdev->name); in atmel_lcdfb_probe()
1104 info->fix.smem_start = map->start; in atmel_lcdfb_probe()
1105 info->fix.smem_len = resource_size(map); in atmel_lcdfb_probe()
1106 if (!request_mem_region(info->fix.smem_start, in atmel_lcdfb_probe()
1107 info->fix.smem_len, pdev->name)) { in atmel_lcdfb_probe()
1112 info->screen_base = ioremap_wc(info->fix.smem_start, in atmel_lcdfb_probe()
1113 info->fix.smem_len); in atmel_lcdfb_probe()
1133 info->fix.mmio_start = regs->start; in atmel_lcdfb_probe()
1134 info->fix.mmio_len = resource_size(regs); in atmel_lcdfb_probe()
1136 if (!request_mem_region(info->fix.mmio_start, in atmel_lcdfb_probe()
1137 info->fix.mmio_len, pdev->name)) { in atmel_lcdfb_probe()
1142 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1190 info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); in atmel_lcdfb_probe()
1204 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1213 release_mem_region(info->fix.smem_start, info->fix.smem_len); in atmel_lcdfb_probe()
1246 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
1249 release_mem_region(info->fix.smem_start, info->fix.smem_len); in atmel_lcdfb_remove()