Searched refs:vramlen (Results 1 – 5 of 5) sorted by relevance
584 int memlen, vramlen; in neofb_check_var() local687 vramlen = info->fix.smem_len; in neofb_check_var()688 if (vramlen > 4 * 1024 * 1024) in neofb_check_var()689 vramlen = 4 * 1024 * 1024; in neofb_check_var()696 if (memlen > vramlen) { in neofb_check_var()697 var->yres_virtual = vramlen * 8 / (var->xres_virtual * in neofb_check_var()
196 unsigned int vramlen; in matroxfb_dh_decode_var() local205 vramlen = m2info->video.len_usable; in matroxfb_dh_decode_var()214 if (memlen > vramlen) in matroxfb_dh_decode_var()
553 unsigned int vramlen; in matroxfb_decode_var() local568 vramlen = minfo->video.len_usable; in matroxfb_decode_var()576 if (memlen > vramlen) { in matroxfb_decode_var()577 var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); in matroxfb_decode_var()598 max_yres = (vramlen - m2) / linelen; in matroxfb_decode_var()
763 int memlen, vramlen, mode_valid = 0; in nvidiafb_check_var() local873 vramlen = info->screen_size; in nvidiafb_check_var()877 if (memlen > vramlen) { in nvidiafb_check_var()878 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var()882 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var()
868 int memlen, vramlen, mode_valid = 0; in savagefb_check_var() local946 vramlen = info->fix.smem_len; in savagefb_check_var()950 if (memlen > vramlen) { in savagefb_check_var()951 var->yres_virtual = vramlen * 8 / in savagefb_check_var()