Lines Matching refs:smem_len
223 if (!fbi->fix.smem_start || (mem_len > fbi->fix.smem_len)) { in mxcfb_set_par()
399 if (fbi->fix.smem_len < fbi->var.yres_virtual * fbi->fix.line_length) { in mxcfb_map_video_memory()
400 fbi->fix.smem_len = fbi->var.yres_virtual * in mxcfb_map_video_memory()
403 fbi->fix.smem_len = roundup(fbi->fix.smem_len, ARCH_DMA_MINALIGN); in mxcfb_map_video_memory()
405 fbi->fix.smem_len); in mxcfb_map_video_memory()
409 fbi->fix.smem_len = 0; in mxcfb_map_video_memory()
415 (uint32_t) fbi->fix.smem_start, fbi->fix.smem_len); in mxcfb_map_video_memory()
417 fbi->screen_size = fbi->fix.smem_len; in mxcfb_map_video_memory()
422 memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); in mxcfb_map_video_memory()
431 fbi->fix.smem_len = 0; in mxcfb_unmap_video_memory()
534 fbi->fix.smem_len = fbi->var.yres_virtual * fbi->fix.line_length; in mxcfb_probe()