Home
last modified time | relevance | path

Searched refs:yres_virtual (Results 1 – 25 of 145) sorted by relevance

123456

/linux-6.1.9/drivers/video/fbdev/
Datafb.c98 int yres_virtual; member
585 int yres_virtual = var->yres_virtual; in tt_decode_var() local
634 if (yres_virtual <= 0) in tt_decode_var()
635 yres_virtual = 0; in tt_decode_var()
636 else if (yres_virtual < yres) in tt_decode_var()
637 yres_virtual = yres; in tt_decode_var()
643 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var()
647 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var()
649 par->yres_virtual = yres_virtual; in tt_decode_var()
725 var->yres_virtual = var->yres; in tt_encode_var()
[all …]
D68328fb.c154 if (var->yres > var->yres_virtual) in mc68x328fb_check_var()
155 var->yres_virtual = var->yres; in mc68x328fb_check_var()
171 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var()
172 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var()
179 if (line_length * var->yres_virtual > videomemorysize) in mc68x328fb_check_var()
368 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display()
373 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display()
429 mc68x328fb_default.yres_virtual = mc68x328fb_default.yres; in mc68x328fb_init()
433 mc68x328fb_default.yres_virtual * mc68x328fb_default.bits_per_pixel; in mc68x328fb_init()
463 mc68x328fb_default.yres_virtual, in mc68x328fb_init()
Dvfb.c141 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()
Dgoldfishfb.c95 (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()
Dacornfb.c368 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 …]
Dwmt_ge_rops.c65 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()
Dhitfb.c248 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()
Dau1100fb.c187 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()
Dg364fb.c132 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()
Dpvr2fb.c163 .yres_virtual = 480,
449 if (var->yres_virtual < var->yres) in pvr2fb_check_var()
450 var->yres_virtual = var->yres; in pvr2fb_check_var()
462 if (var->xoffset || var->yoffset >= var->yres_virtual) { in pvr2fb_check_var()
466 var->yoffset > var->yres_virtual - var->yres) in pvr2fb_check_var()
529 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var()
831 modememused *= fb_info->var.yres_virtual; in pvr2fb_common_init()
Dsm501fb.c326 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 …]
Dvesafb.c370 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
371 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe()
373 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe()
376 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
Dsh_mobile_lcdcfb.c199 unsigned int yres_virtual; member
787 + ovl->xres_virtual * ovl->yres_virtual; in sh_mobile_lcdc_overlay_setup()
1021 + ch->xres_virtual * ch->yres_virtual; in sh_mobile_lcdc_start()
1115 if (var->yres_virtual < var->yres) in __sh_mobile_lcdc_check_var()
1116 var->yres_virtual = var->yres; in __sh_mobile_lcdc_check_var()
1174 if (var->xres_virtual * var->yres_virtual * var->bits_per_pixel / 8 > in __sh_mobile_lcdc_check_var()
1393 base_addr_c = ovl->dma_handle + ovl->xres_virtual * ovl->yres_virtual in sh_mobile_lcdc_overlay_pan()
1441 ovl->yres_virtual = info->var.yres_virtual; in sh_mobile_lcdc_overlay_set_par()
1605 var->yres_virtual = ovl->yres_virtual; in sh_mobile_lcdc_overlay_fb_init()
1710 base_addr_c = ch->dma_handle + ch->xres_virtual * ch->yres_virtual in sh_mobile_lcdc_pan()
[all …]
Dgrvga.c100 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()
Dpxa168fb.c173 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()
Ds1d13xxxfb.c377 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()
Dchipsfb.c98 || var->xres_virtual > 800 || var->yres_virtual > 600 in chipsfb_check_var()
105 var->yres = var->yres_virtual = 600; in chipsfb_check_var()
316 .yres_virtual = 600,
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c93 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 …]
/linux-6.1.9/drivers/video/fbdev/riva/
Dfbdev.c221 .yres_virtual = 480,
696 height = info->var.yres_virtual; in riva_load_video_mode()
829 if (var->yres_virtual < var->yres) in riva_update_var()
830 var->yres_virtual = var->yres; in riva_update_var()
879 if (var->xres_virtual == -1 && var->yres_virtual == -1) { in rivafb_do_maximize()
894 var->yres_virtual = modes[i].yres; in rivafb_do_maximize()
898 var->xres_virtual, var->yres_virtual); in rivafb_do_maximize()
901 (nom * var->yres_virtual)) & ~15; in rivafb_do_maximize()
904 } else if (var->yres_virtual == -1) { in rivafb_do_maximize()
906 var->yres_virtual = info->fix.smem_len * den / in rivafb_do_maximize()
[all …]
/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnvidia.c92 .yres_virtual = 480,
411 info->var.xres, info->var.yres_virtual, in nvidia_calc_regs()
863 if (var->yres_virtual < var->yres) in nvidiafb_check_var()
864 var->yres_virtual = var->yres; in nvidiafb_check_var()
873 memlen = pitch * var->yres_virtual; in nvidiafb_check_var()
876 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var()
878 if (var->yres_virtual < var->yres) { in nvidiafb_check_var()
879 var->yres_virtual = var->yres; in nvidiafb_check_var()
880 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var()
892 var->yres_virtual, var->bits_per_pixel); in nvidiafb_check_var()
[all …]
/linux-6.1.9/drivers/media/pci/ivtv/
Divtvfb.c569 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-6.1.9/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c206 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()
Dmatroxfb_base.c569 if (var->yres_virtual < var->yres) in matroxfb_decode_var()
570 var->yres_virtual = var->yres; in matroxfb_decode_var()
575 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var()
577 var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); in matroxfb_decode_var()
578 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var()
599 if (var->yres_virtual > max_yres) in matroxfb_decode_var()
600 var->yres_virtual = max_yres; in matroxfb_decode_var()
604 if (var->yres_virtual > 32767) in matroxfb_decode_var()
605 var->yres_virtual = 32767; in matroxfb_decode_var()
608 if (var->yres_virtual < var->yres) in matroxfb_decode_var()
[all …]
/linux-6.1.9/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1076 var->yres_virtual = in intelfb_init_var()
1078 if (var->yres_virtual < var->yres) in intelfb_init_var()
1079 var->yres_virtual = var->yres; in intelfb_init_var()
1081 var->yres_virtual = var->yres; in intelfb_init_var()
1250 (info->var.yres_virtual != var->yres_virtual) || in intelfb_check_var()
1259 var->yres_virtual > dinfo->initial_var.yres_virtual || in intelfb_check_var()
1260 var->yres_virtual < dinfo->initial_var.yres || in intelfb_check_var()
1310 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_check_var()
1311 v.yoffset = v.yres_virtual - v.yres; in intelfb_check_var()
/linux-6.1.9/drivers/video/fbdev/savage/
Dsavagefb_driver.c850 if (var->yres_virtual < var->yres) in savage_update_var()
851 var->yres_virtual = var->yres; in savage_update_var()
938 if (var->yres_virtual < var->yres) in savagefb_check_var()
939 var->yres_virtual = var->yres; in savagefb_check_var()
946 var->yres_virtual / 8; in savagefb_check_var()
948 var->yres_virtual = vramlen * 8 / in savagefb_check_var()
951 var->yres_virtual / 8; in savagefb_check_var()
956 if (var->yres_virtual < var->yres) in savagefb_check_var()
957 var->yres = var->yres_virtual; in savagefb_check_var()
962 if (var->yoffset + var->yres > var->yres_virtual) in savagefb_check_var()
[all …]

123456