/dports/multimedia/v4l_compat/linux-5.13-rc2/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) modded.width = vxres - modded.sx; in radeonfb_copyarea() 165 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_copyarea()
|
/dports/multimedia/libv4l/linux-5.13-rc2/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) modded.width = vxres - modded.sx; in radeonfb_copyarea() 165 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_copyarea()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/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) modded.width = vxres - modded.sx; in radeonfb_copyarea() 165 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_copyarea()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/openbios/drivers/ |
H A D | vga_load_regs.c | 150 u32 vxres, xoffset, vyres, yoffset; in vga_decode_var() local 162 if (vxres < xres) in vga_decode_var() 163 vxres = xres; in vga_decode_var() 164 if (xres + xoffset > vxres) in vga_decode_var() 165 xoffset = vxres - xres; in vga_decode_var() 171 vxres >>= 3; in vga_decode_var() 200 if (vxres * vyres > 65536) { in vga_decode_var() 201 vyres = 65536 / vxres; in vga_decode_var() 243 pos = yoffset * vxres + (xoffset >> 3); in vga_decode_var() 268 if (vxres >= 512) in vga_decode_var() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/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 * yscale + (x) * xscale) * es) in set_b1_regs() 268 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) in set_b1_regs() 317 lcd_dma.vxres = 0; in omap_request_lcd_dma()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/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 * yscale + (x) * xscale) * es) in set_b1_regs() 268 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) in set_b1_regs() 317 lcd_dma.vxres = 0; in omap_request_lcd_dma()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/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 * yscale + (x) * xscale) * es) in set_b1_regs() 268 lcd_dma.vxres || lcd_dma.xscale || lcd_dma.yscale)) in set_b1_regs() 317 lcd_dma.vxres = 0; in omap_request_lcd_dma()
|
/dports/multimedia/libv4l/linux-5.13-rc2/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) width = vxres - area->dx; in fbcon_sis_copyarea()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/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) width = vxres - area->dx; in fbcon_sis_copyarea()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/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) width = vxres - area->dx; in fbcon_sis_copyarea()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/fbdev/ |
H A D | vga16fb.c | 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() 407 vyres = maxmem / vxres; in vga16fb_check_var() 477 if (vxres >= 512) in vga16fb_check_var() 897 x2 = x2 < vxres ? x2 : vxres; in vga16fb_fillrect() 1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/fbdev/ |
H A D | vga16fb.c | 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() 407 vyres = maxmem / vxres; in vga16fb_check_var() 477 if (vxres >= 512) in vga16fb_check_var() 897 x2 = x2 < vxres ? x2 : vxres; in vga16fb_fillrect() 1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/fbdev/ |
H A D | vga16fb.c | 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() 407 vyres = maxmem / vxres; in vga16fb_check_var() 477 if (vxres >= 512) in vga16fb_check_var() 897 x2 = x2 < vxres ? x2 : vxres; in vga16fb_fillrect() 1022 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/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+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/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+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/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+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/fbdev/core/ |
H A D | fbcon_cw.c | 53 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 260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor() 372 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_update_start() local [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/fbdev/core/ |
H A D | fbcon_cw.c | 53 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 260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor() 372 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_update_start() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/fbdev/core/ |
H A D | fbcon_cw.c | 53 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 260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor() 372 u32 vxres = GETVXRES(ops->p->scrollmode, info); in cw_update_start() local [all …]
|