Home
last modified time | relevance | path

Searched refs:xoffset (Results 1 – 25 of 103) sorted by relevance

12345

/linux/drivers/video/fbdev/
A Dcontrolfb.c87 int xoffset, yoffset; member
218 par->xoffset = xoffset; in set_screen_start()
241 if (p->par.xoffset != par->xoffset || in control_set_hardware()
270 + (par->xoffset << cmode)); in control_set_hardware()
488 par->xoffset = (var->xoffset + hstep) & ~hstep; in control_var_to_par()
504 if (par->xoffset + par->xres > par->vxres) in control_var_to_par()
505 par->xoffset = par->vxres - par->xres; in control_var_to_par()
577 var->xoffset = par->xoffset; in control_par_to_var()
681 unsigned int xoffset, hstep; in controlfb_pan_display() local
690 xoffset = (var->xoffset + hstep) & ~hstep; in controlfb_pan_display()
[all …]
A D68328fb.c144 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()
A Dvfb.c128 var->xoffset = info->var.xoffset; in vfb_check_var()
156 if (var->xres_virtual < var->xoffset + var->xres) in vfb_check_var()
157 var->xres_virtual = var->xoffset + var->xres; in vfb_check_var()
364 var->xoffset) in vfb_pan_display()
367 if (var->xoffset + info->var.xres > info->var.xres_virtual || in vfb_pan_display()
371 info->var.xoffset = var->xoffset; in vfb_pan_display()
A Dvga16fb.c191 u32 xoffset, pos; in vga16fb_pan_var() local
193 xoffset = var->xoffset; in vga16fb_pan_var()
201 xoffset--; 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()
363 if (xres + xoffset > vxres) in vga16fb_check_var()
364 xoffset = vxres - xres; in vga16fb_check_var()
371 var->xoffset = xoffset; in vga16fb_check_var()
[all …]
A Datafb.c1538 hw->xoffset = videl.xoffset & 0xf; in falcon_get_par()
1629 videl.xoffset = hw->xoffset; in falcon_vbl_switcher()
1637 videl.xoffset = current_par.hw.falcon.xoffset; in falcon_vbl_switcher()
1648 int xoffset; in falcon_pan_display() local
1652 var->xoffset = up(var->xoffset, 32); in falcon_pan_display()
1654 par->hw.falcon.xoffset = var->xoffset & 15; in falcon_pan_display()
1657 var->xoffset = up(var->xoffset, 2); in falcon_pan_display()
1663 xoffset = var->xoffset - par->hw.falcon.xoffset; in falcon_pan_display()
2271 var->xoffset = up(var->xoffset, 16); in pan_display()
2422 int xoffset = var->xoffset; in atafb_pan_display() local
[all …]
A Dhgafb.c254 static void hga_pan(unsigned int xoffset, unsigned int yoffset) in hga_pan() argument
259 base = (yoffset / 8) * 90 + xoffset; in hga_pan()
428 var->xoffset) in hgafb_pan_display()
431 if (var->xoffset + info->var.xres > info->var.xres_virtual in hgafb_pan_display()
437 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
A Dpvr2fb.c461 if (var->xoffset || var->yoffset >= var->yres_virtual) { in pvr2fb_check_var()
462 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
464 if (var->xoffset > var->xres_virtual - var->xres || in pvr2fb_check_var()
466 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
469 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
542 get_line_length(var->xoffset+var->xres, var->bits_per_pixel), in pvr2_update_display()
575 get_line_length(var->xoffset+var->xres, var->bits_per_pixel), in pvr2_init_display()
A Dhitfb.c159 int xoffset = var->xoffset; in hitfb_pan_display() local
162 if (xoffset != 0) in hitfb_pan_display()
259 var->xoffset = 0; in hitfb_check_var()
A Damifb.c694 __s16 xoffset; member
726 int xoffset; /* vmode */ member
1490 par->xoffset = var->xoffset; in ami_decode_var()
1501 par->xoffset = par->yoffset = 0; in ami_decode_var()
1529 var->xoffset = par->xoffset; in ami_encode_var()
1607 par->xoffset = upx(16 << maxfmode, par->xoffset); in ami_update_par()
1673 par->xoffset = var->xoffset; in ami_pan_var()
2036 state->xoffset = par->crsr.crsr_x; in ami_get_cursorstate()
2045 par->crsr.crsr_x = state->xoffset; in ami_set_cursorstate()
2066 mx -= par->xoffset; in ami_set_sprite()
[all …]
A Dmx3fb.c785 old_var.xoffset = new_var.xoffset; in mx3fb_must_set_par()
879 mx3_fbi->cur_var.xoffset = 0; in __set_par()
887 cur_xoffset = mx3_fbi->cur_var.xoffset; in __set_par()
890 mx3_fbi->cur_var.xoffset = cur_xoffset; in __set_par()
1150 if (var->xoffset > 0) { in mx3fb_pan_display()
1155 if (mx3_fbi->cur_var.xoffset == var->xoffset && in mx3fb_pan_display()
1170 + var->xoffset * (fbi->var.bits_per_pixel / 8); in mx3fb_pan_display()
1231 fbi->var.xoffset = var->xoffset; in mx3fb_pan_display()
A Di740fb.c402 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
410 var->xoffset, var->yoffset, var->bits_per_pixel, in i740fb_decode_var()
467 xoffset = ALIGN(var->xoffset, 8); in i740fb_decode_var()
468 if (xres + xoffset > vxres) in i740fb_decode_var()
469 xoffset = vxres - xres; in i740fb_decode_var()
582 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var()
901 + (var->xoffset & ~7)) >> 2; in i740fb_pan_display()
904 var->xoffset, var->yoffset, base); in i740fb_pan_display()
A Dgxt4500.c286 if (var->xres + var->xoffset > var->xres_virtual || in gxt4500_var_to_par()
472 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par()
553 if (var->xoffset & 7) in gxt4500_pan_display()
555 if (var->xoffset + info->var.xres > info->var.xres_virtual || in gxt4500_pan_display()
559 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
A Dfsl-diu-fb.c707 if (var->xoffset + info->var.xres > info->var.xres_virtual) in fsl_diu_check_var()
708 var->xoffset = info->var.xres_virtual - info->var.xres; in fsl_diu_check_var()
914 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_aoi()
1049 xx = (cursor->image.dx - info->var.xoffset) & 0x7ff; in fsl_diu_cursor()
1164 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_par()
1245 if ((info->var.xoffset == var->xoffset) && in fsl_diu_pan_display()
1249 if (var->xoffset + info->var.xres > info->var.xres_virtual in fsl_diu_pan_display()
1253 info->var.xoffset = var->xoffset; in fsl_diu_pan_display()
A Dda8xx-fb.c1022 if (var->xres + var->xoffset > var->xres_virtual) in fb_check_var()
1023 var->xoffset = var->xres_virtual - var->xres; in fb_check_var()
1220 if (var->xoffset != fbi->var.xoffset || in da8xx_pan_display()
1223 new_var.xoffset = var->xoffset; in da8xx_pan_display()
1232 new_var.xoffset * fbi->var.bits_per_pixel / 8; in da8xx_pan_display()
1282 info->var.xoffset * info->var.bits_per_pixel / 8; in da8xxfb_set_par()
/linux/drivers/video/fbdev/core/
A Dfbcon_ud.c216 region.dx = info->var.xoffset; in ud_clear_margins()
224 region.dx = info->var.xoffset; in ud_clear_margins()
392 int xoffset, yoffset; in ud_update_start() local
397 xoffset = vxres - info->var.xres - ops->var.xoffset; in ud_update_start()
401 ops->var.xoffset = xoffset; in ud_update_start()
404 ops->var.xoffset = info->var.xoffset; in ud_update_start()
A Dfbcon_cw.c177 region.dx = info->var.xoffset; in cw_clear_margins()
354 u32 xoffset; in cw_update_start() local
357 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start()
358 ops->var.yoffset = ops->var.xoffset; in cw_update_start()
359 ops->var.xoffset = xoffset; in cw_update_start()
361 ops->var.xoffset = info->var.xoffset; in cw_update_start()
A Dfbcon_ccw.c194 region.dx = info->var.xoffset + bs; in ccw_clear_margins()
374 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start()
375 ops->var.xoffset = ops->var.yoffset; in ccw_update_start()
378 ops->var.xoffset = info->var.xoffset; in ccw_update_start()
A Dtileblit.c110 ops->var.xoffset = info->var.xoffset; in tile_update_start()
A Dbitblit.c205 region.dx = info->var.xoffset + rs; in bit_clear_margins()
213 region.dx = info->var.xoffset; in bit_clear_margins()
373 ops->var.xoffset = info->var.xoffset; in bit_update_start()
/linux/drivers/video/fbdev/aty/
A Daty128fb.c418 u32 xoffset, yoffset; member
1036 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
1048 xoffset = var->xoffset; in aty128_var_to_crtc()
1072 xoffset = (xoffset + 7) & ~7; in aty128_var_to_crtc()
1074 if (vxres < xres + xoffset) in aty128_var_to_crtc()
1075 vxres = xres + xoffset; in aty128_var_to_crtc()
1151 crtc->xoffset = xoffset; in aty128_var_to_crtc()
1265 var->xoffset = crtc->xoffset; in aty128_crtc_to_var()
1621 u32 xoffset, yoffset; in aty128fb_pan_display() local
1628 xoffset = (var->xoffset +7) & ~7; in aty128fb_pan_display()
[all …]
A Datyfb_base.c819 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
831 xoffset = (var->xoffset + 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()
1020 crtc->xoffset = xoffset; in aty_var_to_crtc()
1572 u32 xoffset = info->var.xoffset; in set_off_pitch() local
1741 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local
1747 xoffset = (var->xoffset + 7) & ~7; in atyfb_pan_display()
1749 if (xoffset + xres > par->crtc.vxres || in atyfb_pan_display()
1752 info->var.xoffset = xoffset; in atyfb_pan_display()
[all …]
/linux/drivers/video/fbdev/matrox/
A Dmatroxfb_crtc2.c175 m2info->fbcon.var.xoffset = var->xoffset; in matroxfb_dh_pan_var()
179 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var()
216 if (var->xoffset + var->xres > var->xres_virtual) in matroxfb_dh_decode_var()
217 var->xoffset = var->xres_virtual - var->xres; in matroxfb_dh_decode_var()
354 …pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m… in matroxfb_dh_set_par()
/linux/drivers/video/fbdev/omap2/omapfb/
A Domapfb-main.c166 offset = vrfb->xoffset * OMAP_VRFB_LINE_LEN; in omapfb_get_vrfb_offset()
689 if (var->xres + var->xoffset > var->xres_virtual) in check_fb_var()
690 var->xoffset = var->xres_virtual - var->xres; in check_fb_var()
766 var->xoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_dma()
787 var->xoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb()
790 var->xoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb()
792 offset -= var->xoffset * fix->line_length + in calc_rotation_offset_vrfb()
795 offset += var->xoffset * fix->line_length + in calc_rotation_offset_vrfb()
823 var->xoffset, var->yoffset, offset); in omapfb_calc_addr()
1047 if (var->xoffset == fbi->var.xoffset && in omapfb_pan_display()
[all …]
/linux/drivers/staging/sm750fb/
A Dsm750_hw.c332 reg |= (var->xoffset & PANEL_WINDOW_WIDTH_X_MASK); in hw_sm750_crtc_setMode()
550 if ((var->xoffset + var->xres > var->xres_virtual) || in hw_sm750_pan_display()
556 ((var->xoffset * var->bits_per_pixel) >> 3); in hw_sm750_pan_display()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_fb.c143 if ((var->xoffset + var->xres) > par->max_width || in vmw_fb_check_var()
302 if ((var->xoffset + var->xres) > var->xres_virtual || in vmw_fb_pan_display()
309 par->fb_x = var->xoffset; in vmw_fb_pan_display()
585 par->fb_x = var->xoffset; in vmw_fb_set_par()
719 info->var.xoffset = 0; in vmw_fb_init()

Completed in 90 milliseconds

12345