Searched refs:vxres (Results 1 - 31 of 31) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_accel.c71 int vxres, vyres; radeonfb_fillrect() local
82 vxres = info->var.xres_virtual; radeonfb_fillrect()
88 modded.dx >= vxres || modded.dy >= vyres) radeonfb_fillrect()
91 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; radeonfb_fillrect()
138 u32 vxres, vyres; radeonfb_copyarea() local
155 vxres = info->var.xres_virtual; radeonfb_copyarea()
159 modded.sx >= vxres || modded.sy >= vyres || radeonfb_copyarea()
160 modded.dx >= vxres || modded.dy >= vyres) radeonfb_copyarea()
163 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; radeonfb_copyarea()
164 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; radeonfb_copyarea()
H A Dmach64_accel.c67 u32 vxres; aty_init_engine() local
71 vxres = info->var.xres_virtual; aty_init_engine()
77 vxres *= 3; aty_init_engine()
140 aty_st_le32(SC_RIGHT, vxres - 1, par); aty_init_engine()
H A Daty128fb.c433 u32 vxres, vyres; member in struct:aty128_crtc
1057 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; aty128_var_to_crtc() local
1067 vxres = var->xres_virtual; aty128_var_to_crtc()
1095 if (vxres < xres + xoffset) aty128_var_to_crtc()
1096 vxres = xres + xoffset; aty128_var_to_crtc()
1113 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { aty128_var_to_crtc()
1161 crtc->pitch = vxres >> 3; aty128_var_to_crtc()
1170 crtc->vxres = vxres; aty128_var_to_crtc()
1284 var->xres_virtual = crtc->vxres; aty128_crtc_to_var()
1547 info->fix.line_length = (par->crtc.vxres * par->crtc.bpp) >> 3; aty128fb_set_par()
1563 par->crtc.vxres*par->crtc.bpp/8); aty128fb_set_par()
1652 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) aty128fb_pan_display()
1658 offset = ((yoffset * par->crtc.vxres + xoffset) * (par->crtc.bpp >> 3)) aty128fb_pan_display()
H A Datyfb.h12 u32 vxres; member in struct:crtc
H A Datyfb_base.c779 static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) calc_line_length() argument
781 u32 line_length = vxres * bpp / 8; calc_line_length()
795 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; aty_var_to_crtc() local
805 vxres = (var->xres_virtual + 7) & ~7; aty_var_to_crtc()
816 if (vxres < xres + xoffset) aty_var_to_crtc()
817 vxres = xres + xoffset; aty_var_to_crtc()
857 line_length = calc_line_length(par, vxres, bpp); aty_var_to_crtc()
1000 crtc->vxres = vxres; aty_var_to_crtc()
1264 var->xres_virtual = crtc->vxres; aty_crtc_to_var()
1464 par->crtc.vxres * var->bits_per_pixel / 8); atyfb_set_par()
1745 if (xoffset + xres > par->crtc.vxres || atyfb_pan_display()
1831 fbtyp.fb_width = par->crtc.vxres; atyfb_ioctl()
3090 crtc.vxres = of_getintprop_default(dp, "width", 1024); atyfb_setup_sparc()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dlcd_dma.c62 int vxres; member in struct:lcd_dma_info
113 void omap_set_lcd_dma_b1_vxres(unsigned long vxres) omap_set_lcd_dma_b1_vxres() argument
119 lcd_dma.vxres = vxres; omap_set_lcd_dma_b1_vxres()
141 unsigned long vxres; set_b1_regs() local
159 vxres = lcd_dma.vxres ? lcd_dma.vxres : lcd_dma.xres; set_b1_regs()
162 BUG_ON(vxres < lcd_dma.xres); set_b1_regs()
165 ((y) * vxres * yscale + (x) * xscale) * es) set_b1_regs()
272 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) set_b1_regs()
321 lcd_dma.vxres = 0; omap_request_lcd_dma()
/linux-4.1.27/drivers/video/console/
H A Dfbcon_cw.c53 u32 vxres = GETVXRES(ops->p->scrollmode, info); cw_bmove() local
55 area.sx = vxres - ((sy + height) * vc->vc_font.height); cw_bmove()
57 area.dx = vxres - ((dy + height) * vc->vc_font.height); cw_bmove()
71 u32 vxres = GETVXRES(ops->p->scrollmode, info); cw_clear() local
74 region.dx = vxres - ((sy + height) * vc->vc_font.height); cw_clear()
128 u32 vxres = GETVXRES(ops->p->scrollmode, info); cw_putcs() local
135 image.dx = vxres - ((yy + 1) * vc->vc_font.height); cw_putcs()
215 u32 vxres = GETVXRES(ops->p->scrollmode, info); cw_cursor() local
269 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); cw_cursor()
380 u32 vxres = GETVXRES(ops->p->scrollmode, info); cw_update_start() local
384 xoffset = vxres - (info->var.xres + ops->var.yoffset); cw_update_start()
H A Dfbcon_ud.c54 u32 vxres = GETVXRES(ops->p->scrollmode, info); ud_bmove() local
57 area.sx = vxres - ((sx + width) * vc->vc_font.width); ud_bmove()
59 area.dx = vxres - ((dx + width) * vc->vc_font.width); ud_bmove()
73 u32 vxres = GETVXRES(ops->p->scrollmode, info); ud_clear() local
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); ud_clear()
166 u32 vxres = GETVXRES(ops->p->scrollmode, info); ud_putcs() local
174 image.dx = vxres - ((xx + count) * vc->vc_font.width); ud_putcs()
263 u32 vxres = GETVXRES(ops->p->scrollmode, info); ud_cursor() local
318 dx = vxres - ((vc->vc_x * vc->vc_font.width) + vc->vc_font.width); ud_cursor()
423 u32 vxres = GETVXRES(ops->p->scrollmode, info); ud_update_start() local
426 xoffset = vxres - info->var.xres - ops->var.xoffset; ud_update_start()
/linux-4.1.27/drivers/video/fbdev/sis/
H A Dsis_accel.c322 u32 vxres = info->var.xres_virtual; fbcon_sis_fillrect() local
335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) fbcon_sis_fillrect()
339 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; fbcon_sis_fillrect()
372 u32 vxres = info->var.xres_virtual; fbcon_sis_copyarea() local
387 area->sx >= vxres || area->sy >= vyres || fbcon_sis_copyarea()
388 area->dx >= vxres || area->dy >= vyres) fbcon_sis_copyarea()
392 if((area->sx + width) > vxres) width = vxres - area->sx; fbcon_sis_copyarea()
393 if((area->dx + width) > vxres) width = vxres - area->dx; fbcon_sis_copyarea()
/linux-4.1.27/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c201 int x2, y2, vxres, vyres; mb86290fb_imageblit() local
206 vxres = info->var.xres_virtual; mb86290fb_imageblit()
208 x2 = min(x2, vxres); mb86290fb_imageblit()
260 u32 x2, y2, vxres, vyres, height, width, fg; mb86290fb_fillrect() local
263 vxres = info->var.xres_virtual; mb86290fb_fillrect()
266 if (!rect->width || !rect->height || rect->dx > vxres mb86290fb_fillrect()
274 x2 = min(x2, vxres); mb86290fb_fillrect()
/linux-4.1.27/drivers/video/fbdev/
H A Dvga16fb.c318 u32 vxres, xoffset, vyres, yoffset; vga16fb_check_var() local
355 vxres = (var->xres_virtual + 0xF) & ~0xF; vga16fb_check_var()
361 if (vxres < xres) vga16fb_check_var()
362 vxres = xres; vga16fb_check_var()
363 if (xres + xoffset > vxres) vga16fb_check_var()
364 xoffset = vxres - xres; vga16fb_check_var()
370 var->xres_virtual = vxres; vga16fb_check_var()
377 vxres >>= shift; vga16fb_check_var()
406 if (vxres * vyres > maxmem) { vga16fb_check_var()
407 vyres = maxmem / vxres; vga16fb_check_var()
452 pos = yoffset * vxres + (xoffset >> shift); vga16fb_check_var()
477 if (vxres >= 512) vga16fb_check_var()
478 FAIL("vxres too long"); vga16fb_check_var()
479 par->crtc[VGA_CRTC_OFFSET] = vxres >> 1; vga16fb_check_var()
883 int x, x2, y2, vxres, vyres, width, height, line_ofs; vga16fb_fillrect() local
886 vxres = info->var.xres_virtual; vga16fb_fillrect()
889 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) vga16fb_fillrect()
897 x2 = x2 < vxres ? x2 : vxres; vga16fb_fillrect()
1014 int x, x2, y2, old_dx, old_dy, vxres, vyres; vga16fb_copyarea() local
1019 vxres = info->var.xres_virtual; vga16fb_copyarea()
1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || vga16fb_copyarea()
1038 x2 = x2 < vxres ? x2 : vxres; vga16fb_copyarea()
1051 if (sx + width > vxres || sy + height > vyres) vga16fb_copyarea()
H A Dfb-puv3.c182 int vxres, vyres; unifb_fillrect() local
189 vxres = info->var.xres_virtual; unifb_fillrect()
195 modded.dx >= vxres || modded.dy >= vyres) unifb_fillrect()
198 if (modded.dx + modded.width > vxres) unifb_fillrect()
199 modded.width = vxres - modded.dx; unifb_fillrect()
288 u32 vxres, vyres; unifb_copyarea() local
301 vxres = info->var.xres_virtual; unifb_copyarea()
305 modded.sx >= vxres || modded.sy >= vyres || unifb_copyarea()
306 modded.dx >= vxres || modded.dy >= vyres) unifb_copyarea()
309 if (modded.sx + modded.width > vxres) unifb_copyarea()
310 modded.width = vxres - modded.sx; unifb_copyarea()
311 if (modded.dx + modded.width > vxres) unifb_copyarea()
312 modded.width = vxres - modded.dx; unifb_copyarea()
H A Dtgafb.c623 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; tgafb_mono_imageblit() local
636 vxres = info->var.xres_virtual; tgafb_mono_imageblit()
645 if (dx > vxres || dy > vyres) tgafb_mono_imageblit()
647 if (dx + width > vxres) tgafb_mono_imageblit()
648 width = vxres - dx; tgafb_mono_imageblit()
836 u32 color, dx, dy, width, height, vxres, vyres; tgafb_clut_imageblit() local
846 vxres = info->var.xres_virtual; tgafb_clut_imageblit()
851 if (dx > vxres || dy > vyres) tgafb_clut_imageblit()
853 if (dx + width > vxres) tgafb_clut_imageblit()
854 width = vxres - dx; tgafb_clut_imageblit()
924 u32 dx, dy, width, height, vxres, vyres, color; tgafb_fillrect() local
933 vxres = info->var.xres_virtual; tgafb_fillrect()
940 if (dx > vxres || dy > vyres || !width || !height) tgafb_fillrect()
942 if (dx + width > vxres) tgafb_fillrect()
943 width = vxres - dx; tgafb_fillrect()
1253 unsigned long dx, dy, width, height, sx, sy, vxres, vyres; tgafb_copyarea() local
1262 vxres = info->var.xres_virtual; tgafb_copyarea()
1267 if (dx > vxres || sx > vxres || dy > vyres || sy > vyres) tgafb_copyarea()
1271 if (dx + width > vxres) tgafb_copyarea()
1272 width = vxres - dx; tgafb_copyarea()
1277 if (sx + width > vxres || sy + height > vyres) tgafb_copyarea()
H A Di740fb.c412 u32 vxres, xoffset, vyres, yoffset; i740fb_decode_var() local
472 vxres = ALIGN(var->xres_virtual, 16); i740fb_decode_var()
473 if (vxres < xres) i740fb_decode_var()
474 vxres = xres; i740fb_decode_var()
477 if (xres + xoffset > vxres) i740fb_decode_var()
478 xoffset = vxres - xres; i740fb_decode_var()
497 mem = vxres * vyres * ((bpp + 1) / 8); i740fb_decode_var()
591 base = (yoffset * vxres + (xoffset & ~7)) >> 2; i740fb_decode_var()
594 par->crtc[VGA_CRTC_OFFSET] = vxres >> 3; i740fb_decode_var()
595 par->ext_offset = vxres >> 11; i740fb_decode_var()
603 par->crtc[VGA_CRTC_OFFSET] = vxres >> 2; i740fb_decode_var()
604 par->ext_offset = vxres >> 10; i740fb_decode_var()
609 par->crtc[VGA_CRTC_OFFSET] = (vxres * 3) >> 3; i740fb_decode_var()
610 par->ext_offset = (vxres * 3) >> 11; i740fb_decode_var()
617 par->crtc[VGA_CRTC_OFFSET] = vxres >> 1; i740fb_decode_var()
618 par->ext_offset = vxres >> 9; i740fb_decode_var()
H A Dpm3fb.c387 int vxres, vyres; pm3fb_fillrect() local
404 vxres = info->var.xres_virtual; pm3fb_fillrect()
410 modded.dx >= vxres || modded.dy >= vyres) pm3fb_fillrect()
413 if (modded.dx + modded.width > vxres) pm3fb_fillrect()
414 modded.width = vxres - modded.dx; pm3fb_fillrect()
451 u32 vxres, vyres; pm3fb_copyarea() local
463 vxres = info->var.xres_virtual; pm3fb_copyarea()
467 modded.sx >= vxres || modded.sy >= vyres || pm3fb_copyarea()
468 modded.dx >= vxres || modded.dy >= vyres) pm3fb_copyarea()
471 if (modded.sx + modded.width > vxres) pm3fb_copyarea()
472 modded.width = vxres - modded.sx; pm3fb_copyarea()
473 if (modded.dx + modded.width > vxres) pm3fb_copyarea()
474 modded.width = vxres - modded.dx; pm3fb_copyarea()
H A Dcontrolfb.c62 int vxres, vyres; member in struct:fb_par_control
86 && !DIRTY(vxres) && !DIRTY(vyres)); PAR_EQUAL()
272 if (xoffset+par->xres > par->vxres || controlfb_pan_display()
886 * adjust xres and vxres so that the corresponding memory widths are control_var_to_par()
891 par->vxres = (var->xres_virtual + hstep) & ~hstep; control_var_to_par()
893 if (par->vxres < par->xres) control_var_to_par()
894 par->vxres = par->xres; control_var_to_par()
895 par->pitch = par->vxres << par->cmode; control_var_to_par()
908 if (par->xoffset + par->xres > par->vxres) control_var_to_par()
909 par->xoffset = par->vxres - par->xres; control_var_to_par()
979 var->xres_virtual = par->vxres; control_par_to_var()
H A Dpm2fb.c1055 int vxres, vyres; pm2fb_fillrect() local
1067 vxres = info->var.xres_virtual; pm2fb_fillrect()
1073 modded.dx >= vxres || modded.dy >= vyres) pm2fb_fillrect()
1076 if (modded.dx + modded.width > vxres) pm2fb_fillrect()
1077 modded.width = vxres - modded.dx; pm2fb_fillrect()
1113 u32 vxres, vyres; pm2fb_copyarea() local
1124 vxres = info->var.xres_virtual; pm2fb_copyarea()
1128 modded.sx >= vxres || modded.sy >= vyres || pm2fb_copyarea()
1129 modded.dx >= vxres || modded.dy >= vyres) pm2fb_copyarea()
1132 if (modded.sx + modded.width > vxres) pm2fb_copyarea()
1133 modded.width = vxres - modded.sx; pm2fb_copyarea()
1134 if (modded.dx + modded.width > vxres) pm2fb_copyarea()
1135 modded.width = vxres - modded.dx; pm2fb_copyarea()
H A Dvalkyriefb.c81 int vxres, vyres; member in struct:fb_par_valkyrie
514 par->vxres = par->xres; valkyrie_var_to_par()
544 fix->line_length = par->vxres << par->cmode; valkyrie_par_to_fix()
H A Dcirrusfb.c1732 int vxres, vyres; cirrusfb_fillrect() local
1745 vxres = info->var.xres_virtual; cirrusfb_fillrect()
1751 modded.dx >= vxres || modded.dy >= vyres) cirrusfb_fillrect()
1754 if (modded.dx + modded.width > vxres) cirrusfb_fillrect()
1755 modded.width = vxres - modded.dx; cirrusfb_fillrect()
1771 u32 vxres, vyres; cirrusfb_copyarea() local
1782 vxres = info->var.xres_virtual; cirrusfb_copyarea()
1787 modded.sx >= vxres || modded.sy >= vyres || cirrusfb_copyarea()
1788 modded.dx >= vxres || modded.dy >= vyres) cirrusfb_copyarea()
1791 if (modded.sx + modded.width > vxres) cirrusfb_copyarea()
1792 modded.width = vxres - modded.sx; cirrusfb_copyarea()
1793 if (modded.dx + modded.width > vxres) cirrusfb_copyarea()
1794 modded.width = vxres - modded.dx; cirrusfb_copyarea()
H A Damifb.c718 int vxres; /* vmode */ member in struct:amifb_par
1150 if ((par->vxres = var->xres_virtual) < par->xres) ami_decode_var()
1151 par->vxres = par->xres; ami_decode_var()
1439 par->next_plane = div8(upx(16 << maxfmode, par->vxres)); ami_decode_var()
1446 par->next_line = div8(upx(16 << maxfmode, par->vxres)); ami_decode_var()
1492 par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) || ami_decode_var()
1523 var->xres_virtual = par->vxres; ami_encode_var()
2422 info->fix.line_length = div8(upx(16 << maxfmode, par->vxres)); amifb_set_par()
H A Dplatinumfb.c50 int vxres, vyres; member in struct:fb_info_platinum
486 pinfo->vxres = pinfo->xres; platinum_var_to_par()
H A Ds1d13xxxfb.c730 dbg(PFX "xres=%d, yres=%d, vxres=%d, vyres=%d " s1d13xxxfb_fetch_hw_state()
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c207 static void matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, matrox_accel_bmove() argument
222 mga_outl(M_AR5, vxres); DBG()
224 start = sy*vxres+sx+curr_ydstorg(minfo); DBG()
231 mga_outl(M_AR5, -vxres);
233 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo);
248 static void matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, matrox_accel_bmove_lin() argument
264 mga_outl(M_AR5, vxres); DBG()
266 start = sy*vxres+sx+curr_ydstorg(minfo); DBG()
273 mga_outl(M_AR5, -vxres);
275 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo);
284 mga_outl(M_YDST, dy*vxres >> 5);
H A Dmatroxfb_DAC1064.c679 minfo->capable.vxres = vxres_mystique; MGA1064_preinit()
868 minfo->capable.vxres = vxres_g100;
H A Dmatroxfb_Ti3026.c697 minfo->capable.vxres = isMilleniumII(minfo) ? vxres_mill2 : vxres_mill1; Ti3026_preinit()
H A Dmatroxfb_base.h446 const int* vxres; member in struct:matrox_fb_info::__anon10557
H A Dmatroxfb_base.c492 width = minfo->capable.vxres; matroxfb_pitch_adjust()
1415 #define DEVF_G100 (DEVF_GCORE) /* no doc, no vxres... */
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
H A Dlcd_dma.h72 extern void omap_set_lcd_dma_b1_vxres(unsigned long vxres);
/linux-4.1.27/drivers/video/fbdev/i810/
H A Di810_main.c872 u32 xres, yres, vxres, vyres; i810_round_off() local
880 vxres = var->xres_virtual; i810_round_off()
898 if (vxres < xres) i810_round_off()
899 vxres = xres; i810_round_off()
926 var->xres_virtual = vxres; i810_round_off()
995 u32 vyres = var->yres_virtual, vxres = var->xres_virtual; i810_check_params() local
1000 line_length = get_line_length(par, vxres, var->bits_per_pixel); i810_check_params()
1007 vxres = par->fb.size/vyres; i810_check_params()
1008 vxres /= var->bits_per_pixel >> 3; i810_check_params()
1009 line_length = get_line_length(par, vxres, i810_check_params()
1012 if (vxres < var->xres) { i810_check_params()
1016 vidmem, vxres, vyres, i810_check_params()
1023 var->xres_virtual = vxres; i810_check_params()
1138 u32 xres, yres, vxres, vyres; decode_var() local
1142 vxres = var->xres_virtual; decode_var()
1182 par->pitch = get_line_length(par, vxres, var->bits_per_pixel); decode_var()
/linux-4.1.27/drivers/video/fbdev/omap/
H A Domapfb_main.c1913 else if (!strncmp(this_opt, "vxres:", 6)) omapfb_setup()
1960 module_param_named(vxres, def_vxres, long, 0664);
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c705 DBG("xres = %d, yres = %d, vxres = %d, vyres = %d\n", check_fb_var()

Completed in 875 milliseconds