Home
last modified time | relevance | path

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

/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()
1631 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display()
Datyfb_base.c809 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
820 vyres = var->yres_virtual; in aty_var_to_crtc()
834 if (vyres < yres + yoffset) in aty_var_to_crtc()
835 vyres = yres + yoffset; in aty_var_to_crtc()
873 if (vyres * line_length > info->fix.smem_len) in aty_var_to_crtc()
1009 crtc->vyres = vyres; in aty_var_to_crtc()
1260 var->yres_virtual = crtc->vyres; in aty_crtc_to_var()
1740 yoffset + yres > par->crtc.vyres) in atyfb_pan_display()
1826 fbtyp.fb_height = par->crtc.vyres; in atyfb_ioctl()
3071 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()
/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()
/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.c1973 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel() local
1976 divides(ypan, vc->vc_font.height) && vyres > yres; in updatescrollmode_accel()
1979 divides(vc->vc_font.height, vyres) && in updatescrollmode_accel()
2010 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode() local
2013 p->vrows = vyres/fh; in updatescrollmode()
2016 if ((yres % fh) && (vyres % fh < yres % fh)) in updatescrollmode()
/drivers/video/fbdev/
Dvga16fb.c337 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
420 vyres = var->yres_virtual; in vga16fb_check_var()
423 if (yres > vyres) in vga16fb_check_var()
424 vyres = yres; in vga16fb_check_var()
425 if (vxres * vyres > maxmem) { in vga16fb_check_var()
426 vyres = maxmem / vxres; in vga16fb_check_var()
427 if (vyres < yres) in vga16fb_check_var()
430 if (yoffset + yres > vyres) in vga16fb_check_var()
431 yoffset = vyres - yres; in vga16fb_check_var()
436 var->yres_virtual = vyres; in vga16fb_check_var()
[all …]
Dtgafb.c626 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
640 vyres = info->var.yres_virtual;
648 if (dx > vxres || dy > vyres)
652 if (dy + height > vyres)
653 height = vyres - dy;
839 u32 color, dx, dy, width, height, vxres, vyres; local
850 vyres = info->var.yres_virtual;
854 if (dx > vxres || dy > vyres)
858 if (dy + height > vyres)
859 height = vyres - dy;
[all …]
Dcontrolfb.c88 int vxres, vyres; member
112 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL()
496 par->vyres = var->yres_virtual; in control_var_to_par()
498 if (par->vyres < par->yres) in control_var_to_par()
499 par->vyres = par->yres; in control_var_to_par()
503 if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) in control_var_to_par()
508 if (par->yoffset + par->yres > par->vyres) in control_var_to_par()
509 par->yoffset = par->vyres - par->yres; in control_var_to_par()
578 var->yres_virtual = par->vyres; in control_par_to_var()
695 var->yoffset+par->yres > par->vyres) in controlfb_pan_display()
[all …]
Dpm3fb.c380 int vxres, vyres; in pm3fb_fillrect() local
398 vyres = info->var.yres_virtual; in pm3fb_fillrect()
403 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_fillrect()
408 if (modded.dy + modded.height > vyres) in pm3fb_fillrect()
409 modded.height = vyres - modded.dy; in pm3fb_fillrect()
444 u32 vxres, vyres; in pm3fb_copyarea() local
457 vyres = info->var.yres_virtual; in pm3fb_copyarea()
460 modded.sx >= vxres || modded.sy >= vyres || in pm3fb_copyarea()
461 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_copyarea()
468 if (modded.sy + modded.height > vyres) in pm3fb_copyarea()
[all …]
Dpm2fb.c1055 int vxres, vyres; in pm2fb_fillrect() local
1068 vyres = info->var.yres_virtual; in pm2fb_fillrect()
1073 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_fillrect()
1078 if (modded.dy + modded.height > vyres) in pm2fb_fillrect()
1079 modded.height = vyres - modded.dy; in pm2fb_fillrect()
1113 u32 vxres, vyres; in pm2fb_copyarea() local
1125 vyres = info->var.yres_virtual; in pm2fb_copyarea()
1128 modded.sx >= vxres || modded.sy >= vyres || in pm2fb_copyarea()
1129 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_copyarea()
1136 if (modded.sy + modded.height > vyres) in pm2fb_copyarea()
[all …]
Di740fb.c402 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
476 vyres = var->yres_virtual; in i740fb_decode_var()
477 if (yres > vyres) in i740fb_decode_var()
478 vyres = yres; in i740fb_decode_var()
481 if (yres + yoffset > vyres) in i740fb_decode_var()
482 yoffset = vyres - yres; in i740fb_decode_var()
488 mem = vxres * vyres * ((bpp + 1) / 8); in i740fb_decode_var()
495 if (yoffset + yres > vyres) in i740fb_decode_var()
496 yoffset = vyres - yres; in i740fb_decode_var()
Dcirrusfb.c1733 int vxres, vyres; in cirrusfb_fillrect() local
1747 vyres = info->var.yres_virtual; in cirrusfb_fillrect()
1752 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1757 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1758 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1772 u32 vxres, vyres; in cirrusfb_copyarea() local
1784 vyres = info->var.yres_virtual; in cirrusfb_copyarea()
1788 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1789 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1796 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.c72 int vxres, vyres; member
505 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()
/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()
/drivers/video/fbdev/i810/
Di810_main.c147 static int vyres; variable
873 u32 xres, yres, vxres, vyres; in i810_round_off() local
882 vyres = var->yres_virtual; in i810_round_off()
908 if (vyres < yres) in i810_round_off()
909 vyres = yres; in i810_round_off()
928 var->yres_virtual = vyres; in i810_round_off()
996 u32 vyres = var->yres_virtual, vxres = var->xres_virtual; in i810_check_params() local
1002 vidmem = line_length*vyres; in i810_check_params()
1005 vyres = par->fb.size/line_length; in i810_check_params()
1006 if (vyres < var->yres) { in i810_check_params()
[all …]
/drivers/video/fbdev/omap/
Domapfb_main.c1917 module_param_named(vyres, def_vyres, long, 0664);