Home
last modified time | relevance | path

Searched refs:vxres (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/drivers/video/sis/
Dsis_accel.c342 u32 vxres = info->var.xres_virtual; in fbcon_sis_fillrect() local
356 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) { in fbcon_sis_fillrect()
361 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect()
395 u32 vxres = info->var.xres_virtual; in fbcon_sis_copyarea() local
411 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea()
412 area->dx >= vxres || area->dy >= vyres) { in fbcon_sis_copyarea()
417 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea()
418 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea()
/linux-2.4.37.9/drivers/video/
Dvga16fb.c246 u32 vxres, xoffset, vyres, yoffset; in vga16fb_decode_var() local
254 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_decode_var()
260 if (vxres < xres) in vga16fb_decode_var()
261 vxres = xres; in vga16fb_decode_var()
262 if (xres + xoffset > vxres) in vga16fb_decode_var()
263 xoffset = vxres - xres; in vga16fb_decode_var()
269 par->var.xres_virtual = vxres; in vga16fb_decode_var()
276 vxres >>= 3; in vga16fb_decode_var()
305 if (vxres * vyres > 65536) { in vga16fb_decode_var()
306 vyres = 65536 / vxres; in vga16fb_decode_var()
[all …]
Dcontrolfb.c67 int vxres, vyres; member
91 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL()
368 if (xoffset+par->xres > par->vxres || in control_pan_display()
1072 par->vxres = (var->xres_virtual + hstep) & ~hstep; in control_var_to_par()
1074 if (par->vxres < par->xres) in control_var_to_par()
1075 par->vxres = par->xres; in control_var_to_par()
1076 par->pitch = par->vxres << par->cmode; in control_var_to_par()
1089 if (par->xoffset + par->xres > par->vxres) in control_var_to_par()
1090 par->xoffset = par->vxres - par->xres; in control_var_to_par()
1160 var->xres_virtual = par->vxres; in control_par_to_var()
Daty128fb.c269 u32 vxres, vyres; member
812 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
823 vxres = var->xres_virtual; in aty128_var_to_crtc()
851 if (vxres < xres + xoffset) in aty128_var_to_crtc()
852 vxres = xres + xoffset; in aty128_var_to_crtc()
869 if ((u32)(vxres * vyres * bytpp) > info->vram_size) { in aty128_var_to_crtc()
917 crtc->pitch = vxres >> 3; in aty128_var_to_crtc()
926 crtc->vxres = vxres; in aty128_var_to_crtc()
1048 var->xres_virtual = crtc->vxres; in aty128_crtc_to_var()
1340 display_info.pitch = (par->crtc.vxres * par->crtc.bpp) >> 3; in aty128_set_par()
[all …]
Dpvr2fb.c130 int vxres; member
664 if ((par->vxres = var->xres_virtual) < par->xres) in pvr2_decode_var()
665 par->vxres = par->xres; in pvr2_decode_var()
760 if (par->xoffset < 0 || par->xoffset > par->vxres-par->xres || in pvr2_decode_var()
771 par->disp_start = videomemory + (get_line_length(par->vxres, par->bpp) * in pvr2_decode_var()
785 var->xres_virtual = par->vxres; in pvr2_encode_var()
Dvalkyriefb.c98 int vxres, vyres; member
697 par->vxres = par->xres; in valkyrie_var_to_par()
761 fix->line_length = par->vxres << par->cmode; in valkyrie_par_to_fix()
Damifb.c682 int vxres; /* vmode */ member
1955 fix->line_length = div8(upx(16<<maxfmode, par->vxres)); in ami_encode_fix()
2006 if ((par->vxres = var->xres_virtual) < par->xres) in ami_decode_var()
2007 par->vxres = par->xres; in ami_decode_var()
2288 par->next_plane = div8(upx(16<<maxfmode, par->vxres)); in ami_decode_var()
2295 par->next_line = div8(upx(16<<maxfmode, par->vxres)); in ami_decode_var()
2339 if (par->xoffset < 0 || par->xoffset > upx(16<<maxfmode, par->vxres-par->xres) || in ami_decode_var()
2378 var->xres_virtual = par->vxres; in ami_encode_var()
Dplatinumfb.c61 int vxres, vyres; member
803 par->vxres = par->xres; in platinum_var_to_par()
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_accel.c1010 unsigned vxres; in matrox_text_round() local
1016 vxres = (var->xres_virtual + hf - 1) / hf; in matrox_text_round()
1017 if (vxres >= 256) in matrox_text_round()
1018 vxres = 255; in matrox_text_round()
1019 if (vxres < 16) in matrox_text_round()
1020 vxres = 16; in matrox_text_round()
1021 vxres = (vxres + 1) & ~1; /* must be even */ in matrox_text_round()
1025 ych = ACCESS_FBINFO(devflags.textvram) / vxres; in matrox_text_round()
1029 if (vxres * ych > ACCESS_FBINFO(devflags.textvram)) { in matrox_text_round()
1030 ych = ACCESS_FBINFO(devflags.textvram) / vxres; in matrox_text_round()
[all …]
Dmatroxfb_DAC1064.c789 ACCESS_FBINFO(capable.vxres) = vxres_mystique; in MGA1064_preinit()
984 ACCESS_FBINFO(capable.vxres) = vxres_g100; in MGAG100_preinit()
Dmatroxfb_base.h550 const int* vxres; member
Dmatroxfb_Ti3026.c836 ACCESS_FBINFO(capable.vxres) = isMilleniumII(MINFO)?vxres_mill2:vxres_mill1; in Ti3026_preinit()
Dmatroxfb_base.c529 width = ACCESS_FBINFO(capable.vxres); in matroxfb_pitch_adjust()
/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c574 u32 xres, yres, ryres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
587 vxres = var->xres_virtual; in aty_var_to_crtc()
605 vxres = (vxres+7) & ~7; in aty_var_to_crtc()
606 if (vxres < xres+xoffset) in aty_var_to_crtc()
607 vxres = xres+xoffset; in aty_var_to_crtc()
678 if (vxres*vyres*bpp/8 > info->total_vram) in aty_var_to_crtc()
685 crtc->vxres = vxres; in aty_var_to_crtc()
690 crtc->off_pitch = ((yoffset*vxres+xoffset)*bpp/64) | (vxres<<19); in aty_var_to_crtc()
907 var->xres_virtual = crtc->vxres; in aty_crtc_to_var()
1031 display_info.pitch = par->crtc.vxres*par->crtc.bpp/8; in atyfb_set_par()
[all …]
Dmach64_accel.c62 pitch_value = par->crtc.vxres; in aty_init_engine()
196 pitch_value = info->current_par.crtc.vxres; in aty_rectcopy()
Datyfb.h15 u32 vxres; member
/linux-2.4.37.9/Documentation/fb/
Dmatroxfb.txt126 pan - create initial consoles as tall as possible (vyres = memory/vxres).