Home
last modified time | relevance | path

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

1234

/linux/drivers/video/fbdev/
H A Dcontrolfb.c86 int xoffset, yoffset; member
205 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument
210 par->xoffset = xoffset; in set_screen_start()
213 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start()
233 if (p->par.xoffset != par->xoffset || in control_set_hardware()
235 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware()
262 + (par->xoffset << cmode)); in control_set_hardware()
480 par->xoffset = (var->xoffset + hstep) & ~hstep; 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()
[all …]
H A D68328fb.c141 var->xoffset = info->var.xoffset; in mc68x328fb_check_var()
169 if (var->xres_virtual < var->xoffset + var->xres) in mc68x328fb_check_var()
170 var->xres_virtual = var->xoffset + var->xres; in mc68x328fb_check_var()
369 || var->xoffset) in mc68x328fb_pan_display()
372 if (var->xoffset + info->var.xres > info->var.xres_virtual || in mc68x328fb_pan_display()
376 info->var.xoffset = var->xoffset; in mc68x328fb_pan_display()
H A Dvfb.c126 var->xoffset = info->var.xoffset; in vfb_check_var()
154 if (var->xres_virtual < var->xoffset + var->xres) in vfb_check_var()
155 var->xres_virtual = var->xoffset + var->xres; in vfb_check_var()
362 var->xoffset) in vfb_pan_display()
365 if (var->xoffset + info->var.xres > info->var.xres_virtual || in vfb_pan_display()
369 info->var.xoffset = var->xoffset; in vfb_pan_display()
H A Dvga16fb.c207 u32 xoffset, pos; in vga16fb_pan_var() local
209 xoffset = var->xoffset; in vga16fb_pan_var()
211 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2; in vga16fb_pan_var()
214 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3; in vga16fb_pan_var()
217 xoffset--; in vga16fb_pan_var()
218 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3; in vga16fb_pan_var()
227 vga_io_w(VGA_ATT_IW, (xoffset & 3) << 1); in vga16fb_pan_var()
229 vga_io_w(VGA_ATT_IW, xoffset & 7); in vga16fb_pan_var()
334 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
372 xoffset = (var->xoffset + 7) & ~7; in vga16fb_check_var()
[all …]
H A Datafb.c119 short xoffset; member
738 var->xoffset = 0; in tt_encode_var()
1342 par->hw.falcon.xoffset = 0; in falcon_decode_var()
1412 if (hw->xoffset) in falcon_encode_var()
1451 var->xoffset = 0; /* TODO change this */ in falcon_encode_var()
1527 hw->xoffset = videl.xoffset & 0xf; in falcon_get_par()
1618 videl.xoffset = hw->xoffset; in falcon_vbl_switcher()
1626 videl.xoffset = current_par.hw.falcon.xoffset; in falcon_vbl_switcher()
1637 int xoffset; in falcon_pan_display() local
1641 var->xoffset = round_up(var->xoffset, 32); in falcon_pan_display()
[all …]
H 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()
435 var->xoffset) in hgafb_pan_display()
438 if (var->xoffset + info->var.xres > info->var.xres_virtual in hgafb_pan_display()
444 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
H A Dpvr2fb.c462 if (var->xoffset || var->yoffset >= var->yres_virtual) { in pvr2fb_check_var()
463 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
465 if (var->xoffset > var->xres_virtual - var->xres || in pvr2fb_check_var()
467 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
470 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
543 get_line_length(var->xoffset+var->xres, var->bits_per_pixel), in pvr2_update_display()
576 get_line_length(var->xoffset+var->xres, var->bits_per_pixel), in pvr2_init_display()
H A Dhitfb.c175 int xoffset = var->xoffset; in hitfb_pan_display() local
178 if (xoffset != 0) in hitfb_pan_display()
275 var->xoffset = 0; in hitfb_check_var()
H A Dgxt4500.c287 if (var->xres + var->xoffset > var->xres_virtual || in gxt4500_var_to_par()
473 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par()
554 if (var->xoffset & 7) in gxt4500_pan_display()
556 if (var->xoffset + info->var.xres > info->var.xres_virtual || in gxt4500_pan_display()
560 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
H 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()
909 + (var->xoffset & ~7)) >> 2; in i740fb_pan_display()
912 var->xoffset, var->yoffset, base); in i740fb_pan_display()
H A Damifb.c694 __s16 xoffset; member
726 int xoffset; /* vmode */ member
1490 par->xoffset = var->xoffset; in ami_decode_var()
1494 par->xoffset = par->yoffset = 0; in ami_decode_var()
1496 if (par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) || in ami_decode_var()
1498 par->xoffset = par->yoffset = 0; 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()
1610 vshift = modx(16 << maxfmode, par->xoffset); in ami_update_par()
[all …]
H A Dpxa168fb.c209 if (var->xoffset + var->xres > var->xres_virtual) in pxa168fb_check_var()
347 static void set_graphics_start(struct fb_info *info, int xoffset, int yoffset) in set_graphics_start() argument
354 pixel_offset = (yoffset * var->xres_virtual) + xoffset; in set_graphics_start()
524 set_graphics_start(info, var->xoffset, var->yoffset); in pxa168fb_pan_display()
H A Dgoldfishfb.c108 if ((var->xoffset != info->var.xoffset) || in goldfish_fb_check_var()
/linux/drivers/video/fbdev/matrox/
H 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/core/
H A Dfbmem.c184 if (var->xoffset > 0 && (!fix->xpanstep || in fb_pan_display()
185 (var->xoffset % fix->xpanstep))) in fb_pan_display()
190 var->xoffset > info->var.xres_virtual - info->var.xres) in fb_pan_display()
195 info->var.xoffset = var->xoffset; in fb_pan_display()
H A Dbitblit.c244 region.dx = info->var.xoffset + rs; in bit_clear_margins()
252 region.dx = info->var.xoffset; in bit_clear_margins()
406 par->var.xoffset = info->var.xoffset; in bit_update_start()
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c163 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; in omapfb_get_vrfb_offset()
166 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()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_fb_helper.c1201 var->xoffset > var->xres_virtual - var->xres) in drm_fb_helper_check_var()
1297 dx = var->xoffset - info->var.xoffset; in pan_display_atomic()
1303 info->var.xoffset = var->xoffset; in pan_display_atomic()
1322 modeset->x = var->xoffset; in pan_display_legacy()
1328 info->var.xoffset = var->xoffset; in pan_display_legacy()
1609 info->var.xoffset = 0; in drm_fb_helper_fill_var()
/linux/drivers/video/fbdev/aty/
H A Datyfb_base.c822 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
834 xoffset = (var->xoffset + 7) & ~7; in aty_var_to_crtc()
843 if (vxres < xres + xoffset) in aty_var_to_crtc()
844 vxres = xres + xoffset; in aty_var_to_crtc()
1023 crtc->xoffset = xoffset; in aty_var_to_crtc()
1027 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in aty_var_to_crtc()
1575 u32 xoffset = info->var.xoffset; in set_off_pitch() local
1581 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in set_off_pitch()
1744 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local
1750 xoffset = (var->xoffset + 7) & ~7; in atyfb_pan_display()
[all …]
/linux/include/video/
H A Domapvrfb.h20 u16 xoffset; member
/linux/drivers/acpi/
H A Dbgrt.c29 BGRT_SHOW(xoffset, image_offset_x);
/linux/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c282 if (var->xoffset + var->xres > var->xres_virtual) in mmpfb_check_var()
340 addr.phys[0] = (var->yoffset * var->xres_virtual + var->xoffset) in mmpfb_pan_display()
419 addr.phys[0] = (var->yoffset * var->xres_virtual + var->xoffset) in mmpfb_set_par()
439 (var->yoffset * var->xres_virtual + var->xoffset) in mmpfb_power()
/linux/drivers/media/pci/ivtv/
H A Divtvfb.c751 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) { in _ivtvfb_check_var()
753 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual); in _ivtvfb_check_var()
827 var->xoffset + info->var.xres > info->var.xres_virtual) in ivtvfb_pan_display()
831 + var->xoffset * info->var.bits_per_pixel / 8; in ivtvfb_pan_display()
835 itv->yuv_info.osd_x_pan = var->xoffset; in ivtvfb_pan_display()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c70 offset = fbi->var.xoffset * fb->format->cpp[0]; in exynos_drm_fbdev_update()
/linux/drivers/media/platform/ti/omap/
H A Domap_vout_vrfb.c377 (vout->vrfb_context[0].xoffset * in omap_vout_calculate_vrfb_offset()
390 offset = MAX_PIXELS_PER_LINE * vout->vrfb_context[0].xoffset * in omap_vout_calculate_vrfb_offset()

1234