/drivers/video/fbdev/ |
D | atafb.c | 100 int yres_virtual; member 597 int yres_virtual = var->yres_virtual; in tt_decode_var() local 646 if (yres_virtual <= 0) in tt_decode_var() 647 yres_virtual = 0; in tt_decode_var() 648 else if (yres_virtual < yres) in tt_decode_var() 649 yres_virtual = yres; in tt_decode_var() 655 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var() 659 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 661 par->yres_virtual = yres_virtual; in tt_decode_var() 737 var->yres_virtual = var->yres; in tt_encode_var() [all …]
|
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()
|
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()
|
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()
|
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 …]
|
D | wmt_ge_rops.c | 64 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_fillrect() 90 writel(p->var.yres_virtual - 1, regbase + GE_SRCDISPH_OFF); in wmt_ge_copyarea() 98 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_copyarea()
|
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()
|
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()
|
D | sm501fb.c | 326 if (var->xres_virtual > 4096 || var->yres_virtual > 2048) in sm501fb_check_var() 440 var->xres_virtual, var->yres_virtual); in sm501fb_set_par_common() 477 smem_len = info->fix.line_length * var->yres_virtual; in sm501fb_set_par_common() 617 reg = var->yoffset | (info->var.yres_virtual << 16); in sm501fb_pan_pnl() 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() [all …]
|
D | sh_mobile_lcdcfb.c | 200 unsigned int yres_virtual; member 794 + ovl->xres_virtual * ovl->yres_virtual; in sh_mobile_lcdc_overlay_setup() 1028 + ch->xres_virtual * ch->yres_virtual; in sh_mobile_lcdc_start() 1122 if (var->yres_virtual < var->yres) in __sh_mobile_lcdc_check_var() 1123 var->yres_virtual = var->yres; in __sh_mobile_lcdc_check_var() 1181 if (var->xres_virtual * var->yres_virtual * var->bits_per_pixel / 8 > in __sh_mobile_lcdc_check_var() 1400 base_addr_c = ovl->dma_handle + ovl->xres_virtual * ovl->yres_virtual in sh_mobile_lcdc_overlay_pan() 1448 ovl->yres_virtual = info->var.yres_virtual; in sh_mobile_lcdc_overlay_set_par() 1609 var->yres_virtual = ovl->yres_virtual; in sh_mobile_lcdc_overlay_fb_init() 1714 base_addr_c = ch->dma_handle + ch->xres_virtual * ch->yres_virtual in sh_mobile_lcdc_pan() [all …]
|
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()
|
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()
|
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()
|
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()
|
D | s1d13xxxfb.c | 377 if (var->yoffset + info->var.yres > info->var.yres_virtual) in s1d13xxxfb_pan_display() 642 u32 xres_virtual, yres_virtual; in s1d13xxxfb_fetch_hw_state() local 702 yres_virtual = fix->smem_len / (offset * 2); in s1d13xxxfb_fetch_hw_state() 707 var->yres_virtual = yres_virtual; in s1d13xxxfb_fetch_hw_state() 721 xres, yres, xres_virtual, yres_virtual, is_color, is_dual, is_tft); in s1d13xxxfb_fetch_hw_state()
|
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()
|
/drivers/video/fbdev/omap2/omapfb/ |
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() 386 if (var->xres_virtual < xres_min || var->yres_virtual < yres_min) 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() 410 var->yres_virtual = max_frame_size / in shrink_height() 413 if (var->yres_virtual < OMAPFB_PLANE_YRES_MIN) in shrink_height() 414 var->yres_virtual = OMAPFB_PLANE_YRES_MIN; in shrink_height() 416 if (var->yres > var->yres_virtual) in shrink_height() [all …]
|
/drivers/video/fbdev/riva/ |
D | fbdev.c | 220 .yres_virtual = 480, 695 height = info->var.yres_virtual; in riva_load_video_mode() 828 if (var->yres_virtual < var->yres) in riva_update_var() 829 var->yres_virtual = var->yres; in riva_update_var() 878 if (var->xres_virtual == -1 && var->yres_virtual == -1) { in rivafb_do_maximize() 893 var->yres_virtual = modes[i].yres; in rivafb_do_maximize() 897 var->xres_virtual, var->yres_virtual); in rivafb_do_maximize() 900 (nom * var->yres_virtual)) & ~15; in rivafb_do_maximize() 903 } else if (var->yres_virtual == -1) { in rivafb_do_maximize() 905 var->yres_virtual = info->fix.smem_len * den / in rivafb_do_maximize() [all …]
|
/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 91 .yres_virtual = 480, 410 info->var.xres, info->var.yres_virtual, in nvidia_calc_regs() 864 if (var->yres_virtual < var->yres) in nvidiafb_check_var() 865 var->yres_virtual = var->yres; in nvidiafb_check_var() 874 memlen = pitch * var->yres_virtual; in nvidiafb_check_var() 877 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var() 879 if (var->yres_virtual < var->yres) { in nvidiafb_check_var() 880 var->yres_virtual = var->yres; in nvidiafb_check_var() 881 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var() 893 var->yres_virtual, var->bits_per_pixel); in nvidiafb_check_var() [all …]
|
/drivers/media/pci/ivtv/ |
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()
|
/drivers/gpu/drm/bochs/ |
D | bochs_hw.c | 220 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode() 224 bochs->yres_virtual); in bochs_hw_setmode() 235 bochs->yres_virtual); in bochs_hw_setmode()
|
/drivers/video/fbdev/matrox/ |
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() 574 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var() 576 var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); in matroxfb_decode_var() 577 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 | 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()
|
/drivers/video/fbdev/intelfb/ |
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() 1248 (info->var.yres_virtual != var->yres_virtual) || in intelfb_check_var() 1257 var->yres_virtual > dinfo->initial_var.yres_virtual || in intelfb_check_var() 1258 var->yres_virtual < dinfo->initial_var.yres || in intelfb_check_var() 1308 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_check_var() 1309 v.yoffset = v.yres_virtual - v.yres; in intelfb_check_var()
|
/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 849 if (var->yres_virtual < var->yres) in savage_update_var() 850 var->yres_virtual = var->yres; in savage_update_var() 940 if (var->yres_virtual < var->yres) in savagefb_check_var() 941 var->yres_virtual = var->yres; in savagefb_check_var() 948 var->yres_virtual / 8; in savagefb_check_var() 950 var->yres_virtual = vramlen * 8 / in savagefb_check_var() 953 var->yres_virtual / 8; in savagefb_check_var() 958 if (var->yres_virtual < var->yres) in savagefb_check_var() 959 var->yres = var->yres_virtual; in savagefb_check_var() 964 if (var->yoffset + var->yres > var->yres_virtual) in savagefb_check_var() [all …]
|