Home
last modified time | relevance | path

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

1234567

/drivers/video/fbdev/
Datafb.c122 int yres_virtual; member
622 int yres_virtual = var->yres_virtual; in tt_decode_var() local
671 if (yres_virtual <= 0) in tt_decode_var()
672 yres_virtual = 0; in tt_decode_var()
673 else if (yres_virtual < yres) in tt_decode_var()
674 yres_virtual = yres; in tt_decode_var()
680 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var()
684 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var()
686 par->yres_virtual = yres_virtual; in tt_decode_var()
762 var->yres_virtual = var->yres; in tt_encode_var()
[all …]
D68328fb.c157 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()
444 mc68x328fb_default.yres_virtual = mc68x328fb_default.yres; in mc68x328fb_init()
448 mc68x328fb_default.yres_virtual * mc68x328fb_default.bits_per_pixel; in mc68x328fb_init()
478 mc68x328fb_default.yres_virtual, in mc68x328fb_init()
Dvfb.c92 .yres_virtual = 480,
193 if (var->yres > var->yres_virtual) in vfb_check_var()
194 var->yres_virtual = var->yres; in vfb_check_var()
210 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var()
211 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var()
218 if (line_length * var->yres_virtual > videomemorysize) in vfb_check_var()
415 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display()
420 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display()
Dclps711xfb.c129 lcdcon = (info->var.xres_virtual * info->var.yres_virtual * info->var.bits_per_pixel) / 128 - 1; in clps7111fb_set_par()
189 info->var.yres_virtual = 240; in clps711x_guess_lcd_params()
225 info->var.yres_virtual = (((lcdcon & 0x1fff) + 1) * 128) / in clps711x_guess_lcd_params()
241 info->var.yres = info->var.yres_virtual; in clps711x_guess_lcd_params()
Dacornfb.c372 var->yres_virtual = size / (font_line_len / fontht); in acornfb_adjust_timing()
374 var->yres_virtual = nr_y; in acornfb_adjust_timing()
375 } else if (var->yres_virtual > nr_y) in acornfb_adjust_timing()
376 var->yres_virtual = nr_y; in acornfb_adjust_timing()
383 if (var->yres > var->yres_virtual) in acornfb_adjust_timing()
384 var->yres = var->yres_virtual; in acornfb_adjust_timing()
387 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing()
388 var->yoffset = var->yres_virtual; in acornfb_adjust_timing()
390 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing()
391 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing()
[all …]
Dgoldfishfb.c151 (var->yres_virtual > info->var.xres * 2) || in goldfish_fb_check_var()
152 (var->yres_virtual < info->var.xres)) { in goldfish_fb_check_var()
159 (var->yres_virtual > info->var.yres * 2) || in goldfish_fb_check_var()
160 (var->yres_virtual < info->var.yres)) { in goldfish_fb_check_var()
296 fb->fb.var.yres_virtual = height * 2; in goldfish_fb_probe()
363 framesize = fb->fb.var.xres_virtual * fb->fb.var.yres_virtual * in goldfish_fb_remove()
Dfb-puv3.c76 .yres_virtual = 480,
190 vyres = info->var.yres_virtual; in unifb_fillrect()
302 vyres = info->var.yres_virtual; in unifb_copyarea()
368 if (var->yres > var->yres_virtual) in unifb_check_var()
369 var->yres_virtual = var->yres; in unifb_check_var()
385 if (var->yres_virtual < var->yoffset + var->yres) in unifb_check_var()
386 var->yres_virtual = var->yoffset + var->yres; in unifb_check_var()
393 if (line_length * var->yres_virtual > UNIFB_MEMSIZE) in unifb_check_var()
625 || var->yoffset >= info->var.yres_virtual in unifb_pan_display()
630 var->yoffset + info->var.yres > info->var.yres_virtual) in unifb_pan_display()
Dwmt_ge_rops.c72 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_fillrect()
98 writel(p->var.yres_virtual - 1, regbase + GE_SRCDISPH_OFF); in wmt_ge_copyarea()
106 writel(p->var.yres_virtual - 1, regbase + GE_DESTDISPH_OFF); in wmt_ge_copyarea()
Dhitfb.c249 if (var->yres_virtual < var->yres) in hitfb_check_var()
250 var->yres_virtual = var->yres; in hitfb_check_var()
257 if (var->yres_virtual > maxy) in hitfb_check_var()
258 var->yres_virtual = maxy; in hitfb_check_var()
361 hitfb_var.yres_virtual = hitfb_fix.smem_len / lcdclor; in hitfb_probe()
Dbf537-lq035.c433 .yres_virtual = LCD_Y_RES,
538 info->var.yres_virtual != var->yres_virtual) { in bfin_lq035_fb_check_var()
548 if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { in bfin_lq035_fb_check_var()
550 __func__, var->yres_virtual); in bfin_lq035_fb_check_var()
732 bfin_lq035_fb_defined.yres_virtual = LCD_X_RES; in bfin_lq035_probe()
Dbfin-t350mcqb-fb.c276 info->var.yres_virtual != var->yres_virtual) { in bfin_t350mcqb_fb_check_var()
286 if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { in bfin_t350mcqb_fb_check_var()
288 __func__, var->yres_virtual); in bfin_t350mcqb_fb_check_var()
474 fbinfo->var.yres_virtual = LCD_Y_RES; in bfin_t350mcqb_probe()
Digafb.c81 .yres_virtual = 480,
105 .yres_virtual = 768,
128 .yres_virtual = 900,
151 .yres_virtual = 1024,
Dsm501fb.c329 if (var->xres_virtual > 4096 || var->yres_virtual > 2048) in sm501fb_check_var()
443 var->xres_virtual, var->yres_virtual); in sm501fb_set_par_common()
480 smem_len = info->fix.line_length * var->yres_virtual; in sm501fb_set_par_common()
620 reg = var->yoffset | (info->var.yres_virtual << 16); in sm501fb_pan_pnl()
1310 (sy >= info->var.yres_virtual)) in sm501fb_copyarea()
1315 if ((sy + height) >= info->var.yres_virtual) in sm501fb_copyarea()
1316 height = info->var.yres_virtual - sy - 1; in sm501fb_copyarea()
1320 (dy >= info->var.yres_virtual)) in sm501fb_copyarea()
1325 if ((dy + height) >= info->var.yres_virtual) in sm501fb_copyarea()
1326 height = info->var.yres_virtual - dy - 1; in sm501fb_copyarea()
[all …]
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()
522 au1100fb_var.yres_virtual = au1100fb_var.yres; in au1100fb_drv_probe()
Dvesafb.c362 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
363 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe()
365 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe()
368 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
Dbf54x-lq043fb.c354 info->var.yres_virtual != var->yres_virtual) { in bfin_bf54x_fb_check_var()
364 if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { in bfin_bf54x_fb_check_var()
366 __func__, var->yres_virtual); in bfin_bf54x_fb_check_var()
564 fbinfo->var.yres_virtual = info->mach_info->yres.defval; in bfin_bf54x_probe()
Dpvr2fb.c161 .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()
814 modememused *= fb_info->var.yres_virtual; in pvr2fb_common_init()
/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c104 const short h = var->yres_virtual; in fill_fb()
394 if (var->yres_virtual == 0) in check_fb_res_bounds()
395 var->yres_virtual = var->yres; in check_fb_res_bounds()
397 if (var->xres_virtual < xres_min || var->yres_virtual < yres_min) in check_fb_res_bounds()
411 if (var->yres > var->yres_virtual) in check_fb_res_bounds()
412 var->yres = var->yres_virtual; in check_fb_res_bounds()
421 var->yres_virtual = max_frame_size / in shrink_height()
424 if (var->yres_virtual < OMAPFB_PLANE_YRES_MIN) in shrink_height()
425 var->yres_virtual = OMAPFB_PLANE_YRES_MIN; in shrink_height()
427 if (var->yres > var->yres_virtual) in shrink_height()
[all …]
/drivers/video/fbdev/riva/
Dfbdev.c224 .yres_virtual = 480,
699 height = info->var.yres_virtual; in riva_load_video_mode()
832 if (var->yres_virtual < var->yres) in riva_update_var()
833 var->yres_virtual = var->yres; in riva_update_var()
882 if (var->xres_virtual == -1 && var->yres_virtual == -1) { in rivafb_do_maximize()
897 var->yres_virtual = modes[i].yres; in rivafb_do_maximize()
901 var->xres_virtual, var->yres_virtual); in rivafb_do_maximize()
904 (nom * var->yres_virtual)) & ~15; in rivafb_do_maximize()
907 } else if (var->yres_virtual == -1) { in rivafb_do_maximize()
909 var->yres_virtual = info->fix.smem_len * den / in rivafb_do_maximize()
[all …]
/drivers/gpu/drm/bochs/
Dbochs_hw.c157 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode()
161 bochs->yres_virtual); in bochs_hw_setmode()
172 bochs->yres_virtual); in bochs_hw_setmode()
/drivers/video/fbdev/nvidia/
Dnvidia.c95 .yres_virtual = 480,
415 info->var.xres, info->var.yres_virtual, in nvidia_calc_regs()
865 if (var->yres_virtual < var->yres) in nvidiafb_check_var()
866 var->yres_virtual = var->yres; in nvidiafb_check_var()
875 memlen = pitch * var->yres_virtual; in nvidiafb_check_var()
878 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var()
880 if (var->yres_virtual < var->yres) { in nvidiafb_check_var()
881 var->yres_virtual = var->yres; in nvidiafb_check_var()
882 var->xres_virtual = vramlen / var->yres_virtual; in nvidiafb_check_var()
894 var->yres_virtual, var->bits_per_pixel); in nvidiafb_check_var()
[all …]
/drivers/media/pci/ivtv/
Divtvfb.c584 ivtv_osd.lines = var->yres_virtual; in ivtvfb_set_var()
616 var->xres_virtual, var->yres_virtual, in ivtvfb_set_var()
732 var->xres_virtual * var->yres_virtual * (var->bits_per_pixel / 8) > oi->video_buffer_size || in _ivtvfb_check_var()
734 var->yres_virtual < var->yres) { in _ivtvfb_check_var()
736 var->xres_virtual, var->yres_virtual); in _ivtvfb_check_var()
765 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) { in _ivtvfb_check_var()
767 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual); in _ivtvfb_check_var()
816 var->xres_virtual, var->yres_virtual, in _ivtvfb_check_var()
840 if (var->yoffset + info->var.yres > info->var.yres_virtual || in ivtvfb_pan_display()
1047 oi->ivtvfb_defined.yres_virtual = oi->display_height; in ivtvfb_init_vidmode()
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c567 if (var->yres_virtual < var->yres) in matroxfb_decode_var()
568 var->yres_virtual = var->yres; in matroxfb_decode_var()
573 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var()
575 var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); in matroxfb_decode_var()
576 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var()
597 if (var->yres_virtual > max_yres) in matroxfb_decode_var()
598 var->yres_virtual = max_yres; in matroxfb_decode_var()
602 if (var->yres_virtual > 32767) in matroxfb_decode_var()
603 var->yres_virtual = 32767; in matroxfb_decode_var()
606 if (var->yres_virtual < var->yres) in matroxfb_decode_var()
[all …]
/drivers/staging/xgifb/
DXGI_main_26.c938 info->var.yres_virtual = var->yres_virtual; in XGIfb_do_set_var()
1033 xgifb_info->video_vheight = info->var.yres_virtual; in XGIfb_do_set_var()
1324 if (var->yres != var->yres_virtual) in XGIfb_check_var()
1325 var->yres_virtual = var->yres; in XGIfb_check_var()
1332 if (var->yoffset > var->yres_virtual - var->yres) in XGIfb_check_var()
1333 var->yoffset = var->yres_virtual - var->yres - 1; in XGIfb_check_var()
1351 if (var->yoffset > (info->var.yres_virtual - info->var.yres)) in XGIfb_pan_display()
1355 if (var->yoffset >= info->var.yres_virtual || var->xoffset) in XGIfb_pan_display()
1359 > info->var.yres_virtual) { in XGIfb_pan_display()
1972 fb_info->var.yres_virtual = xgifb_info->video_height; in xgifb_probe()
[all …]
/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1072 var->yres_virtual = in intelfb_init_var()
1074 if (var->yres_virtual < var->yres) in intelfb_init_var()
1075 var->yres_virtual = var->yres; in intelfb_init_var()
1077 var->yres_virtual = var->yres; in intelfb_init_var()
1246 (info->var.yres_virtual != var->yres_virtual) || in intelfb_check_var()
1255 var->yres_virtual > dinfo->initial_var.yres_virtual || in intelfb_check_var()
1256 var->yres_virtual < dinfo->initial_var.yres || in intelfb_check_var()
1311 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_check_var()
1312 v.yoffset = v.yres_virtual - v.yres; in intelfb_check_var()

1234567