/drivers/video/aty/ |
D | radeon_accel.c | 71 int vxres, vyres; in radeonfb_fillrect() local 83 vyres = info->var.yres_virtual; in radeonfb_fillrect() 88 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect() 92 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect() 138 u32 vxres, vyres; in radeonfb_copyarea() local 156 vyres = info->var.yres_virtual; in radeonfb_copyarea() 159 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea() 160 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea() 165 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; in radeonfb_copyarea() 166 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_copyarea()
|
D | aty128fb.c | 384 u32 vxres, vyres; member 1005 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1016 vyres = var->yres_virtual; in aty128_var_to_crtc() 1046 if (vyres < yres + yoffset) in aty128_var_to_crtc() 1047 vyres = yres + yoffset; in aty128_var_to_crtc() 1061 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc() 1119 crtc->vyres = vyres; in aty128_var_to_crtc() 1233 var->yres_virtual = crtc->vyres; in aty128_crtc_to_var() 1592 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display()
|
D | atyfb_base.c | 767 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local 777 vyres = var->yres_virtual; in aty_var_to_crtc() 791 if (vyres < yres + yoffset) in aty_var_to_crtc() 792 vyres = yres + yoffset; in aty_var_to_crtc() 830 if (vxres * vyres * bpp / 8 > info->fix.smem_len) in aty_var_to_crtc() 968 crtc->vyres = vyres; in aty_var_to_crtc() 1222 var->yres_virtual = crtc->vyres; in aty_crtc_to_var() 1666 if (xoffset + xres > par->crtc.vxres || yoffset + yres > par->crtc.vyres) in atyfb_pan_display() 1756 fbtyp.fb_height = par->crtc.vyres; in atyfb_ioctl() 3009 crtc.vyres = prom_getintdefault(node, "height", 768); in atyfb_setup_sparc()
|
D | atyfb.h | 13 u32 vyres; member
|
D | mach64_accel.c | 134 aty_st_le32(SC_BOTTOM, par->crtc.vyres - 1, par); in aty_init_engine()
|
/drivers/video/sis/ |
D | sis_accel.c | 323 u32 vyres = info->var.yres_virtual; in fbcon_sis_fillrect() local 335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 340 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() 373 u32 vyres = info->var.yres_virtual; in fbcon_sis_copyarea() local 387 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea() 388 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea() 394 if((area->sy + height) > vyres) height = vyres - area->sy; in fbcon_sis_copyarea() 395 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea()
|
/drivers/video/ |
D | vga16fb.c | 319 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 402 vyres = var->yres_virtual; in vga16fb_check_var() 405 if (yres > vyres) in vga16fb_check_var() 406 vyres = yres; in vga16fb_check_var() 407 if (vxres * vyres > maxmem) { in vga16fb_check_var() 408 vyres = maxmem / vxres; in vga16fb_check_var() 409 if (vyres < yres) in vga16fb_check_var() 412 if (yoffset + yres > vyres) in vga16fb_check_var() 413 yoffset = vyres - yres; in vga16fb_check_var() 418 var->yres_virtual = vyres; in vga16fb_check_var() [all …]
|
D | tgafb.c | 631 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 645 vyres = info->var.yres_virtual; 653 if (dx > vxres || dy > vyres) 657 if (dy + height > vyres) 658 height = vyres - dy; 844 u32 color, dx, dy, width, height, vxres, vyres; local 855 vyres = info->var.yres_virtual; 859 if (dx > vxres || dy > vyres) 863 if (dy + height > vyres) 864 height = vyres - dy; [all …]
|
D | controlfb.c | 60 int vxres, vyres; member 84 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL() 269 var->yoffset+par->yres > par->vyres) in controlfb_pan_display() 411 int full, sense, vmode, cmode, vyres; in init_control() local 469 vyres = (p->total_vram - CTRLFB_OFF) / (var.xres << cmode); in init_control() 470 if (vyres > var.yres) in init_control() 471 var.yres_virtual = vyres; in init_control() 901 par->vyres = var->yres_virtual; in control_var_to_par() 903 if (par->vyres < par->yres) in control_var_to_par() 904 par->vyres = par->yres; in control_var_to_par() [all …]
|
D | pm3fb.c | 387 int vxres, vyres; in pm3fb_fillrect() local 405 vyres = info->var.yres_virtual; in pm3fb_fillrect() 410 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_fillrect() 415 if (modded.dy + modded.height > vyres) in pm3fb_fillrect() 416 modded.height = vyres - modded.dy; in pm3fb_fillrect() 451 u32 vxres, vyres; in pm3fb_copyarea() local 464 vyres = info->var.yres_virtual; in pm3fb_copyarea() 467 modded.sx >= vxres || modded.sy >= vyres || in pm3fb_copyarea() 468 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_copyarea() 475 if (modded.sy + modded.height > vyres) in pm3fb_copyarea() [all …]
|
D | pm2fb.c | 1055 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 …]
|
D | cirrusfb.c | 1866 int vxres, vyres; in cirrusfb_fillrect() local 1880 vyres = info->var.yres_virtual; in cirrusfb_fillrect() 1885 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect() 1890 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect() 1891 modded.height = vyres - modded.dy; in cirrusfb_fillrect() 1905 u32 vxres, vyres; in cirrusfb_copyarea() local 1917 vyres = info->var.yres_virtual; in cirrusfb_copyarea() 1921 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea() 1922 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea() 1929 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea() [all …]
|
D | amifb.c | 719 int vyres; /* vmode */ member 2572 if ((par->vyres = var->yres_virtual) < par->yres) in ami_decode_var() 2573 par->vyres = par->yres; in ami_decode_var() 2854 if (par->next_line * par->vyres > fb_info.fix.smem_len) { in ami_decode_var() 2860 par->next_plane = par->vyres*par->next_line; in ami_decode_var() 2900 if (par->xoffset || par->yoffset < 0 || par->yoffset >= par->vyres) in ami_decode_var() 2904 par->yoffset < 0 || par->yoffset > par->vyres-par->yres) in ami_decode_var() 2935 var->yres_virtual = par->vyres; in ami_encode_var() 3077 if (par->yoffset > par->vyres-par->yres) { in ami_update_par() 3079 if (par->bplcon0 & BPC0_LACE && mod2(par->diwstrt_v+par->vyres-par->yoffset)) in ami_update_par() [all …]
|
D | valkyriefb.c | 82 int vxres, vyres; member 508 par->vyres = par->yres; in valkyrie_var_to_par()
|
D | platinumfb.c | 51 int vxres, vyres; member 481 pinfo->vyres = pinfo->yres; in platinum_var_to_par()
|
D | cyblafb.c | 1174 int xres; int vxres; int yres; int vyres; in getstartupmode() member 1306 info->var.yres_virtual = modedb[i].vyres; in getstartupmode()
|
/drivers/video/console/ |
D | fbcon_ccw.c | 67 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_bmove() local 70 area.sy = vyres - ((sx + width) * vc->vc_font.width); in ccw_bmove() 72 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove() 85 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_clear() local 89 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear() 142 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_putcs() local 150 image.dy = vyres - ((xx + count) * vc->vc_font.width); in ccw_putcs() 232 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_cursor() local 287 dy = vyres - ((vc->vc_x + 1) * vc->vc_font.width); in ccw_cursor() 398 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ccw_update_start() local [all …]
|
D | fbcon_ud.c | 52 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_bmove() local 55 area.sy = vyres - ((sy + height) * vc->vc_font.height); in ud_bmove() 57 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove() 71 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_clear() local 75 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear() 164 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_putcs() local 172 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs() 262 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_cursor() local 317 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor() 422 u32 vyres = GETVYRES(ops->p->scrollmode, info); in ud_update_start() local [all …]
|
D | fbcon.c | 2035 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode() local 2038 divides(ypan, vc->vc_font.height) && vyres > yres; in updatescrollmode() 2041 divides(vc->vc_font.height, vyres) && in updatescrollmode() 2049 p->vrows = vyres/fh; in updatescrollmode() 2052 if ((yres % fh) && (vyres % fh < yres % fh)) in updatescrollmode()
|
/drivers/video/i810/ |
D | i810_main.c | 146 static int vyres __devinitdata; 872 u32 xres, yres, vxres, vyres; in i810_round_off() local 881 vyres = var->yres_virtual; in i810_round_off() 907 if (vyres < yres) in i810_round_off() 908 vyres = yres; in i810_round_off() 927 var->yres_virtual = vyres; in i810_round_off() 995 u32 vyres = var->yres_virtual, vxres = var->xres_virtual; in i810_check_params() local 1001 vidmem = line_length*vyres; in i810_check_params() 1004 vyres = par->fb.size/line_length; in i810_check_params() 1005 if (vyres < var->yres) { in i810_check_params() [all …]
|
/drivers/video/omap/ |
D | omapfb_main.c | 1932 module_param_named(vyres, def_vyres, long, 0664);
|