/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | radeon_accel.c | 72 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) modde in radeonfb_copyarea() [all...] |
H A D | aty128fb.c | 419 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() [all...] |
H A D | mach64_accel.c | 70 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()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A D | radeon_accel.c | 72 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) modde in radeonfb_copyarea() [all...] |
H A D | aty128fb.c | 419 u32 vxres, vyres; member 1034 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1044 vxres = var->xres_virtual; in aty128_var_to_crtc() 1072 if (vxres < xres + xoffset) in aty128_var_to_crtc() 1073 vxres = xres + xoffset; in aty128_var_to_crtc() 1090 if ((u32)(vxres * vyres * bytpp) > par->vram_size) { in aty128_var_to_crtc() 1138 crtc->pitch = vxres >> 3; in aty128_var_to_crtc() 1147 crtc->vxres = vxres; in aty128_var_to_crtc() 1261 var->xres_virtual = crtc->vxres; in aty128_crtc_to_var() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | lcd_dma.c | 58 int vxres; member 109 void omap_set_lcd_dma_b1_vxres(unsigned long vxres) in omap_set_lcd_dma_b1_vxres() argument 115 lcd_dma.vxres = vxres; in omap_set_lcd_dma_b1_vxres() 137 unsigned long vxres; in set_b1_regs() local 155 vxres = lcd_dma.vxres ? lcd_dma.vxres : lcd_dma.xres; in set_b1_regs() 158 BUG_ON(vxres < lcd_dma.xres); in set_b1_regs() 161 ((y) * vxres * yscal in set_b1_regs() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/ |
H A D | lcd_dma.c | 61 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 * yscal in set_b1_regs() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/ |
H A D | sis_accel.c | 309 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) widt in fbcon_sis_copyarea() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/sis/ |
H A D | sis_accel.c | 309 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) widt in fbcon_sis_copyarea() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/ |
H A D | matroxfb_accel.c | 208 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 in matrox_accel_bmove_lin() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/ |
H A D | matroxfb_accel.c | 208 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 in matrox_accel_bmove_lin() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 196 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()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 194 int x2, y2, vxres, vyres; in mb86290fb_imageblit() local 198 vxres = info->var.xres_virtual; in mb86290fb_imageblit() 200 x2 = min(x2, vxres); in mb86290fb_imageblit() 252 u32 x2, y2, vxres, vyres, height, width, fg; in mb86290fb_fillrect() local 255 vxres = info->var.xres_virtual; in mb86290fb_fillrect() 258 if (!rect->width || !rect->height || rect->dx > vxres in mb86290fb_fillrect() 266 x2 = min(x2, vxres); in mb86290fb_fillrect()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcon_ud.c | 54 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 in ud_update_start() local [all...] |
H A D | fbcon_cw.c | 53 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 in cw_update_start() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcon_ud.c | 54 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 in ud_update_start() local [all...] |
H A D | fbcon_cw.c | 53 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 in cw_update_start() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | vga16fb.c | 337 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 374 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_check_var() 380 if (vxres < xres) in vga16fb_check_var() 381 vxres = xres; in vga16fb_check_var() 382 if (xres + xoffset > vxres) in vga16fb_check_var() 383 xoffset = vxres - xres; in vga16fb_check_var() 389 var->xres_virtual = vxres; in vga16fb_check_var() 396 vxres >>= shift; in vga16fb_check_var() 425 if (vxres * vyres > maxmem) { in vga16fb_check_var() 426 vyres = maxmem / vxres; in vga16fb_check_var() 902 int x, x2, y2, vxres, vyres, width, height, line_ofs; vga16fb_fillrect() local 1033 int x, x2, y2, old_dx, old_dy, vxres, vyres; vga16fb_copyarea() local [all...] |
H A D | i740fb.c | 402 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local 463 vxres = ALIGN(var->xres_virtual, 16); in i740fb_decode_var() 464 if (vxres < xres) in i740fb_decode_var() 465 vxres = xres; in i740fb_decode_var() 468 if (xres + xoffset > vxres) in i740fb_decode_var() 469 xoffset = vxres - xres; in i740fb_decode_var() 488 mem = vxres * vyres * ((bpp + 1) / 8); in i740fb_decode_var() 582 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var() 585 par->crtc[VGA_CRTC_OFFSET] = vxres >> 3; in i740fb_decode_var() 586 par->ext_offset = vxres >> 1 in i740fb_decode_var() [all...] |
H A D | tgafb.c | 626 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 639 vxres = info->var.xres_virtual; 648 if (dx > vxres || dy > vyres) 650 if (dx + width > vxres) 651 width = vxres - dx; 839 u32 color, dx, dy, width, height, vxres, vyres; local 849 vxres = info->var.xres_virtual; 854 if (dx > vxres || dy > vyres) 856 if (dx + width > vxres) 857 width = vxres 927 u32 dx, dy, width, height, vxres, vyres, color; global() local 1260 unsigned long dx, dy, width, height, sx, sy, vxres, vyres; global() local [all...] |
H A D | controlfb.c | 88 int vxres, vyres; member 112 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL() 484 * adjust xres and vxres so that the corresponding memory widths are in control_var_to_par() 489 par->vxres = (var->xres_virtual + hstep) & ~hstep; in control_var_to_par() 491 if (par->vxres < par->xres) in control_var_to_par() 492 par->vxres = par->xres; in control_var_to_par() 493 par->pitch = par->vxres << par->cmode; in control_var_to_par() 506 if (par->xoffset + par->xres > par->vxres) in control_var_to_par() 507 par->xoffset = par->vxres - par->xres; in control_var_to_par() 577 var->xres_virtual = par->vxres; in control_par_to_var() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | vga16fb.c | 335 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 372 vxres = (var->xres_virtual + 0xF) & ~0xF; in vga16fb_check_var() 378 if (vxres < xres) in vga16fb_check_var() 379 vxres = xres; in vga16fb_check_var() 380 if (xres + xoffset > vxres) in vga16fb_check_var() 381 xoffset = vxres - xres; in vga16fb_check_var() 387 var->xres_virtual = vxres; in vga16fb_check_var() 394 vxres >>= shift; in vga16fb_check_var() 423 if (vxres * vyres > maxmem) { in vga16fb_check_var() 424 vyres = maxmem / vxres; in vga16fb_check_var() 900 int x, x2, y2, vxres, vyres, width, height, line_ofs; vga16fb_fillrect() local 1031 int x, x2, y2, old_dx, old_dy, vxres, vyres; vga16fb_copyarea() local [all...] |
H A D | i740fb.c | 403 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 >> 1 in i740fb_decode_var() [all...] |
H A D | tgafb.c | 633 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 646 vxres = info->var.xres_virtual; 655 if (dx > vxres || dy > vyres) 657 if (dx + width > vxres) 658 width = vxres - dx; 846 u32 color, dx, dy, width, height, vxres, vyres; local 856 vxres = info->var.xres_virtual; 861 if (dx > vxres || dy > vyres) 863 if (dx + width > vxres) 864 width = vxres 933 u32 dx, dy, width, height, vxres, vyres, color; global() local 1266 unsigned long dx, dy, width, height, sx, sy, vxres, vyres; global() local [all...] |
H A D | controlfb.c | 85 int vxres, vyres; member 109 && !DIRTY(vxres) && !DIRTY(vyres)); in PAR_EQUAL() 474 * adjust xres and vxres so that the corresponding memory widths are in control_var_to_par() 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() [all...] |