/drivers/video/fbdev/ |
D | controlfb.c | 63 int xoffset, yoffset; member 246 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument 251 par->xoffset = xoffset; in set_screen_start() 254 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 261 unsigned int xoffset, hstep; in controlfb_pan_display() local 270 xoffset = (var->xoffset + hstep) & ~hstep; in controlfb_pan_display() 272 if (xoffset+par->xres > par->vxres || in controlfb_pan_display() 276 set_screen_start(xoffset, var->yoffset, p); in controlfb_pan_display() 501 if (p->par.xoffset != par->xoffset || in control_set_hardware() 503 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware() [all …]
|
D | 68328fb.c | 144 var->xoffset = info->var.xoffset; in mc68x328fb_check_var() 172 if (var->xres_virtual < var->xoffset + var->xres) in mc68x328fb_check_var() 173 var->xres_virtual = var->xoffset + var->xres; in mc68x328fb_check_var() 372 || var->xoffset) in mc68x328fb_pan_display() 375 if (var->xoffset + info->var.xres > info->var.xres_virtual || in mc68x328fb_pan_display() 379 info->var.xoffset = var->xoffset; in mc68x328fb_pan_display()
|
D | vga16fb.c | 191 u32 xoffset, pos; in vga16fb_pan_var() local 193 xoffset = var->xoffset; in vga16fb_pan_var() 195 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2; in vga16fb_pan_var() 198 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3; in vga16fb_pan_var() 201 xoffset--; in vga16fb_pan_var() 202 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3; in vga16fb_pan_var() 211 vga_io_w(VGA_ATT_IW, (xoffset & 3) << 1); in vga16fb_pan_var() 213 vga_io_w(VGA_ATT_IW, xoffset & 7); in vga16fb_pan_var() 318 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 356 xoffset = (var->xoffset + 7) & ~7; in vga16fb_check_var() [all …]
|
D | atafb.c | 143 short xoffset; member 775 var->xoffset = 0; in tt_encode_var() 1386 par->hw.falcon.xoffset = 0; in falcon_decode_var() 1456 if (hw->xoffset) in falcon_encode_var() 1495 var->xoffset = 0; /* TODO change this */ in falcon_encode_var() 1571 hw->xoffset = videl.xoffset & 0xf; in falcon_get_par() 1662 videl.xoffset = hw->xoffset; in falcon_vbl_switcher() 1670 videl.xoffset = current_par.hw.falcon.xoffset; in falcon_vbl_switcher() 1681 int xoffset; in falcon_pan_display() local 1685 var->xoffset = up(var->xoffset, 32); in falcon_pan_display() [all …]
|
D | vfb.c | 173 var->xoffset = info->var.xoffset; in vfb_check_var() 201 if (var->xres_virtual < var->xoffset + var->xres) in vfb_check_var() 202 var->xres_virtual = var->xoffset + var->xres; in vfb_check_var() 394 var->xoffset) in vfb_pan_display() 397 if (var->xoffset + info->var.xres > info->var.xres_virtual || in vfb_pan_display() 401 info->var.xoffset = var->xoffset; in vfb_pan_display()
|
D | hgafb.c | 254 static void hga_pan(unsigned int xoffset, unsigned int yoffset) in hga_pan() argument 259 base = (yoffset / 8) * 90 + xoffset; in hga_pan() 422 var->xoffset) in hgafb_pan_display() 425 if (var->xoffset + info->var.xres > info->var.xres_virtual in hgafb_pan_display() 431 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
|
D | fb-puv3.c | 355 var->xoffset = info->var.xoffset; in unifb_check_var() 383 if (var->xres_virtual < var->xoffset + var->xres) in unifb_check_var() 384 var->xres_virtual = var->xoffset + var->xres; in unifb_check_var() 626 || var->xoffset) in unifb_pan_display() 629 if (var->xoffset + info->var.xres > info->var.xres_virtual || in unifb_pan_display() 633 info->var.xoffset = var->xoffset; in unifb_pan_display()
|
D | pvr2fb.c | 463 if (var->xoffset || var->yoffset < 0 || in pvr2fb_check_var() 465 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 467 if (var->xoffset > var->xres_virtual - var->xres || in pvr2fb_check_var() 469 var->xoffset < 0 || var->yoffset < 0) in pvr2fb_check_var() 470 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 473 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 546 get_line_length(var->xoffset+var->xres, var->bits_per_pixel), in pvr2_update_display() 579 get_line_length(var->xoffset+var->xres, var->bits_per_pixel), in pvr2_init_display()
|
D | amifb.c | 688 __s16 xoffset; member 720 int xoffset; /* vmode */ member 1484 par->xoffset = var->xoffset; in ami_decode_var() 1487 if (par->xoffset || par->yoffset < 0 || in ami_decode_var() 1489 par->xoffset = par->yoffset = 0; in ami_decode_var() 1491 if (par->xoffset < 0 || in ami_decode_var() 1492 par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) || in ami_decode_var() 1494 par->xoffset = par->yoffset = 0; in ami_decode_var() 1497 par->xoffset = par->yoffset = 0; in ami_decode_var() 1525 var->xoffset = par->xoffset; in ami_encode_var() [all …]
|
D | fsl-diu-fb.c | 703 if (var->xoffset < 0) in fsl_diu_check_var() 704 var->xoffset = 0; in fsl_diu_check_var() 709 if (var->xoffset + info->var.xres > info->var.xres_virtual) in fsl_diu_check_var() 710 var->xoffset = info->var.xres_virtual - info->var.xres; in fsl_diu_check_var() 916 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_aoi() 1051 xx = (cursor->image.dx - info->var.xoffset) & 0x7ff; in fsl_diu_cursor() 1169 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_par() 1250 if ((info->var.xoffset == var->xoffset) && in fsl_diu_pan_display() 1254 if (var->xoffset < 0 || var->yoffset < 0 in fsl_diu_pan_display() 1255 || var->xoffset + info->var.xres > info->var.xres_virtual in fsl_diu_pan_display() [all …]
|
D | mx3fb.c | 790 old_var.xoffset = new_var.xoffset; in mx3fb_must_set_par() 884 mx3_fbi->cur_var.xoffset = 0; in __set_par() 892 cur_xoffset = mx3_fbi->cur_var.xoffset; in __set_par() 895 mx3_fbi->cur_var.xoffset = cur_xoffset; in __set_par() 1153 if (var->xoffset > 0) { in mx3fb_pan_display() 1158 if (mx3_fbi->cur_var.xoffset == var->xoffset && in mx3fb_pan_display() 1173 + var->xoffset * (fbi->var.bits_per_pixel / 8); in mx3fb_pan_display() 1234 fbi->var.xoffset = var->xoffset; in mx3fb_pan_display()
|
D | hitfb.c | 160 int xoffset = var->xoffset; in hitfb_pan_display() local 163 if (xoffset != 0) in hitfb_pan_display() 260 var->xoffset = 0; in hitfb_check_var()
|
D | i740fb.c | 412 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local 420 var->xoffset, var->yoffset, var->bits_per_pixel, in i740fb_decode_var() 476 xoffset = ALIGN(var->xoffset, 8); in i740fb_decode_var() 477 if (xres + xoffset > vxres) in i740fb_decode_var() 478 xoffset = vxres - xres; in i740fb_decode_var() 591 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var() 910 + (var->xoffset & ~7)) >> 2; in i740fb_pan_display() 913 var->xoffset, var->yoffset, base); in i740fb_pan_display()
|
D | gxt4500.c | 285 if (var->xres + var->xoffset > var->xres_virtual || in gxt4500_var_to_par() 470 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par() 551 if (var->xoffset & 7) in gxt4500_pan_display() 553 if (var->xoffset + info->var.xres > info->var.xres_virtual || in gxt4500_pan_display() 557 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
|
D | da8xx-fb.c | 1034 if (var->xres + var->xoffset > var->xres_virtual) in fb_check_var() 1035 var->xoffset = var->xres_virtual - var->xres; in fb_check_var() 1229 if (var->xoffset != fbi->var.xoffset || in da8xx_pan_display() 1232 new_var.xoffset = var->xoffset; in da8xx_pan_display() 1241 new_var.xoffset * fbi->var.bits_per_pixel / 8; in da8xx_pan_display() 1291 info->var.xoffset * info->var.bits_per_pixel / 8; in da8xxfb_set_par()
|
/drivers/video/console/ |
D | fbcon_ud.c | 236 region.dx = info->var.xoffset; in ud_clear_margins() 244 region.dx = info->var.xoffset; in ud_clear_margins() 421 int xoffset, yoffset; in ud_update_start() local 426 xoffset = vxres - info->var.xres - ops->var.xoffset; in ud_update_start() 430 ops->var.xoffset = xoffset; in ud_update_start() 433 ops->var.xoffset = info->var.xoffset; in ud_update_start()
|
D | fbcon_cw.c | 196 region.dx = info->var.xoffset; in cw_clear_margins() 381 u32 xoffset; in cw_update_start() local 384 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start() 385 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 386 ops->var.xoffset = xoffset; in cw_update_start() 388 ops->var.xoffset = info->var.xoffset; in cw_update_start()
|
D | fbcon_ccw.c | 213 region.dx = info->var.xoffset + bs; in ccw_clear_margins() 401 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start() 402 ops->var.xoffset = ops->var.yoffset; in ccw_update_start() 405 ops->var.xoffset = info->var.xoffset; in ccw_update_start()
|
D | tileblit.c | 125 ops->var.xoffset = info->var.xoffset; in tile_update_start()
|
D | bitblit.c | 220 region.dx = info->var.xoffset + rs; in bit_clear_margins() 228 region.dx = info->var.xoffset; in bit_clear_margins() 397 ops->var.xoffset = info->var.xoffset; in bit_update_start()
|
/drivers/video/fbdev/aty/ |
D | aty128fb.c | 432 u32 xoffset, yoffset; member 1057 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1069 xoffset = var->xoffset; in aty128_var_to_crtc() 1093 xoffset = (xoffset + 7) & ~7; in aty128_var_to_crtc() 1095 if (vxres < xres + xoffset) in aty128_var_to_crtc() 1096 vxres = xres + xoffset; in aty128_var_to_crtc() 1172 crtc->xoffset = xoffset; in aty128_var_to_crtc() 1286 var->xoffset = crtc->xoffset; in aty128_crtc_to_var() 1642 u32 xoffset, yoffset; in aty128fb_pan_display() local 1649 xoffset = (var->xoffset +7) & ~7; in aty128fb_pan_display() [all …]
|
D | atyfb_base.c | 795 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local 807 xoffset = (var->xoffset + 7) & ~7; in aty_var_to_crtc() 816 if (vxres < xres + xoffset) in aty_var_to_crtc() 817 vxres = xres + xoffset; in aty_var_to_crtc() 1002 crtc->xoffset = xoffset; in aty_var_to_crtc() 1006 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in aty_var_to_crtc() 1568 u32 xoffset = info->var.xoffset; in set_off_pitch() local 1574 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in set_off_pitch() 1737 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local 1743 xoffset = (var->xoffset + 7) & ~7; in atyfb_pan_display() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.c | 174 m2info->fbcon.var.xoffset = var->xoffset; in matroxfb_dh_pan_var() 178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var() 215 if (var->xoffset + var->xres > var->xres_virtual) in matroxfb_dh_decode_var() 216 var->xoffset = var->xres_virtual - var->xres; in matroxfb_dh_decode_var() 353 …pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m… in matroxfb_dh_set_par()
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 174 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; in omapfb_get_vrfb_offset() 177 offset = vrfb->xoffset * OMAP_VRFB_LINE_LEN; in omapfb_get_vrfb_offset() 700 if (var->xres + var->xoffset > var->xres_virtual) in check_fb_var() 701 var->xoffset = var->xres_virtual - var->xres; in check_fb_var() 777 var->xoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_dma() 798 var->xoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb() 801 var->xoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb() 803 offset -= var->xoffset * fix->line_length + in calc_rotation_offset_vrfb() 806 offset += var->xoffset * fix->line_length + in calc_rotation_offset_vrfb() 834 var->xoffset, var->yoffset, offset); in omapfb_calc_addr() [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 138 (var->xoffset != 0 || var->yoffset != 0)) { in vmw_fb_check_var() 143 if ((var->xoffset + var->xres) > par->max_width || in vmw_fb_check_var() 178 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_X, info->var.xoffset); in vmw_fb_set_par() 512 info->var.xoffset = 0; in vmw_fb_init()
|