Home
last modified time | relevance | path

Searched refs:vyres (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/video/fbdev/aty/
Dradeon_accel.c72 int vxres, vyres; in radeonfb_fillrect() local
84 vyres = info->var.yres_virtual; in radeonfb_fillrect()
89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
93 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect()
139 u32 vxres, vyres; in radeonfb_copyarea() local
157 vyres = info->var.yres_virtual; in radeonfb_copyarea()
160 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea()
161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
166 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; in radeonfb_copyarea()
167 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_copyarea()
Daty128fb.c419 u32 vxres, vyres; member
1036 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
1047 vyres = var->yres_virtual; in aty128_var_to_crtc()
1077 if (vyres < yres + yoffset) in aty128_var_to_crtc()
1078 vyres = yres + yoffset; in aty128_var_to_crtc()
1092 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc()
1150 crtc->vyres = vyres; in aty128_var_to_crtc()
1264 var->yres_virtual = crtc->vyres; in aty128_crtc_to_var()
1633 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display()
Datyfb_base.c819 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
830 vyres = var->yres_virtual; in aty_var_to_crtc()
844 if (vyres < yres + yoffset) in aty_var_to_crtc()
845 vyres = yres + yoffset; in aty_var_to_crtc()
883 if (vyres * line_length > info->fix.smem_len) in aty_var_to_crtc()
1019 crtc->vyres = vyres; in aty_var_to_crtc()
1270 var->yres_virtual = crtc->vyres; in aty_crtc_to_var()
1750 yoffset + yres > par->crtc.vyres) in atyfb_pan_display()
1836 fbtyp.fb_height = par->crtc.vyres; in atyfb_ioctl()
3081 crtc.vyres = of_getintprop_default(dp, "height", 768); in atyfb_setup_sparc()
Datyfb.h14 u32 vyres; member
Dmach64_accel.c142 aty_st_le32(SC_BOTTOM, par->crtc.vyres - 1, par); in aty_init_engine()
/linux-6.1.9/drivers/video/fbdev/sis/
Dsis_accel.c310 u32 vyres = info->var.yres_virtual; in fbcon_sis_fillrect() local
322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect()
360 u32 vyres = info->var.yres_virtual; in fbcon_sis_copyarea() local
374 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea()
375 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea()
381 if((area->sy + height) > vyres) height = vyres - area->sy; in fbcon_sis_copyarea()
382 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea()
/linux-6.1.9/drivers/video/fbdev/core/
Dfbcon_ud.c53 u32 vyres = GETVYRES(ops->p, info); in ud_bmove() local
56 area.sy = vyres - ((sy + height) * vc->vc_font.height); in ud_bmove()
58 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove()
72 u32 vyres = GETVYRES(ops->p, info); in ud_clear() local
76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
165 u32 vyres = GETVYRES(ops->p, info); in ud_putcs() local
173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
262 u32 vyres = GETVYRES(ops->p, info); in ud_cursor() local
308 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
413 u32 vyres = GETVYRES(ops->p, info); in ud_update_start() local
[all …]
Dfbcon_ccw.c68 u32 vyres = GETVYRES(ops->p, info); in ccw_bmove() local
71 area.sy = vyres - ((sx + width) * vc->vc_font.width); in ccw_bmove()
73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove()
86 u32 vyres = GETVYRES(ops->p, info); in ccw_clear() local
90 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear()
143 u32 vyres = GETVYRES(ops->p, info); in ccw_putcs() local
151 image.dy = vyres - ((xx + count) * vc->vc_font.width); in ccw_putcs()
232 u32 vyres = GETVYRES(ops->p, info); in ccw_cursor() local
278 dy = vyres - ((vc->state.x + 1) * vc->vc_font.width); in ccw_cursor()
390 u32 vyres = GETVYRES(ops->p, info); in ccw_update_start() local
[all …]
Dfbcon.c1949 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel() local
1952 divides(ypan, vc->vc_font.height) && vyres > yres; in updatescrollmode_accel()
1955 divides(vc->vc_font.height, vyres) && in updatescrollmode_accel()
1986 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode() local
1989 p->vrows = vyres/fh; in updatescrollmode()
1992 if ((yres % fh) && (vyres % fh < yres % fh)) in updatescrollmode()
/linux-6.1.9/drivers/video/fbdev/
Dvga16fb.c334 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
417 vyres = var->yres_virtual; in vga16fb_check_var()
420 if (yres > vyres) in vga16fb_check_var()
421 vyres = yres; in vga16fb_check_var()
422 if (vxres * vyres > maxmem) { in vga16fb_check_var()
423 vyres = maxmem / vxres; in vga16fb_check_var()
424 if (vyres < yres) in vga16fb_check_var()
427 if (yoffset + yres > vyres) in vga16fb_check_var()
428 yoffset = vyres - yres; in vga16fb_check_var()
433 var->yres_virtual = vyres; in vga16fb_check_var()
[all …]
Dtgafb.c630 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
644 vyres = info->var.yres_virtual;
652 if (dx > vxres || dy > vyres)
656 if (dy + height > vyres)
657 height = vyres - dy;
843 u32 color, dx, dy, width, height, vxres, vyres; local
854 vyres = info->var.yres_virtual;
858 if (dx > vxres || dy > vyres)
862 if (dy + height > vyres)
863 height = vyres - dy;
[all …]
Dcontrolfb.c85 int vxres, vyres; member
109 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL()
486 par->vyres = var->yres_virtual; in control_var_to_par()
488 if (par->vyres < par->yres) in control_var_to_par()
489 par->vyres = par->yres; in control_var_to_par()
493 if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) in control_var_to_par()
498 if (par->yoffset + par->yres > par->vyres) in control_var_to_par()
499 par->yoffset = par->vyres - par->yres; in control_var_to_par()
568 var->yres_virtual = par->vyres; in control_par_to_var()
685 var->yoffset+par->yres > par->vyres) in controlfb_pan_display()
[all …]
Dpm3fb.c381 int vxres, vyres; in pm3fb_fillrect() local
399 vyres = info->var.yres_virtual; in pm3fb_fillrect()
404 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_fillrect()
409 if (modded.dy + modded.height > vyres) in pm3fb_fillrect()
410 modded.height = vyres - modded.dy; in pm3fb_fillrect()
445 u32 vxres, vyres; in pm3fb_copyarea() local
458 vyres = info->var.yres_virtual; in pm3fb_copyarea()
461 modded.sx >= vxres || modded.sy >= vyres || in pm3fb_copyarea()
462 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_copyarea()
469 if (modded.sy + modded.height > vyres) in pm3fb_copyarea()
[all …]
Dpm2fb.c1057 int vxres, vyres; in pm2fb_fillrect() local
1070 vyres = info->var.yres_virtual; in pm2fb_fillrect()
1075 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_fillrect()
1080 if (modded.dy + modded.height > vyres) in pm2fb_fillrect()
1081 modded.height = vyres - modded.dy; in pm2fb_fillrect()
1115 u32 vxres, vyres; in pm2fb_copyarea() local
1127 vyres = info->var.yres_virtual; in pm2fb_copyarea()
1130 modded.sx >= vxres || modded.sy >= vyres || in pm2fb_copyarea()
1131 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_copyarea()
1138 if (modded.sy + modded.height > vyres) in pm2fb_copyarea()
[all …]
Di740fb.c403 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
477 vyres = var->yres_virtual; in i740fb_decode_var()
478 if (yres > vyres) in i740fb_decode_var()
479 vyres = yres; in i740fb_decode_var()
482 if (yres + yoffset > vyres) in i740fb_decode_var()
483 yoffset = vyres - yres; in i740fb_decode_var()
489 mem = vxres * vyres * ((bpp + 1) / 8); in i740fb_decode_var()
496 if (yoffset + yres > vyres) in i740fb_decode_var()
497 yoffset = vyres - yres; in i740fb_decode_var()
Dcirrusfb.c1735 int vxres, vyres; in cirrusfb_fillrect() local
1749 vyres = info->var.yres_virtual; in cirrusfb_fillrect()
1754 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1759 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1760 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1774 u32 vxres, vyres; in cirrusfb_copyarea() local
1786 vyres = info->var.yres_virtual; in cirrusfb_copyarea()
1790 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1791 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1798 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea()
[all …]
Damifb.c725 int vyres; /* vmode */ member
1158 if ((par->vyres = var->yres_virtual) < par->yres) in ami_decode_var()
1159 par->vyres = par->yres; in ami_decode_var()
1447 if (par->next_line * par->vyres > info->fix.smem_len) { in ami_decode_var()
1453 par->next_plane = par->vyres * par->next_line; in ami_decode_var()
1493 if (par->yoffset >= par->vyres) in ami_decode_var()
1497 par->yoffset > par->vyres - par->yres) in ami_decode_var()
1528 var->yres_virtual = par->vyres; in ami_encode_var()
1646 if (par->yoffset > par->vyres - par->yres) { in ami_update_par()
1649 mod2(par->diwstrt_v + par->vyres - in ami_update_par()
[all …]
Dvalkyriefb.c71 int vxres, vyres; member
500 par->vyres = par->yres; in valkyrie_var_to_par()
Dplatinumfb.c48 int vxres, vyres; member
480 pinfo->vyres = pinfo->yres; in platinum_var_to_par()
/linux-6.1.9/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c196 int x2, y2, vxres, vyres; in mb86290fb_imageblit() local
201 vyres = info->var.yres_virtual; in mb86290fb_imageblit()
203 y2 = min(y2, vyres); in mb86290fb_imageblit()
254 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local
258 vyres = info->var.yres_virtual; in mb86290fb_fillrect()
261 || rect->dy > vyres) in mb86290fb_fillrect()
269 y2 = min(y2, vyres); in mb86290fb_fillrect()
/linux-6.1.9/drivers/video/fbdev/i810/
Di810_main.c148 static int vyres; variable
874 u32 xres, yres, vxres, vyres; in i810_round_off() local
883 vyres = var->yres_virtual; in i810_round_off()
909 if (vyres < yres) in i810_round_off()
910 vyres = yres; in i810_round_off()
929 var->yres_virtual = vyres; in i810_round_off()
997 u32 vyres = var->yres_virtual, vxres = var->xres_virtual; in i810_check_params() local
1003 vidmem = line_length*vyres; in i810_check_params()
1006 vyres = par->fb.size/line_length; in i810_check_params()
1007 if (vyres < var->yres) { in i810_check_params()
[all …]
/linux-6.1.9/Documentation/fb/
Dcirrusfb.rst48 * Hint for AXP: Use -accel false -vyres -1 when changing resolution
Dintel810.rst80 d. "vyres:<value>"
Dmatroxfb.rst136 nopan create initial consoles with vyres = yres, thus disabling virtual
138 pan create initial consoles as tall as possible (vyres = memory/vxres).
/linux-6.1.9/Documentation/arm/omap/
Ddss.rst255 fbset -fb /dev/fb0 -xres $w -yres $h -vxres $w -vyres $h

12