Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c70 u32 vxres; in aty_init_engine() local
74 vxres = info->var.xres_virtual; in aty_init_engine()
80 vxres *= 3; in aty_init_engine()
143 aty_st_le32(SC_RIGHT, vxres - 1, par); in aty_init_engine()
Daty128fb.c419 u32 vxres, vyres; member
1036 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
1046 vxres = var->xres_virtual; in aty128_var_to_crtc()
1074 if (vxres < xres + xoffset) in aty128_var_to_crtc()
1075 vxres = xres + xoffset; in aty128_var_to_crtc()
1092 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc()
1140 crtc->pitch = vxres >> 3; in aty128_var_to_crtc()
1149 crtc->vxres = vxres; in aty128_var_to_crtc()
1263 var->xres_virtual = crtc->vxres; in aty128_crtc_to_var()
1528 info->fix.line_length = (par->crtc.vxres * par->crtc.bpp) >> 3; in aty128fb_set_par()
[all …]
Datyfb_base.c803 static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) in calc_line_length() argument
805 u32 line_length = vxres * bpp / 8; in calc_line_length()
819 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
829 vxres = (var->xres_virtual + 7) & ~7; in aty_var_to_crtc()
840 if (vxres < xres + xoffset) in aty_var_to_crtc()
841 vxres = xres + xoffset; in aty_var_to_crtc()
881 line_length = calc_line_length(par, vxres, bpp); in aty_var_to_crtc()
1018 crtc->vxres = vxres; in aty_var_to_crtc()
1269 var->xres_virtual = crtc->vxres; in aty_crtc_to_var()
1469 par->crtc.vxres * var->bits_per_pixel / 8); in atyfb_set_par()
[all …]
Datyfb.h13 u32 vxres; member
/linux-6.1.9/drivers/video/fbdev/omap/
Dlcd_dma.c61 int vxres; member
112 void omap_set_lcd_dma_b1_vxres(unsigned long vxres) in omap_set_lcd_dma_b1_vxres() argument
118 lcd_dma.vxres = vxres; in omap_set_lcd_dma_b1_vxres()
140 unsigned long vxres; in set_b1_regs() local
158 vxres = lcd_dma.vxres ? lcd_dma.vxres : lcd_dma.xres; in set_b1_regs()
161 BUG_ON(vxres < lcd_dma.xres); in set_b1_regs()
164 ((y) * vxres * yscale + (x) * xscale) * es) in set_b1_regs()
271 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) in set_b1_regs()
320 lcd_dma.vxres = 0; in omap_request_lcd_dma()
Dlcd_dma.h59 extern void omap_set_lcd_dma_b1_vxres(unsigned long vxres);
/linux-6.1.9/drivers/video/fbdev/sis/
Dsis_accel.c309 u32 vxres = info->var.xres_virtual; in fbcon_sis_fillrect() local
322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
326 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect()
359 u32 vxres = info->var.xres_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()
379 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea()
380 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea()
/linux-6.1.9/drivers/video/fbdev/
Dvga16fb.c334 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
371 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_check_var()
377 if (vxres < xres) in vga16fb_check_var()
378 vxres = xres; in vga16fb_check_var()
379 if (xres + xoffset > vxres) in vga16fb_check_var()
380 xoffset = vxres - xres; in vga16fb_check_var()
386 var->xres_virtual = vxres; in vga16fb_check_var()
393 vxres >>= shift; in vga16fb_check_var()
422 if (vxres * vyres > maxmem) { in vga16fb_check_var()
423 vyres = maxmem / vxres; in vga16fb_check_var()
[all …]
Dtgafb.c630 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
643 vxres = info->var.xres_virtual;
652 if (dx > vxres || dy > vyres)
654 if (dx + width > vxres)
655 width = vxres - dx;
843 u32 color, dx, dy, width, height, vxres, vyres; local
853 vxres = info->var.xres_virtual;
858 if (dx > vxres || dy > vyres)
860 if (dx + width > vxres)
861 width = vxres - dx;
[all …]
Di740fb.c403 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
464 vxres = ALIGN(var->xres_virtual, 16); in i740fb_decode_var()
465 if (vxres < xres) in i740fb_decode_var()
466 vxres = xres; in i740fb_decode_var()
469 if (xres + xoffset > vxres) in i740fb_decode_var()
470 xoffset = vxres - xres; in i740fb_decode_var()
489 mem = vxres * vyres * ((bpp + 1) / 8); in i740fb_decode_var()
583 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var()
586 par->crtc[VGA_CRTC_OFFSET] = vxres >> 3; in i740fb_decode_var()
587 par->ext_offset = vxres >> 11; in i740fb_decode_var()
[all …]
Dcontrolfb.c85 int vxres, vyres; member
109 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL()
479 par->vxres = (var->xres_virtual + hstep) & ~hstep; in control_var_to_par()
481 if (par->vxres < par->xres) in control_var_to_par()
482 par->vxres = par->xres; in control_var_to_par()
483 par->pitch = par->vxres << par->cmode; in control_var_to_par()
496 if (par->xoffset + par->xres > par->vxres) in control_var_to_par()
497 par->xoffset = par->vxres - par->xres; in control_var_to_par()
567 var->xres_virtual = par->vxres; in control_par_to_var()
684 if (xoffset+par->xres > par->vxres || in controlfb_pan_display()
Dpm3fb.c381 int vxres, vyres; in pm3fb_fillrect() local
398 vxres = info->var.xres_virtual; in pm3fb_fillrect()
404 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_fillrect()
407 if (modded.dx + modded.width > vxres) in pm3fb_fillrect()
408 modded.width = vxres - modded.dx; in pm3fb_fillrect()
445 u32 vxres, vyres; in pm3fb_copyarea() local
457 vxres = info->var.xres_virtual; in pm3fb_copyarea()
461 modded.sx >= vxres || modded.sy >= vyres || in pm3fb_copyarea()
462 modded.dx >= vxres || modded.dy >= vyres) in pm3fb_copyarea()
465 if (modded.sx + modded.width > vxres) in pm3fb_copyarea()
[all …]
Dpm2fb.c1057 int vxres, vyres; in pm2fb_fillrect() local
1069 vxres = info->var.xres_virtual; in pm2fb_fillrect()
1075 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_fillrect()
1078 if (modded.dx + modded.width > vxres) in pm2fb_fillrect()
1079 modded.width = vxres - modded.dx; in pm2fb_fillrect()
1115 u32 vxres, vyres; in pm2fb_copyarea() local
1126 vxres = info->var.xres_virtual; in pm2fb_copyarea()
1130 modded.sx >= vxres || modded.sy >= vyres || in pm2fb_copyarea()
1131 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_copyarea()
1134 if (modded.sx + modded.width > vxres) in pm2fb_copyarea()
[all …]
Dcirrusfb.c1735 int vxres, vyres; in cirrusfb_fillrect() local
1748 vxres = info->var.xres_virtual; in cirrusfb_fillrect()
1754 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1757 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1758 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1774 u32 vxres, vyres; in cirrusfb_copyarea() local
1785 vxres = info->var.xres_virtual; in cirrusfb_copyarea()
1790 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1791 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1794 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
[all …]
Dvalkyriefb.c71 int vxres, vyres; member
499 par->vxres = par->xres; in valkyrie_var_to_par()
529 fix->line_length = par->vxres << par->cmode; in valkyrie_par_to_fix()
Dplatinumfb.c48 int vxres, vyres; member
479 pinfo->vxres = pinfo->xres; in platinum_var_to_par()
Damifb.c724 int vxres; /* vmode */ member
1156 if ((par->vxres = var->xres_virtual) < par->xres) in ami_decode_var()
1157 par->vxres = par->xres; in ami_decode_var()
1445 par->next_plane = div8(upx(16 << maxfmode, par->vxres)); in ami_decode_var()
1452 par->next_line = div8(upx(16 << maxfmode, par->vxres)); in ami_decode_var()
1496 if (par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) || in ami_decode_var()
1527 var->xres_virtual = par->vxres; in ami_encode_var()
2424 info->fix.line_length = div8(upx(16 << maxfmode, par->vxres)); in amifb_set_par()
/linux-6.1.9/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c208 static void matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, in matrox_accel_bmove() argument
223 mga_outl(M_AR5, vxres); in matrox_accel_bmove()
225 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove()
232 mga_outl(M_AR5, -vxres); in matrox_accel_bmove()
234 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove()
249 static void matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, in matrox_accel_bmove_lin() argument
265 mga_outl(M_AR5, vxres); in matrox_accel_bmove_lin()
267 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin()
274 mga_outl(M_AR5, -vxres); in matrox_accel_bmove_lin()
276 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin()
[all …]
Dmatroxfb_base.h425 const int* vxres; member
Dmatroxfb_DAC1064.c680 minfo->capable.vxres = vxres_mystique; in MGA1064_preinit()
869 minfo->capable.vxres = vxres_g100; in MGAG100_preinit()
/linux-6.1.9/drivers/video/fbdev/core/
Dfbcon_cw.c53 u32 vxres = GETVXRES(ops->p, 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, info); in cw_clear() local
74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
128 u32 vxres = GETVXRES(ops->p, info); in cw_putcs() local
135 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs()
215 u32 vxres = GETVXRES(ops->p, info); in cw_cursor() local
260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
372 u32 vxres = GETVXRES(ops->p, info); in cw_update_start() local
[all …]
Dfbcon_ud.c54 u32 vxres = GETVXRES(ops->p, 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, info); in ud_clear() local
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
166 u32 vxres = GETVXRES(ops->p, info); in ud_putcs() local
174 image.dx = vxres - ((xx + count) * vc->vc_font.width); in ud_putcs()
263 u32 vxres = GETVXRES(ops->p, info); in ud_cursor() local
309 dx = vxres - ((vc->state.x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
414 u32 vxres = GETVXRES(ops->p, info); in ud_update_start() local
[all …]
/linux-6.1.9/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c196 int x2, y2, vxres, vyres; in mb86290fb_imageblit() local
200 vxres = info->var.xres_virtual; in mb86290fb_imageblit()
202 x2 = min(x2, vxres); in mb86290fb_imageblit()
254 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local
257 vxres = info->var.xres_virtual; in mb86290fb_fillrect()
260 if (!rect->width || !rect->height || rect->dx > vxres in mb86290fb_fillrect()
268 x2 = min(x2, vxres); in mb86290fb_fillrect()
/linux-6.1.9/drivers/video/fbdev/i810/
Di810_main.c874 u32 xres, yres, vxres, vyres; in i810_round_off() local
882 vxres = var->xres_virtual; in i810_round_off()
900 if (vxres < xres) in i810_round_off()
901 vxres = xres; in i810_round_off()
928 var->xres_virtual = vxres; in i810_round_off()
997 u32 vyres = var->yres_virtual, vxres = var->xres_virtual; in i810_check_params() local
1002 line_length = get_line_length(par, vxres, var->bits_per_pixel); in i810_check_params()
1009 vxres = par->fb.size/vyres; in i810_check_params()
1010 vxres /= var->bits_per_pixel >> 3; in i810_check_params()
1011 line_length = get_line_length(par, vxres, in i810_check_params()
[all …]

12