/drivers/video/ |
D | atafb.c | 123 int yres_virtual; member 628 int yres_virtual = var->yres_virtual; in tt_decode_var() local 677 if (yres_virtual <= 0) in tt_decode_var() 678 yres_virtual = 0; in tt_decode_var() 679 else if (yres_virtual < yres) in tt_decode_var() 680 yres_virtual = yres; in tt_decode_var() 686 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var() 690 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 692 par->yres_virtual = yres_virtual; in tt_decode_var() 768 var->yres_virtual = var->yres; in tt_encode_var() [all …]
|
D | 68328fb.c | 164 if (var->yres > var->yres_virtual) in mc68x328fb_check_var() 165 var->yres_virtual = var->yres; in mc68x328fb_check_var() 181 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var() 182 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var() 189 if (line_length * var->yres_virtual > videomemorysize) in mc68x328fb_check_var() 378 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display() 383 var->yoffset + var->yres > info->var.yres_virtual) in mc68x328fb_pan_display() 451 mc68x328fb_default.yres_virtual = mc68x328fb_default.yres; in mc68x328fb_init() 455 mc68x328fb_default.yres_virtual * mc68x328fb_default.bits_per_pixel; in mc68x328fb_init() 484 mc68x328fb_default.xres_virtual, mc68x328fb_default.yres_virtual, in mc68x328fb_init()
|
D | vfb.c | 86 .yres_virtual = 480, 187 if (var->yres > var->yres_virtual) in vfb_check_var() 188 var->yres_virtual = var->yres; in vfb_check_var() 204 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 205 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 212 if (line_length * var->yres_virtual > videomemorysize) in vfb_check_var() 392 || var->yoffset >= info->var.yres_virtual in vfb_pan_display() 397 var->yoffset + var->yres > info->var.yres_virtual) in vfb_pan_display()
|
D | goldfishfb.c | 116 (var->yres_virtual > info->var.xres * 2) || in goldfish_fb_check_var() 117 (var->yres_virtual < info->var.xres )) { in goldfish_fb_check_var() 125 (var->yres_virtual > info->var.yres * 2) || in goldfish_fb_check_var() 126 (var->yres_virtual < info->var.yres )) { in goldfish_fb_check_var() 245 fb->fb.var.yres_virtual = height * 2; in goldfish_fb_probe() 331 framesize = fb->fb.var.xres_virtual * fb->fb.var.yres_virtual * 2; in goldfish_fb_remove()
|
D | clps711xfb.c | 139 lcdcon = (info->var.xres_virtual * info->var.yres_virtual * info->var.bits_per_pixel) / 128 - 1; in clps7111fb_set_par() 281 info->var.yres_virtual = 240; in clps711x_guess_lcd_params() 317 info->var.yres_virtual = (((lcdcon & 0x1fff) + 1) * 128) / in clps711x_guess_lcd_params() 333 info->var.yres = info->var.yres_virtual; in clps711x_guess_lcd_params()
|
D | hitfb.c | 253 if (var->yres_virtual < var->yres) in hitfb_check_var() 254 var->yres_virtual = var->yres; in hitfb_check_var() 261 if (var->yres_virtual > maxy) in hitfb_check_var() 262 var->yres_virtual = maxy; in hitfb_check_var() 363 hitfb_var.yres_virtual = hitfb_fix.smem_len / lcdclor; in hitfb_probe()
|
D | acornfb.c | 612 var->yres_virtual = size / (font_line_len / fontht); in acornfb_adjust_timing() 614 var->yres_virtual = nr_y; in acornfb_adjust_timing() 615 } else if (var->yres_virtual > nr_y) in acornfb_adjust_timing() 616 var->yres_virtual = nr_y; in acornfb_adjust_timing() 623 if (var->yres > var->yres_virtual) in acornfb_adjust_timing() 624 var->yres = var->yres_virtual; in acornfb_adjust_timing() 627 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing() 628 var->yoffset = var->yres_virtual; in acornfb_adjust_timing() 630 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing() 631 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing() [all …]
|
D | s1d13xxxfb.c | 360 if (var->yoffset + info->var.yres > info->var.yres_virtual) in s1d13xxxfb_pan_display() 426 u32 xres_virtual, yres_virtual; in s1d13xxxfb_fetch_hw_state() local 486 yres_virtual = fix->smem_len / (offset * 2); in s1d13xxxfb_fetch_hw_state() 491 var->yres_virtual = yres_virtual; in s1d13xxxfb_fetch_hw_state() 505 xres, yres, xres_virtual, yres_virtual, is_color, is_dual, is_tft); in s1d13xxxfb_fetch_hw_state()
|
D | vesafb.c | 344 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe() 345 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe() 347 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe() 350 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
|
D | igafb.c | 81 .yres_virtual = 480, 105 .yres_virtual = 768, 128 .yres_virtual = 900, 151 .yres_virtual = 1024,
|
D | epson1355fb.c | 218 if (var->yoffset + info->var.yres > info->var.yres_virtual) in epson1355fb_pan_display() 492 u32 xres_virtual, yres_virtual; in fetch_hw_state() local 538 yres_virtual = fix->smem_len / (offset * 2); in fetch_hw_state() 543 var->yres_virtual = yres_virtual; in fetch_hw_state()
|
D | bfin-t350mcqb-fb.c | 278 info->var.yres_virtual != var->yres_virtual) { in bfin_t350mcqb_fb_check_var() 288 if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { in bfin_t350mcqb_fb_check_var() 290 __func__, var->yres_virtual); in bfin_t350mcqb_fb_check_var() 499 fbinfo->var.yres_virtual = LCD_Y_RES; in bfin_t350mcqb_probe()
|
D | pvr2fb.c | 161 .yres_virtual = 480, 450 if (var->yres_virtual < var->yres) in pvr2fb_check_var() 451 var->yres_virtual = var->yres; in pvr2fb_check_var() 464 var->yoffset >= var->yres_virtual) { in pvr2fb_check_var() 468 var->yoffset > var->yres_virtual - var->yres || in pvr2fb_check_var() 532 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var() 816 modememused *= fb_info->var.yres_virtual; in pvr2fb_common_init()
|
D | sgivwfb.c | 65 .yres_virtual = 480, 87 .yres_virtual = 1024, 292 if (var->yres > var->yres_virtual || (!ywrap && !ypan)) in sgivwfb_check_var() 293 var->yres_virtual = var->yres; in sgivwfb_check_var() 299 if (line_length * var->yres_virtual > sgivwfb_mem_size) in sgivwfb_check_var() 357 var->yres_virtual); in sgivwfb_check_var()
|
D | au1100fb.c | 217 info->screen_size = info->fix.line_length * info->var.yres_virtual; in au1100fb_setmode() 233 if (info->var.yres_virtual >= (info->var.yres << 1)) { in au1100fb_setmode() 236 (info->var.yres_virtual >> 1))); in au1100fb_setmode() 244 words *= info->var.yres_virtual; in au1100fb_setmode() 545 au1100fb_var.yres_virtual = au1100fb_var.yres; in au1100fb_drv_probe()
|
D | bf54x-lq043fb.c | 359 info->var.yres_virtual != var->yres_virtual) { in bfin_bf54x_fb_check_var() 369 if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { in bfin_bf54x_fb_check_var() 371 __func__, var->yres_virtual); in bfin_bf54x_fb_check_var() 593 fbinfo->var.yres_virtual = info->mach_info->yres.defval; in bfin_bf54x_probe()
|
D | g364fb.c | 153 if (var->xoffset || var->yoffset + var->yres > var->yres_virtual) in g364fb_pan_display() 239 fb_var.yres_virtual = fb_fix.smem_len / fb_var.xres; in g364fb_init()
|
D | tdfxfb.c | 110 .yres_virtual = 1024, 463 if (var->yres > var->yres_virtual) in tdfxfb_check_var() 464 var->yres_virtual = var->yres; in tdfxfb_check_var() 497 if (lpitch * var->yres_virtual > info->fix.smem_len) { in tdfxfb_check_var() 498 var->yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_check_var() 499 if (var->yres_virtual < var->yres) { in tdfxfb_check_var() 501 var->xres, var->yres_virtual, in tdfxfb_check_var() 1297 info->var.yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_probe() 1298 if (info->var.yres_virtual < info->var.yres) in tdfxfb_probe()
|
/drivers/video/riva/ |
D | fbdev.c | 233 .yres_virtual = 480, 710 height = info->var.yres_virtual; in riva_load_video_mode() 843 if (var->yres_virtual < var->yres) in riva_update_var() 844 var->yres_virtual = var->yres; in riva_update_var() 893 if (var->xres_virtual == -1 && var->yres_virtual == -1) { in rivafb_do_maximize() 908 var->yres_virtual = modes[i].yres; in rivafb_do_maximize() 912 var->xres_virtual, var->yres_virtual); in rivafb_do_maximize() 915 (nom * var->yres_virtual)) & ~15; in rivafb_do_maximize() 918 } else if (var->yres_virtual == -1) { in rivafb_do_maximize() 920 var->yres_virtual = info->fix.smem_len * den / in rivafb_do_maximize() [all …]
|
/drivers/video/nvidia/ |
D | nvidia.c | 104 .yres_virtual = 480, 424 info->var.xres, info->var.yres_virtual, in nvidia_calc_regs() 874 if (var->yres_virtual < var->yres) in nvidiafb_check_var() 875 var->yres_virtual = var->yres; in nvidiafb_check_var() 884 memlen = pitch * var->yres_virtual; in nvidiafb_check_var() 887 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var() 889 if (var->yres_virtual < var->yres) { in nvidiafb_check_var() 890 var->yres_virtual = var->yres; in nvidiafb_check_var() 891 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var() 903 var->yres_virtual, var->bits_per_pixel); in nvidiafb_check_var() [all …]
|
/drivers/media/video/ivtv/ |
D | ivtvfb.c | 571 ivtv_osd.lines = var->yres_virtual; in ivtvfb_set_var() 598 var->xres_virtual, var->yres_virtual, in ivtvfb_set_var() 714 var->xres_virtual * var->yres_virtual * (var->bits_per_pixel / 8) > oi->video_buffer_size || in _ivtvfb_check_var() 716 var->yres_virtual < var->yres) { in _ivtvfb_check_var() 718 var->xres_virtual, var->yres_virtual); in _ivtvfb_check_var() 747 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) { in _ivtvfb_check_var() 749 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual); in _ivtvfb_check_var() 798 var->xres_virtual, var->yres_virtual, in _ivtvfb_check_var() 1002 oi->ivtvfb_defined.yres_virtual = oi->display_height; in ivtvfb_init_vidmode()
|
/drivers/video/matrox/ |
D | matroxfb_base.c | 564 if (var->yres_virtual < var->yres) in matroxfb_decode_var() 565 var->yres_virtual = var->yres; in matroxfb_decode_var() 570 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var() 572 var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); in matroxfb_decode_var() 573 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var() 598 if (var->yres_virtual > max_yres) in matroxfb_decode_var() 599 var->yres_virtual = max_yres; in matroxfb_decode_var() 603 if (var->yres_virtual > 32767) in matroxfb_decode_var() 604 var->yres_virtual = 32767; in matroxfb_decode_var() 607 if (var->yres_virtual < var->yres) in matroxfb_decode_var() [all …]
|
D | matroxfb_crtc2.c | 204 if (var->yres_virtual < var->yres) in matroxfb_dh_decode_var() 205 var->yres_virtual = var->yres; in matroxfb_dh_decode_var() 209 if (var->yres_virtual > 32767) in matroxfb_dh_decode_var() 211 memlen = var->xres_virtual * var->yres_virtual * (var->bits_per_pixel >> 3); in matroxfb_dh_decode_var() 216 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var() 217 var->yoffset = var->yres_virtual - var->yres; in matroxfb_dh_decode_var()
|
/drivers/video/intelfb/ |
D | intelfbdrv.c | 1100 var->yres_virtual = in intelfb_init_var() 1102 if (var->yres_virtual < var->yres) in intelfb_init_var() 1103 var->yres_virtual = var->yres; in intelfb_init_var() 1105 var->yres_virtual = var->yres; in intelfb_init_var() 1274 (info->var.yres_virtual != var->yres_virtual) || in intelfb_check_var() 1283 var->yres_virtual > dinfo->initial_var.yres_virtual || in intelfb_check_var() 1284 var->yres_virtual < dinfo->initial_var.yres || in intelfb_check_var() 1339 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_check_var() 1340 v.yoffset = v.yres_virtual - v.yres; in intelfb_check_var()
|
/drivers/video/savage/ |
D | savagefb_driver.c | 853 if (var->yres_virtual < var->yres) in savage_update_var() 854 var->yres_virtual = var->yres; in savage_update_var() 941 if (var->yres_virtual < var->yres) in savagefb_check_var() 942 var->yres_virtual = var->yres; in savagefb_check_var() 949 var->yres_virtual / 8; in savagefb_check_var() 951 var->yres_virtual = vramlen * 8 / in savagefb_check_var() 954 var->yres_virtual / 8; in savagefb_check_var() 959 if (var->yres_virtual < var->yres) in savagefb_check_var() 960 var->yres = var->yres_virtual; in savagefb_check_var() 965 if (var->yoffset + var->yres > var->yres_virtual) in savagefb_check_var() [all …]
|