Lines Matching full:fix

296 	struct fb_fix_screeninfo *fix = &info->fix;  in atmel_lcdfb_update_dma()  local
299 dma_addr = (fix->smem_start + var->yoffset * fix->line_length in atmel_lcdfb_update_dma()
312 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, in atmel_lcdfb_free_video_memory()
313 info->fix.smem_start); in atmel_lcdfb_free_video_memory()
331 info->fix.smem_len = max(smem_len, sinfo->smem_len); in atmel_lcdfb_alloc_video_memory()
333 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len, in atmel_lcdfb_alloc_video_memory()
334 (dma_addr_t *)&info->fix.smem_start, in atmel_lcdfb_alloc_video_memory()
341 memset(info->screen_base, 0, info->fix.smem_len); in atmel_lcdfb_alloc_video_memory()
429 if (info->fix.smem_len) { in atmel_lcdfb_check_var()
432 if (smem_len > info->fix.smem_len) { in atmel_lcdfb_check_var()
434 info->fix.smem_len, smem_len); in atmel_lcdfb_check_var()
558 info->fix.visual = FB_VISUAL_MONO01; in atmel_lcdfb_set_par()
560 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; in atmel_lcdfb_set_par()
562 info->fix.visual = FB_VISUAL_TRUECOLOR; in atmel_lcdfb_set_par()
565 info->fix.line_length = DIV_ROUND_UP(bits_per_line, 8); in atmel_lcdfb_set_par()
716 switch (info->fix.visual) { in atmel_lcdfb_setcolreg()
852 (unsigned long)info->fix.smem_len / 1024, in atmel_lcdfb_init_fbinfo()
853 (unsigned long)info->fix.smem_start, in atmel_lcdfb_init_fbinfo()
1064 info->fix = atmel_lcdfb_fix; in atmel_lcdfb_probe()
1065 strcpy(info->fix.id, sinfo->pdev->name); in atmel_lcdfb_probe()
1103 info->fix.smem_start = map->start; in atmel_lcdfb_probe()
1104 info->fix.smem_len = resource_size(map); in atmel_lcdfb_probe()
1105 if (!request_mem_region(info->fix.smem_start, in atmel_lcdfb_probe()
1106 info->fix.smem_len, pdev->name)) { in atmel_lcdfb_probe()
1111 info->screen_base = ioremap_wc(info->fix.smem_start, in atmel_lcdfb_probe()
1112 info->fix.smem_len); in atmel_lcdfb_probe()
1132 info->fix.mmio_start = regs->start; in atmel_lcdfb_probe()
1133 info->fix.mmio_len = resource_size(regs); in atmel_lcdfb_probe()
1135 if (!request_mem_region(info->fix.mmio_start, in atmel_lcdfb_probe()
1136 info->fix.mmio_len, pdev->name)) { in atmel_lcdfb_probe()
1141 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1189 info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); in atmel_lcdfb_probe()
1203 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1212 release_mem_region(info->fix.smem_start, info->fix.smem_len); in atmel_lcdfb_probe()
1245 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
1248 release_mem_region(info->fix.smem_start, info->fix.smem_len); in atmel_lcdfb_remove()