Searched refs:vramlen (Results 1 – 5 of 5) sorted by relevance
583 int memlen, vramlen; in neofb_check_var() local686 vramlen = info->fix.smem_len; in neofb_check_var()687 if (vramlen > 4 * 1024 * 1024) in neofb_check_var()688 vramlen = 4 * 1024 * 1024; in neofb_check_var()695 if (memlen > vramlen) { in neofb_check_var()696 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()
552 unsigned int vramlen; in matroxfb_decode_var() local567 vramlen = minfo->video.len_usable; in matroxfb_decode_var()575 if (memlen > vramlen) { in matroxfb_decode_var()576 var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); in matroxfb_decode_var()597 max_yres = (vramlen - m2) / linelen; in matroxfb_decode_var()
762 int memlen, vramlen, mode_valid = 0; in nvidiafb_check_var() local872 vramlen = info->screen_size; in nvidiafb_check_var()876 if (memlen > vramlen) { in nvidiafb_check_var()877 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var()881 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var()
867 int memlen, vramlen, mode_valid = 0; in savagefb_check_var() local945 vramlen = info->fix.smem_len; in savagefb_check_var()949 if (memlen > vramlen) { in savagefb_check_var()950 var->yres_virtual = vramlen * 8 / in savagefb_check_var()