Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/video/fbdev/aty/
Dradeon_accel.c72 int vxres, vyres; in radeonfb_fillrect() local
83 vxres = info->var.xres_virtual; in radeonfb_fillrect()
89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
92 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect()
139 u32 vxres, vyres; in radeonfb_copyarea() local
156 vxres = info->var.xres_virtual; in radeonfb_copyarea()
160 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea()
161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
164 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; in radeonfb_copyarea()
165 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_copyarea()
Dmach64_accel.c68 u32 vxres; in aty_init_engine() local
72 vxres = info->var.xres_virtual; in aty_init_engine()
78 vxres *= 3; in aty_init_engine()
141 aty_st_le32(SC_RIGHT, vxres - 1, par); in aty_init_engine()
Daty128fb.c425 u32 vxres, vyres; member
1047 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
1057 vxres = var->xres_virtual; in aty128_var_to_crtc()
1085 if (vxres < xres + xoffset) in aty128_var_to_crtc()
1086 vxres = xres + xoffset; in aty128_var_to_crtc()
1103 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc()
1151 crtc->pitch = vxres >> 3; in aty128_var_to_crtc()
1160 crtc->vxres = vxres; in aty128_var_to_crtc()
1274 var->xres_virtual = crtc->vxres; in aty128_crtc_to_var()
1537 info->fix.line_length = (par->crtc.vxres * par->crtc.bpp) >> 3; in aty128fb_set_par()
[all …]
Datyfb_base.c788 static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) in calc_line_length() argument
790 u32 line_length = vxres * bpp / 8; in calc_line_length()
804 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
814 vxres = (var->xres_virtual + 7) & ~7; in aty_var_to_crtc()
825 if (vxres < xres + xoffset) in aty_var_to_crtc()
826 vxres = xres + xoffset; in aty_var_to_crtc()
866 line_length = calc_line_length(par, vxres, bpp); in aty_var_to_crtc()
1003 crtc->vxres = vxres; in aty_var_to_crtc()
1267 var->xres_virtual = crtc->vxres; in aty_crtc_to_var()
1467 par->crtc.vxres * var->bits_per_pixel / 8); in atyfb_set_par()
[all …]
Datyfb.h13 u32 vxres; member
/Linux-v4.19/arch/arm/mach-omap1/
Dlcd_dma.c62 int vxres; member
113 void omap_set_lcd_dma_b1_vxres(unsigned long vxres) in omap_set_lcd_dma_b1_vxres() argument
119 lcd_dma.vxres = vxres; in omap_set_lcd_dma_b1_vxres()
141 unsigned long vxres; in set_b1_regs() local
159 vxres = lcd_dma.vxres ? lcd_dma.vxres : lcd_dma.xres; in set_b1_regs()
162 BUG_ON(vxres < lcd_dma.xres); in set_b1_regs()
165 ((y) * vxres * yscale + (x) * xscale) * es) in set_b1_regs()
272 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) in set_b1_regs()
321 lcd_dma.vxres = 0; in omap_request_lcd_dma()
/Linux-v4.19/drivers/video/fbdev/sis/
Dsis_accel.c322 u32 vxres = info->var.xres_virtual; in fbcon_sis_fillrect() local
335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
339 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect()
372 u32 vxres = info->var.xres_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()
392 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea()
393 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea()
/Linux-v4.19/drivers/video/fbdev/
Dvga16fb.c318 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
355 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_check_var()
361 if (vxres < xres) in vga16fb_check_var()
362 vxres = xres; in vga16fb_check_var()
363 if (xres + xoffset > vxres) in vga16fb_check_var()
364 xoffset = vxres - xres; in vga16fb_check_var()
370 var->xres_virtual = vxres; in vga16fb_check_var()
377 vxres >>= shift; in vga16fb_check_var()
406 if (vxres * vyres > maxmem) { in vga16fb_check_var()
407 vyres = maxmem / vxres; in vga16fb_check_var()
[all …]
Dfb-puv3.c182 int vxres, vyres; in unifb_fillrect() local
189 vxres = info->var.xres_virtual; in unifb_fillrect()
195 modded.dx >= vxres || modded.dy >= vyres) in unifb_fillrect()
198 if (modded.dx + modded.width > vxres) in unifb_fillrect()
199 modded.width = vxres - modded.dx; in unifb_fillrect()
288 u32 vxres, vyres; in unifb_copyarea() local
301 vxres = info->var.xres_virtual; in unifb_copyarea()
305 modded.sx >= vxres || modded.sy >= vyres || in unifb_copyarea()
306 modded.dx >= vxres || modded.dy >= vyres) in unifb_copyarea()
309 if (modded.sx + modded.width > vxres) in unifb_copyarea()
[all …]
Dtgafb.c623 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
636 vxres = info->var.xres_virtual;
645 if (dx > vxres || dy > vyres)
647 if (dx + width > vxres)
648 width = vxres - dx;
836 u32 color, dx, dy, width, height, vxres, vyres; local
846 vxres = info->var.xres_virtual;
851 if (dx > vxres || dy > vyres)
853 if (dx + width > vxres)
854 width = vxres - dx;
[all …]
Di740fb.c401 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
462 vxres = ALIGN(var->xres_virtual, 16); in i740fb_decode_var()
463 if (vxres < xres) in i740fb_decode_var()
464 vxres = xres; in i740fb_decode_var()
467 if (xres + xoffset > vxres) in i740fb_decode_var()
468 xoffset = vxres - xres; in i740fb_decode_var()
487 mem = vxres * vyres * ((bpp + 1) / 8); in i740fb_decode_var()
581 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var()
584 par->crtc[VGA_CRTC_OFFSET] = vxres >> 3; in i740fb_decode_var()
585 par->ext_offset = vxres >> 11; in i740fb_decode_var()
[all …]
Dcontrolfb.c62 int vxres, vyres; member
86 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL()
272 if (xoffset+par->xres > par->vxres || in controlfb_pan_display()
891 par->vxres = (var->xres_virtual + hstep) & ~hstep; in control_var_to_par()
893 if (par->vxres < par->xres) in control_var_to_par()
894 par->vxres = par->xres; in control_var_to_par()
895 par->pitch = par->vxres << par->cmode; in control_var_to_par()
908 if (par->xoffset + par->xres > par->vxres) in control_var_to_par()
909 par->xoffset = par->vxres - par->xres; in control_var_to_par()
979 var->xres_virtual = par->vxres; in control_par_to_var()
Dpm3fb.c380 int vxres, vyres; in pm3fb_fillrect() local
397 vxres = info->var.xres_virtual; in pm3fb_fillrect()
403 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_fillrect()
406 if (modded.dx + modded.width > vxres) in pm3fb_fillrect()
407 modded.width = vxres - modded.dx; in pm3fb_fillrect()
444 u32 vxres, vyres; in pm3fb_copyarea() local
456 vxres = info->var.xres_virtual; in pm3fb_copyarea()
460 modded.sx >= vxres || modded.sy >= vyres || in pm3fb_copyarea()
461 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_copyarea()
464 if (modded.sx + modded.width > vxres) in pm3fb_copyarea()
[all …]
Dpm2fb.c1050 int vxres, vyres; in pm2fb_fillrect() local
1062 vxres = info->var.xres_virtual; in pm2fb_fillrect()
1068 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_fillrect()
1071 if (modded.dx + modded.width > vxres) in pm2fb_fillrect()
1072 modded.width = vxres - modded.dx; in pm2fb_fillrect()
1108 u32 vxres, vyres; in pm2fb_copyarea() local
1119 vxres = info->var.xres_virtual; in pm2fb_copyarea()
1123 modded.sx >= vxres || modded.sy >= vyres || in pm2fb_copyarea()
1124 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_copyarea()
1127 if (modded.sx + modded.width > vxres) in pm2fb_copyarea()
[all …]
Dcirrusfb.c1734 int vxres, vyres; in cirrusfb_fillrect() local
1747 vxres = info->var.xres_virtual; in cirrusfb_fillrect()
1753 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1756 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1757 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1773 u32 vxres, vyres; in cirrusfb_copyarea() local
1784 vxres = info->var.xres_virtual; in cirrusfb_copyarea()
1789 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1790 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1793 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
[all …]
Dvalkyriefb.c81 int vxres, vyres; member
514 par->vxres = par->xres; in valkyrie_var_to_par()
544 fix->line_length = par->vxres << par->cmode; in valkyrie_par_to_fix()
Dplatinumfb.c50 int vxres, vyres; member
486 pinfo->vxres = pinfo->xres; in platinum_var_to_par()
Damifb.c718 int vxres; /* vmode */ member
1150 if ((par->vxres = var->xres_virtual) < par->xres) in ami_decode_var()
1151 par->vxres = par->xres; in ami_decode_var()
1439 par->next_plane = div8(upx(16 << maxfmode, par->vxres)); in ami_decode_var()
1446 par->next_line = div8(upx(16 << maxfmode, par->vxres)); in ami_decode_var()
1490 if (par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) || in ami_decode_var()
1521 var->xres_virtual = par->vxres; in ami_encode_var()
2420 info->fix.line_length = div8(upx(16 << maxfmode, par->vxres)); in amifb_set_par()
/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c207 static void matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, in matrox_accel_bmove() argument
222 mga_outl(M_AR5, vxres); in matrox_accel_bmove()
224 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove()
231 mga_outl(M_AR5, -vxres); in matrox_accel_bmove()
233 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove()
248 static void matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, in matrox_accel_bmove_lin() argument
264 mga_outl(M_AR5, vxres); in matrox_accel_bmove_lin()
266 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin()
273 mga_outl(M_AR5, -vxres); in matrox_accel_bmove_lin()
275 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin()
[all …]
Dmatroxfb_base.h426 const int* vxres; member
/Linux-v4.19/drivers/video/fbdev/core/
Dfbcon_cw.c53 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_bmove() local
55 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove()
57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove()
71 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_clear() local
74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
128 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_putcs() local
135 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs()
215 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_cursor() local
269 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
381 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_update_start() local
[all …]
Dfbcon_ud.c54 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_bmove() local
57 area.sx = vxres - ((sx + width) * vc->vc_font.width); in ud_bmove()
59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove()
73 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_clear() local
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
166 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_putcs() local
174 image.dx = vxres - ((xx + count) * vc->vc_font.width); in ud_putcs()
263 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_cursor() local
318 dx = vxres - ((vc->vc_x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
423 u32 vxres = GETVXRES(ops->p->scrollmode, info); in ud_update_start() local
[all …]
/Linux-v4.19/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c201 int x2, y2, vxres, vyres; in mb86290fb_imageblit() local
206 vxres = info->var.xres_virtual; in mb86290fb_imageblit()
208 x2 = min(x2, vxres); in mb86290fb_imageblit()
260 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local
263 vxres = info->var.xres_virtual; in mb86290fb_fillrect()
266 if (!rect->width || !rect->height || rect->dx > vxres in mb86290fb_fillrect()
274 x2 = min(x2, vxres); in mb86290fb_fillrect()
/Linux-v4.19/drivers/video/fbdev/i810/
Di810_main.c873 u32 xres, yres, vxres, vyres; in i810_round_off() local
881 vxres = var->xres_virtual; in i810_round_off()
899 if (vxres < xres) in i810_round_off()
900 vxres = xres; in i810_round_off()
927 var->xres_virtual = vxres; in i810_round_off()
996 u32 vyres = var->yres_virtual, vxres = var->xres_virtual; in i810_check_params() local
1001 line_length = get_line_length(par, vxres, var->bits_per_pixel); in i810_check_params()
1008 vxres = par->fb.size/vyres; in i810_check_params()
1009 vxres /= var->bits_per_pixel >> 3; in i810_check_params()
1010 line_length = get_line_length(par, vxres, in i810_check_params()
[all …]
/Linux-v4.19/arch/arm/mach-omap1/include/mach/
Dlcd_dma.h72 extern void omap_set_lcd_dma_b1_vxres(unsigned long vxres);

12