/linux/drivers/video/fbdev/ |
A D | atafb.c | 589 int yres_virtual = var->yres_virtual; in tt_decode_var() local 651 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 653 par->yres_virtual = yres_virtual; in tt_decode_var() 732 var->yres_virtual = par->yres_virtual; in tt_encode_var() 891 int yres_virtual = var->yres_virtual; in falcon_decode_var() local 1349 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var() 1351 par->yres_virtual = yres_virtual; in falcon_decode_var() 1452 var->yres_virtual = par->yres_virtual; in falcon_encode_var() 1816 int yres_virtual = var->yres_virtual; in stste_decode_var() local 1860 par->yres_virtual = yres_virtual; in stste_decode_var() [all …]
|
A D | 68328fb.c | 157 if (var->yres > var->yres_virtual) in mc68x328fb_check_var() 158 var->yres_virtual = var->yres; in mc68x328fb_check_var() 174 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var() 175 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var() 182 if (line_length * var->yres_virtual > videomemorysize) in mc68x328fb_check_var() 371 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display() 376 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display() 432 mc68x328fb_default.yres_virtual = mc68x328fb_default.yres; in mc68x328fb_init() 436 mc68x328fb_default.yres_virtual * mc68x328fb_default.bits_per_pixel; in mc68x328fb_init() 466 mc68x328fb_default.yres_virtual, in mc68x328fb_init()
|
A D | vfb.c | 141 if (var->yres > var->yres_virtual) in vfb_check_var() 142 var->yres_virtual = var->yres; in vfb_check_var() 158 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 159 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 166 if (line_length * var->yres_virtual > videomemorysize) in vfb_check_var() 363 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display() 368 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display()
|
A D | goldfishfb.c | 95 (var->yres_virtual > info->var.xres * 2) || in goldfish_fb_check_var() 96 (var->yres_virtual < info->var.xres)) { in goldfish_fb_check_var() 103 (var->yres_virtual > info->var.yres * 2) || in goldfish_fb_check_var() 104 (var->yres_virtual < info->var.yres)) { in goldfish_fb_check_var() 226 fb->fb.var.yres_virtual = height * 2; in goldfish_fb_probe() 291 framesize = fb->fb.var.xres_virtual * fb->fb.var.yres_virtual * 2; in goldfish_fb_remove()
|
A D | acornfb.c | 368 var->yres_virtual = size / (font_line_len / fontht); in acornfb_adjust_timing() 370 var->yres_virtual = nr_y; in acornfb_adjust_timing() 371 } else if (var->yres_virtual > nr_y) in acornfb_adjust_timing() 372 var->yres_virtual = nr_y; in acornfb_adjust_timing() 379 if (var->yres > var->yres_virtual) in acornfb_adjust_timing() 380 var->yres = var->yres_virtual; in acornfb_adjust_timing() 383 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing() 384 var->yoffset = var->yres_virtual; in acornfb_adjust_timing() 386 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing() 387 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing() [all …]
|
A D | wmt_ge_rops.c | 65 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_fillrect() 91 writel(p->var.yres_virtual - 1, regbase + GE_SRCDISPH_OFF); in wmt_ge_copyarea() 99 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_copyarea()
|
A D | hitfb.c | 248 if (var->yres_virtual < var->yres) in hitfb_check_var() 249 var->yres_virtual = var->yres; in hitfb_check_var() 256 if (var->yres_virtual > maxy) in hitfb_check_var() 257 var->yres_virtual = maxy; in hitfb_check_var() 360 hitfb_var.yres_virtual = hitfb_fix.smem_len / lcdclor; in hitfb_probe()
|
A D | au1100fb.c | 187 info->screen_size = info->fix.line_length * info->var.yres_virtual; in au1100fb_setmode() 203 if (info->var.yres_virtual >= (info->var.yres << 1)) { in au1100fb_setmode() 206 (info->var.yres_virtual >> 1))); in au1100fb_setmode() 214 words *= info->var.yres_virtual; in au1100fb_setmode() 481 au1100fb_var.yres_virtual = au1100fb_var.yres; in au1100fb_drv_probe()
|
A D | sm501fb.c | 440 var->xres_virtual, var->yres_virtual); in sm501fb_set_par_common() 1316 (sy >= info->var.yres_virtual)) in sm501fb_copyarea() 1321 if ((sy + height) >= info->var.yres_virtual) in sm501fb_copyarea() 1322 height = info->var.yres_virtual - sy - 1; in sm501fb_copyarea() 1326 (dy >= info->var.yres_virtual)) in sm501fb_copyarea() 1331 if ((dy + height) >= info->var.yres_virtual) in sm501fb_copyarea() 1332 height = info->var.yres_virtual - dy - 1; in sm501fb_copyarea() 1395 (rect->dy >= info->var.yres_virtual)) in sm501fb_fillrect() 1400 if ((rect->dy + height) >= info->var.yres_virtual) in sm501fb_fillrect() 1401 height = info->var.yres_virtual - rect->dy - 1; in sm501fb_fillrect() [all …]
|
A D | sh_mobile_lcdcfb.c | 199 unsigned int yres_virtual; member 791 + ovl->xres_virtual * ovl->yres_virtual; in sh_mobile_lcdc_overlay_setup() 1025 + ch->xres_virtual * ch->yres_virtual; in sh_mobile_lcdc_start() 1119 if (var->yres_virtual < var->yres) in __sh_mobile_lcdc_check_var() 1120 var->yres_virtual = var->yres; in __sh_mobile_lcdc_check_var() 1445 ovl->yres_virtual = info->var.yres_virtual; in sh_mobile_lcdc_overlay_set_par() 1606 var->yres_virtual = ovl->yres_virtual; in sh_mobile_lcdc_overlay_fb_init() 1888 ch->yres_virtual = info->var.yres_virtual; in sh_mobile_lcdc_set_par() 2099 var->yres_virtual = ch->yres_virtual; in sh_mobile_lcdc_channel_fb_init() 2380 ovl->yres_virtual = ovl->yres * 2; in sh_mobile_lcdc_overlay_init() [all …]
|
A D | pvr2fb.c | 162 .yres_virtual = 480, 448 if (var->yres_virtual < var->yres) in pvr2fb_check_var() 449 var->yres_virtual = var->yres; in pvr2fb_check_var() 461 if (var->xoffset || var->yoffset >= var->yres_virtual) { in pvr2fb_check_var() 465 var->yoffset > var->yres_virtual - var->yres) in pvr2fb_check_var() 528 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var() 830 modememused *= fb_info->var.yres_virtual; in pvr2fb_common_init()
|
A D | vesafb.c | 364 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe() 365 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe() 367 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe() 370 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
|
A D | g364fb.c | 132 var->yoffset + info->var.yres > info->var.yres_virtual) in g364fb_pan_display() 216 fb_var.yres_virtual = fb_fix.smem_len / fb_var.xres; in g364fb_init()
|
A D | grvga.c | 100 var->yres_virtual = 2*var->yres; in grvga_check_var() 103 if ((var->yres_virtual*var->xres_virtual*var->bits_per_pixel/8) > info->fix.smem_len) in grvga_check_var() 299 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 417 grvga_mem_size = info->var.xres_virtual * info->var.yres_virtual * info->var.bits_per_pixel/8; in grvga_probe()
|
A D | s1d13xxxfb.c | 377 if (var->yoffset + info->var.yres > info->var.yres_virtual) in s1d13xxxfb_pan_display() 641 u32 xres_virtual, yres_virtual; in s1d13xxxfb_fetch_hw_state() local 701 yres_virtual = fix->smem_len / (offset * 2); in s1d13xxxfb_fetch_hw_state() 706 var->yres_virtual = yres_virtual; in s1d13xxxfb_fetch_hw_state() 720 xres, yres, xres_virtual, yres_virtual, is_color, is_dual, is_tft); in s1d13xxxfb_fetch_hw_state()
|
A D | pxa168fb.c | 173 var->yres_virtual = info->fix.smem_len / in set_mode() 176 var->yres_virtual = max(var->yres, var->yres_virtual); in set_mode() 211 if (var->yoffset + var->yres > var->yres_virtual) in pxa168fb_check_var() 223 if (var->xres_virtual * var->yres_virtual * in pxa168fb_check_var() 577 var->yres_virtual = info->fix.smem_len / in pxa168fb_init_mode()
|
A D | chipsfb.c | 97 || var->xres_virtual > 800 || var->yres_virtual > 600 in chipsfb_check_var() 104 var->yres = var->yres_virtual = 600; in chipsfb_check_var() 315 .yres_virtual = 600,
|
/linux/drivers/video/fbdev/omap2/omapfb/ |
A D | omapfb-main.c | 93 const short h = var->yres_virtual; in fill_fb() 383 if (var->yres_virtual == 0) in check_fb_res_bounds() 384 var->yres_virtual = var->yres; in check_fb_res_bounds() 400 if (var->yres > var->yres_virtual) in check_fb_res_bounds() 401 var->yres = var->yres_virtual; in check_fb_res_bounds() 416 if (var->yres > var->yres_virtual) in shrink_height() 417 var->yres = var->yres_virtual; in shrink_height() 528 vrfb->yres != var->yres_virtual) in setup_vrfb_rotation() 545 var->yres_virtual, in setup_vrfb_rotation() 1764 var->yres_virtual = var->yres; in omapfb_fb_init() [all …]
|
/linux/drivers/video/fbdev/riva/ |
A D | fbdev.c | 220 .yres_virtual = 480, 695 height = info->var.yres_virtual; in riva_load_video_mode() 829 var->yres_virtual = var->yres; in riva_update_var() 893 var->yres_virtual = modes[i].yres; in rivafb_do_maximize() 900 (nom * var->yres_virtual)) & ~15; in rivafb_do_maximize() 938 if (var->yres_virtual > 0x7fff/nom) in rivafb_do_maximize() 939 var->yres_virtual = 0x7fff/nom; in rivafb_do_maximize() 982 (info->var.yres_virtual << 16)); in riva_setup_accel() 1167 if (var->yres_virtual <= var->yres) in rivafb_check_var() 1168 var->yres_virtual = -1; in rivafb_check_var() [all …]
|
/linux/drivers/video/fbdev/nvidia/ |
A D | nvidia.c | 91 .yres_virtual = 480, 410 info->var.xres, info->var.yres_virtual, in nvidia_calc_regs() 862 if (var->yres_virtual < var->yres) in nvidiafb_check_var() 863 var->yres_virtual = var->yres; in nvidiafb_check_var() 872 memlen = pitch * var->yres_virtual; in nvidiafb_check_var() 875 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var() 877 if (var->yres_virtual < var->yres) { in nvidiafb_check_var() 878 var->yres_virtual = var->yres; in nvidiafb_check_var() 879 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var() 898 if (var->yres_virtual > 0x7fff) in nvidiafb_check_var() [all …]
|
/linux/drivers/media/pci/ivtv/ |
A D | ivtvfb.c | 569 ivtv_osd.lines = var->yres_virtual; in ivtvfb_set_var() 601 var->xres_virtual, var->yres_virtual, in ivtvfb_set_var() 717 var->xres_virtual * var->yres_virtual * (var->bits_per_pixel / 8) > oi->video_buffer_size || in _ivtvfb_check_var() 719 var->yres_virtual < var->yres) { in _ivtvfb_check_var() 721 var->xres_virtual, var->yres_virtual); in _ivtvfb_check_var() 750 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) { in _ivtvfb_check_var() 752 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual); in _ivtvfb_check_var() 801 var->xres_virtual, var->yres_virtual, in _ivtvfb_check_var() 825 if (var->yoffset + info->var.yres > info->var.yres_virtual || in ivtvfb_pan_display() 1032 oi->ivtvfb_defined.yres_virtual = oi->display_height; in ivtvfb_init_vidmode()
|
/linux/drivers/video/fbdev/matrox/ |
A D | matroxfb_base.c | 568 if (var->yres_virtual < var->yres) in matroxfb_decode_var() 569 var->yres_virtual = var->yres; 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() 608 var->yres = var->yres_virtual; in matroxfb_decode_var() 613 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_decode_var() 614 var->yoffset = var->yres_virtual - var->yres; in matroxfb_decode_var() [all …]
|
A D | matroxfb_crtc2.c | 206 if (var->yres_virtual < var->yres) in matroxfb_dh_decode_var() 207 var->yres_virtual = var->yres; in matroxfb_dh_decode_var() 211 if (var->yres_virtual > 32767) in matroxfb_dh_decode_var() 213 memlen = var->xres_virtual * var->yres_virtual * (var->bits_per_pixel >> 3); in matroxfb_dh_decode_var() 218 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var() 219 var->yoffset = var->yres_virtual - var->yres; in matroxfb_dh_decode_var()
|
/linux/drivers/video/fbdev/intelfb/ |
A D | intelfbdrv.c | 1071 var->yres_virtual = in intelfb_init_var() 1073 if (var->yres_virtual < var->yres) in intelfb_init_var() 1074 var->yres_virtual = var->yres; in intelfb_init_var() 1076 var->yres_virtual = var->yres; in intelfb_init_var() 1245 (info->var.yres_virtual != var->yres_virtual) || in intelfb_check_var() 1254 var->yres_virtual > dinfo->initial_var.yres_virtual || in intelfb_check_var() 1255 var->yres_virtual < dinfo->initial_var.yres || in intelfb_check_var() 1305 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_check_var() 1306 v.yoffset = v.yres_virtual - v.yres; in intelfb_check_var()
|
/linux/drivers/video/fbdev/savage/ |
A D | savagefb_driver.c | 850 var->yres_virtual = var->yres; in savage_update_var() 937 if (var->yres_virtual < var->yres) in savagefb_check_var() 938 var->yres_virtual = var->yres; in savagefb_check_var() 945 var->yres_virtual / 8; in savagefb_check_var() 947 var->yres_virtual = vramlen * 8 / in savagefb_check_var() 950 var->yres_virtual / 8; in savagefb_check_var() 955 if (var->yres_virtual < var->yres) in savagefb_check_var() 956 var->yres = var->yres_virtual; in savagefb_check_var() 1667 .yres_virtual = 600, 2265 if (info->var.yres_virtual > 0x1000) in savagefb_probe() [all …]
|