Lines Matching refs:smem_len
46 unsigned int smem_len; member
312 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, in atmel_lcdfb_free_video_memory()
327 unsigned int smem_len; in atmel_lcdfb_alloc_video_memory() local
329 smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_alloc_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()
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()
430 unsigned int smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_check_var() local
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()
852 (unsigned long)info->fix.smem_len / 1024, in atmel_lcdfb_init_fbinfo()
1104 info->fix.smem_len = resource_size(map); in atmel_lcdfb_probe()
1106 info->fix.smem_len, pdev->name)) { in atmel_lcdfb_probe()
1112 info->fix.smem_len); in atmel_lcdfb_probe()
1212 release_mem_region(info->fix.smem_start, info->fix.smem_len); in atmel_lcdfb_probe()
1248 release_mem_region(info->fix.smem_start, info->fix.smem_len); in atmel_lcdfb_remove()