Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/video/fbdev/
Dcontrolfb.c63 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 …]
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()
Dvfb.c180 var->xoffset = info->var.xoffset; in vfb_check_var()
208 if (var->xres_virtual < var->xoffset + var->xres) in vfb_check_var()
209 var->xres_virtual = var->xoffset + var->xres; in vfb_check_var()
401 var->xoffset) in vfb_pan_display()
404 if (var->xoffset + info->var.xres > info->var.xres_virtual || in vfb_pan_display()
408 info->var.xoffset = var->xoffset; in vfb_pan_display()
Dvga16fb.c191 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 …]
Datafb.c143 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 …]
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()
421 var->xoffset) in hgafb_pan_display()
424 if (var->xoffset + info->var.xres > info->var.xres_virtual in hgafb_pan_display()
430 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
Dfb-puv3.c355 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()
Dpvr2fb.c463 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()
Dhitfb.c160 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()
Damifb.c688 __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 …]
Dmx3fb.c789 old_var.xoffset = new_var.xoffset; in mx3fb_must_set_par()
883 mx3_fbi->cur_var.xoffset = 0; in __set_par()
891 cur_xoffset = mx3_fbi->cur_var.xoffset; in __set_par()
894 mx3_fbi->cur_var.xoffset = cur_xoffset; in __set_par()
1152 if (var->xoffset > 0) { in mx3fb_pan_display()
1157 if (mx3_fbi->cur_var.xoffset == var->xoffset && in mx3fb_pan_display()
1172 + var->xoffset * (fbi->var.bits_per_pixel / 8); in mx3fb_pan_display()
1233 fbi->var.xoffset = var->xoffset; in mx3fb_pan_display()
Dfsl-diu-fb.c706 if (var->xoffset < 0) in fsl_diu_check_var()
707 var->xoffset = 0; in fsl_diu_check_var()
712 if (var->xoffset + info->var.xres > info->var.xres_virtual) in fsl_diu_check_var()
713 var->xoffset = info->var.xres_virtual - info->var.xres; in fsl_diu_check_var()
919 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_aoi()
1054 xx = (cursor->image.dx - info->var.xoffset) & 0x7ff; in fsl_diu_cursor()
1172 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_par()
1253 if ((info->var.xoffset == var->xoffset) && in fsl_diu_pan_display()
1257 if (var->xoffset < 0 || var->yoffset < 0 in fsl_diu_pan_display()
1258 || var->xoffset + info->var.xres > info->var.xres_virtual in fsl_diu_pan_display()
[all …]
Dgxt4500.c285 if (var->xres + var->xoffset > var->xres_virtual || in gxt4500_var_to_par()
471 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par()
552 if (var->xoffset & 7) in gxt4500_pan_display()
554 if (var->xoffset + info->var.xres > info->var.xres_virtual || in gxt4500_pan_display()
558 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
Di740fb.c403 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
411 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()
Dda8xx-fb.c1034 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()
Dgoldfishfb.c116 if ((var->xoffset != info->var.xoffset) || in goldfish_fb_check_var()
Dpxa168fb.c213 if (var->xoffset + var->xres > var->xres_virtual) in pxa168fb_check_var()
351 static void set_graphics_start(struct fb_info *info, int xoffset, int yoffset) in set_graphics_start() argument
358 pixel_offset = (yoffset * var->xres_virtual) + xoffset; in set_graphics_start()
531 set_graphics_start(info, var->xoffset, var->yoffset); in pxa168fb_pan_display()
Dg364fb.c152 if (var->xoffset || in g364fb_pan_display()
Dpmag-aa-fb.c130 c->x = x - disp->var.xoffset; in aafbcon_cursor()
328 var->xoffset = 0; in aafb_encode_var()
Dcirrusfb.c599 if (var->xoffset > var->xres_virtual - var->xres) in cirrusfb_check_var()
600 var->xoffset = var->xres_virtual - var->xres - 1; in cirrusfb_check_var()
1316 int xoffset; in cirrusfb_pan_display() local
1326 xoffset = var->xoffset * info->var.bits_per_pixel / 8; in cirrusfb_pan_display()
1328 base = var->yoffset * info->fix.line_length + xoffset; in cirrusfb_pan_display()
1332 xpix = (unsigned char) (var->xoffset % 8); in cirrusfb_pan_display()
1335 xpix = (unsigned char) ((xoffset % 4) * 2); in cirrusfb_pan_display()
Dgbefb.c98 .xoffset = 0,
129 .xoffset = 0,
943 var->xoffset = info->var.xoffset; in gbefb_check_var()
Dau1100fb.c307 if (var->xoffset - fbi->var.xoffset) { in au1100fb_fb_pan_display()
Dvt8623fb.c415 info->var.xoffset = 0; in vt8623fb_set_par()
617 + var->xoffset; in vt8623fb_pan_display()
621 (var->xoffset * info->var.bits_per_pixel / 8); in vt8623fb_pan_display()
Dimsttfb.c752 + ((var->xoffset * (info->var.bits_per_pixel >> 3)) >> 3); in set_offset()
926 if (var->xoffset + info->var.xres > info->var.xres_virtual in imsttfb_pan_display()
930 info->var.xoffset = var->xoffset; in imsttfb_pan_display()
1210 xx = cursor->image.dx - info->var.xoffset;
Dplatinumfb.c51 int xoffset, yoffset; member
484 pinfo->xoffset = 0; in platinum_var_to_par()
Dpm3fb.c641 int x = cursor->image.dx - info->var.xoffset; in pm3fb_cursor()
971 if (var->xoffset) { in pm3fb_check_var()
1020 + info->var.xoffset); in pm3fb_set_par()
1147 + var->xoffset); in pm3fb_pan_display()
Dpm2fb.c588 if (var->xoffset) { in pm2fb_check_var()
727 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1); in pm2fb_set_par()
973 base = to3264(var->yoffset * xres + var->xoffset, depth, 1); in pm2fb_pan_display()
1261 int x = cursor->image.dx - info->var.xoffset; in pm2vfb_cursor()
1390 int x = cursor->image.dx - info->var.xoffset + 63; in pm2fb_cursor()
Darkfb.c649 info->var.xoffset = 0; in arkfb_set_par()
900 + (var->xoffset / 2); in arkfb_pan_display()
904 (var->xoffset * info->var.bits_per_pixel / 8); in arkfb_pan_display()
Dps3fb.c548 if (var->xoffset + var->xres > var->xres_virtual || in ps3fb_check_var()
641 info->var.xoffset * BPP; in ps3fb_set_par()
698 var->xoffset * BPP; in ps3fb_pan_display()
Dbfin_adv7393fb.c630 if (var->xoffset - info->var.xoffset) { in bfin_adv7393_fb_pan_display()
Ds3c-fb.c881 start_boff += var->xoffset * (info->var.bits_per_pixel >> 3); in s3c_fb_pan_display()
885 start_boff += var->xoffset >> 1; in s3c_fb_pan_display()
888 start_boff += var->xoffset >> 2; in s3c_fb_pan_display()
891 start_boff += var->xoffset >> 3; in s3c_fb_pan_display()
Dsh_mobile_lcdcfb.c1516 y_offset = (var->yoffset * ovl->xres_virtual + var->xoffset) in sh_mobile_lcdc_overlay_pan()
1523 y_offset = var->yoffset * ovl->xres_virtual + var->xoffset; in sh_mobile_lcdc_overlay_pan()
1525 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_overlay_pan()
1831 y_offset = (var->yoffset * ch->xres_virtual + var->xoffset) in sh_mobile_lcdc_pan()
1838 y_offset = var->yoffset * ch->xres_virtual + var->xoffset; in sh_mobile_lcdc_pan()
1840 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_pan()
Ds1d13xxxfb.c384 if (var->xoffset != 0) /* not yet ... */ in s1d13xxxfb_pan_display()
718 var->xoffset = var->yoffset = 0; in s1d13xxxfb_fetch_hw_state()
Datmel_lcdfb.c170 pixeloff = (var->xoffset * info->var.bits_per_pixel) & 0x1f; in atmel_lcdfb_update_dma2d()
403 + var->xoffset * info->var.bits_per_pixel / 8); in atmel_lcdfb_update_dma()
531 var->xoffset = var->yoffset = 0; in atmel_lcdfb_check_var()
Dvesafb.c71 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4; in vesafb_pan_display()
Ds3fb.c637 info->var.xoffset = 0; in s3fb_set_par()
1022 + (var->xoffset / 2); in s3fb_pan_display()
1026 (var->xoffset * info->var.bits_per_pixel / 8); in s3fb_pan_display()
Dcyber2000fb.c543 u_int base = var->yoffset * var->xres_virtual + var->xoffset; in cyber2000fb_update_start()
979 cfb->fb.var.xoffset = var->xoffset; in cyber2000fb_pan_display()
Dwm8505fb.c230 writel(var->xoffset, fbi->regbase + WMT_GOVR_XPAN); in wm8505fb_pan_display()
Dgrvga.c246 if (var->xoffset != 0) in grvga_pan_display()
Dneofb.c707 if (var->xoffset + var->xres > var->xres_virtual) in neofb_check_var()
708 var->xoffset = var->xres_virtual - var->xres; in neofb_check_var()
1182 Base = (var->yoffset * info->var.xres_virtual + var->xoffset) >> 2; in neofb_pan_display()
Dtdfxfb.c452 if (var->xoffset) { in tdfxfb_check_var()
694 + info->var.xoffset * cpp; in tdfxfb_set_par()
830 if (nopan || var->xoffset) in tdfxfb_pan_display()
Dcg14.c228 if (var->xoffset || var->yoffset || var->vmode) in cg14_pan_display()
Dvalkyriefb.c492 || var->xoffset != 0 || var->yoffset != 0) { in valkyrie_var_to_par()
Dvt8500lcdfb.c212 unsigned off = pixlen * var->xoffset in vt8500lcd_pan_display()
Dleo.c257 if (var->xoffset || var->yoffset || var->vmode) in leo_pan_display()
Doffb.c445 var->xoffset = var->yoffset = 0; in offb_init_fb()
Dcg6.c305 if (var->xoffset || var->yoffset || var->vmode) in cg6_pan_display()
Dsm501fb.c589 xoffs = var->xoffset * bytes_pixel; in sm501fb_pan_crt()
617 reg = var->xoffset | (info->var.xres_virtual << 16); in sm501fb_pan_pnl()
Dacornfb.c331 var->xoffset = 0; in acornfb_adjust_timing()
Dtmiofb.c594 var->xoffset = 0; in tmiofb_check_var()
Dmxsfb.c597 if (var->xoffset != 0) in mxsfb_pan_display()
Dffb.c464 if (var->xoffset || var->yoffset || var->vmode) in ffb_pan_display()
Duvesafb.c284 var->xoffset = 0; in uvesafb_setup_var()
1096 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4; in uvesafb_pan_display()
Dpxafb.c547 newvar.xoffset = var->xoffset; in pxafb_pan_display()
Dsstfb.c444 var->xoffset = 0; in sstfb_check_var()
Dw100fb.c742 info->var.xoffset = info->var.yoffset = 0; in w100fb_probe()
Dtridentfb.c1117 offset = (var->xoffset + (var->yoffset * info->var.xres_virtual)) in tridentfb_pan_display()
/linux-4.4.14/drivers/video/console/
Dfbcon_ud.c236 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()
Dfbcon_cw.c196 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()
Dfbcon_ccw.c213 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()
Dtileblit.c125 ops->var.xoffset = info->var.xoffset; in tile_update_start()
Dbitblit.c220 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()
Dfbcon.c1377 var->xoffset = info->var.xoffset; in fbcon_set_disp()
1417 ops->var.xoffset = 0; in ywrap_up()
1436 ops->var.xoffset = 0; in ywrap_down()
1459 ops->var.xoffset = 0; in ypan_up()
1483 ops->var.xoffset = 0; in ypan_up_redraw()
1507 ops->var.xoffset = 0; in ypan_down()
1531 ops->var.xoffset = 0; in ypan_down_redraw()
2279 ops->var.xoffset = ops->var.yoffset = p->yscroll = 0; in fbcon_switch()
2849 ops->var.xoffset = 0; in fbcon_scrolldelta()
2919 ops->var.xoffset = ops->var.yoffset = p->yscroll = 0; in fbcon_modechanged()
/linux-4.4.14/drivers/video/fbdev/aty/
Daty128fb.c425 u32 xoffset, yoffset; member
1048 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
1060 xoffset = var->xoffset; in aty128_var_to_crtc()
1084 xoffset = (xoffset + 7) & ~7; in aty128_var_to_crtc()
1086 if (vxres < xres + xoffset) in aty128_var_to_crtc()
1087 vxres = xres + xoffset; in aty128_var_to_crtc()
1163 crtc->xoffset = xoffset; in aty128_var_to_crtc()
1277 var->xoffset = crtc->xoffset; in aty128_crtc_to_var()
1633 u32 xoffset, yoffset; in aty128fb_pan_display() local
1640 xoffset = (var->xoffset +7) & ~7; in aty128fb_pan_display()
[all …]
Datyfb_base.c804 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
816 xoffset = (var->xoffset + 7) & ~7; in aty_var_to_crtc()
825 if (vxres < xres + xoffset) in aty_var_to_crtc()
826 vxres = xres + xoffset; in aty_var_to_crtc()
1011 crtc->xoffset = xoffset; in aty_var_to_crtc()
1015 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in aty_var_to_crtc()
1577 u32 xoffset = info->var.xoffset; in set_off_pitch() local
1583 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in set_off_pitch()
1746 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local
1752 xoffset = (var->xoffset + 7) & ~7; in atyfb_pan_display()
[all …]
Dmach64_cursor.c90 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor()
Datyfb.h14 u32 xoffset; member
Dradeon_monitor.c720 var->xoffset = 0; in radeon_videomode_to_var()
806 var->xoffset = var->yoffset = 0; in radeon_check_modes()
Dradeon_base.c945 if (v.xoffset > v.xres_virtual - v.xres) in radeonfb_check_var()
946 v.xoffset = v.xres_virtual - v.xres - 1; in radeonfb_check_var()
966 if ((var->xoffset + info->var.xres > info->var.xres_virtual) in radeonfb_pan_display()
975 var->xoffset * info->var.bits_per_pixel / 8) & ~7); in radeonfb_pan_display()
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c174 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()
Dmatroxfb_base.c322 minfo->fbcon.var.xoffset = var->xoffset; in matrox_pan_var()
324 …pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minf… in matrox_pan_var()
610 if (var->xoffset + var->xres > var->xres_virtual) in matroxfb_decode_var()
611 var->xoffset = var->xres_virtual - var->xres; in matroxfb_decode_var()
810 pos = (var->yoffset * var->xres_virtual + var->xoffset) * minfo->curr.final_bppShift / 32; in matroxfb_set_par()
1887 var.xoffset = var.yoffset = 0; in initMatrox2()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c174 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 …]
/linux-4.4.14/include/video/
Domapvrfb.h32 u16 xoffset; member
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c144 if ((var->xoffset + var->xres) > par->max_width || in vmw_fb_check_var()
285 if ((var->xoffset + var->xres) > var->xres_virtual || in vmw_fb_pan_display()
292 par->fb_x = var->xoffset; in vmw_fb_pan_display()
589 par->fb_x = var->xoffset; in vmw_fb_set_par()
731 info->var.xoffset = 0; in vmw_fb_init()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_hw.c327 FIELD_VALUE(0, PANEL_WINDOW_WIDTH, X, var->xoffset)); in hw_sm750_crtc_setMode()
534 if ((var->xoffset + var->xres > var->xres_virtual) || in hw_sm750_pan_display()
540 ((var->xoffset * var->bits_per_pixel) >> 3); in hw_sm750_pan_display()
Dsm750.c133 fbcursor->image.dx - info->var.xoffset, in lynxfb_ops_cursor()
848 var->xoffset, in lynxfb_set_fbinfo()
/linux-4.4.14/drivers/acpi/
Dbgrt.c45 static DEVICE_ATTR(xoffset, S_IRUGO, show_xoffset, NULL);
/linux-4.4.14/drivers/media/platform/omap/
Domap_vout_vrfb.c352 (vout->vrfb_context[0].xoffset * in omap_vout_calculate_vrfb_offset()
365 offset = MAX_PIXELS_PER_LINE * vout->vrfb_context[0].xoffset * in omap_vout_calculate_vrfb_offset()
/linux-4.4.14/drivers/video/fbdev/mmp/fb/
Dmmpfb.c297 if (var->xoffset + var->xres > var->xres_virtual) in mmpfb_check_var()
355 addr.phys[0] = (var->yoffset * var->xres_virtual + var->xoffset) in mmpfb_pan_display()
434 addr.phys[0] = (var->yoffset * var->xres_virtual + var->xoffset) in mmpfb_set_par()
454 (var->yoffset * var->xres_virtual + var->xoffset) in mmpfb_power()
/linux-4.4.14/drivers/staging/xgifb/
DXGI_main_26.c1085 base = var->yoffset * info->var.xres_virtual + var->xoffset; in XGIfb_pan_var()
1329 if (var->xoffset > var->xres_virtual - var->xres) in XGIfb_check_var()
1330 var->xoffset = var->xres_virtual - var->xres - 1; in XGIfb_check_var()
1349 if (var->xoffset > (info->var.xres_virtual - info->var.xres)) in XGIfb_pan_display()
1355 if (var->yoffset >= info->var.yres_virtual || var->xoffset) in XGIfb_pan_display()
1357 } else if (var->xoffset + info->var.xres > info->var.xres_virtual in XGIfb_pan_display()
1366 info->var.xoffset = var->xoffset; in XGIfb_pan_display()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c765 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) { in _ivtvfb_check_var()
767 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual); in _ivtvfb_check_var()
841 var->xoffset + info->var.xres > info->var.xres_virtual) in ivtvfb_pan_display()
845 + var->xoffset * info->var.bits_per_pixel / 8; in ivtvfb_pan_display()
849 itv->yuv_info.osd_x_pan = var->xoffset; in ivtvfb_pan_display()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1257 var->xoffset || var->nonstd)) { in intelfb_check_var()
1304 if (v.xoffset < 0) in intelfb_check_var()
1305 v.xoffset = 0; in intelfb_check_var()
1309 if (v.xoffset > v.xres_virtual - v.xres) in intelfb_check_var()
1310 v.xoffset = v.xres_virtual - v.xres; in intelfb_check_var()
1596 dx = cursor->image.dx - info->var.xoffset; in intelfb_cursor()
Dintelfbhw.c384 u32 offset, xoffset, yoffset; in intelfbhw_pan_display() local
390 xoffset = ROUND_DOWN_TO(var->xoffset, 8); in intelfbhw_pan_display()
393 if ((xoffset + info->var.xres > info->var.xres_virtual) || in intelfbhw_pan_display()
398 (xoffset * info->var.bits_per_pixel) / 8; in intelfbhw_pan_display()
1255 var->xoffset * var->bits_per_pixel / 8; in intelfbhw_mode_to_hw()
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb_main.c201 var->xoffset * var->bits_per_pixel / 8; in ctrl_change_mode()
555 if (var->xres + var->xoffset > var->xres_virtual) in set_fb_var()
556 var->xoffset = var->xres_virtual - var->xres; in set_fb_var()
630 if (var->xoffset != fbi->var.xoffset || in omapfb_pan_display()
635 new_var->xoffset = var->xoffset; in omapfb_pan_display()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_fb_helper.c1246 mode_set->x = var->xoffset; in pan_display_atomic()
1262 info->var.xoffset = var->xoffset; in pan_display_atomic()
1315 modeset->x = var->xoffset; in drm_fb_helper_pan_display()
1321 info->var.xoffset = var->xoffset; in drm_fb_helper_pan_display()
1531 info->var.xoffset = 0; in drm_fb_helper_fill_var()
Ddrm_fb_cma_helper.c289 offset = fbi->var.xoffset * bytes_per_pixel; in drm_fbdev_cma_create()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c103 offset = fbi->var.xoffset * bytes_per_pixel; in rockchip_drm_fbdev_create()
/linux-4.4.14/drivers/video/fbdev/core/
Dfbsysfs.c369 var.xoffset = simple_strtoul(buf, &last, 0); in store_pan()
388 return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xoffset, in show_pan()
Dfbmem.c900 if (var->xoffset > 0 && (!fix->xpanstep || in fb_pan_display()
901 (var->xoffset % fix->xpanstep))) in fb_pan_display()
906 var->xoffset > info->var.xres_virtual - info->var.xres) in fb_pan_display()
911 info->var.xoffset = var->xoffset; in fb_pan_display()
Dmodedb.c611 var->xoffset = 0; in fb_try_mode()
933 var->xoffset = 0; in fb_videomode_to_var()
Dsvgalib.c306 u16 pos = cursor->sx + (info->var.xoffset / 8) in svga_tilecursor()
/linux-4.4.14/include/uapi/linux/
Dfb.h245 __u32 xoffset; /* offset from virtual to visible */ member
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c110 offset = fbi->var.xoffset * (fb->bits_per_pixel >> 3); in exynos_drm_fbdev_update()
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c834 var->xoffset = var->yoffset = 0; in riva_update_var()
1174 if (var->xoffset > var->xres_virtual - var->xres) in rivafb_check_var()
1175 var->xoffset = var->xres_virtual - var->xres - 1; in rivafb_check_var()
1238 base = var->yoffset * info->fix.line_length + var->xoffset; in rivafb_pan_display()
1601 xx = cursor->image.dx - info->var.xoffset; in rivafb_cursor()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-osd.c165 var->xoffset = var->yoffset = 0; in _vivid_fb_check_var()
/linux-4.4.14/drivers/video/fbdev/omap2/
Dvrfb.c236 vrfb->xoffset = vrfb_width - width; in omap_vrfb_setup()
/linux-4.4.14/Documentation/fb/
Dpxafb.txt75 is encoded into var->nonstd (no, var->xoffset and var->yoffset are
Dapi.txt186 __u32 xoffset; /* offset from virtual to visible */
/linux-4.4.14/drivers/gpu/drm/tegra/
Dfb.c254 offset = info->var.xoffset * bytes_per_pixel + in tegra_fbdev_probe()
/linux-4.4.14/drivers/video/fbdev/vermilion/
Dvermilion.c870 var->xoffset * vinfo->bytes_per_pixel); in vmlfb_set_par_locked()
957 var->xoffset * vinfo->bytes_per_pixel); in vmlfb_pan_display()
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb_driver.c852 var->xoffset = var->yoffset = 0; in savage_update_var()
960 if (var->xoffset + var->xres > var->xres_virtual) in savagefb_check_var()
961 var->xoffset = var->xres_virtual - var->xres; in savagefb_check_var()
1545 + (var->xoffset & ~1) * ((info->var.bits_per_pixel+7) / 8)) >> 2; in savagefb_pan_display()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-firmware-acpi16 xoffset: The number of pixels between the left of the screen
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c279 reg = pack(var->yoffset, var->xoffset); in mb862xxfb_pan()
495 fbi->var.xoffset = 0; in mb862xxfb_init_fbinfo()
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_main.h36 .xoffset = 0,
Dsis_main.c1332 + var->xoffset; in sisfb_pan_var()
1591 var->xoffset = 0; in sisfb_check_var()
1596 if(var->xoffset > var->xres_virtual - var->xres) { in sisfb_check_var()
1597 var->xoffset = var->xres_virtual - var->xres - 1; in sisfb_check_var()
1624 if (var->xoffset + info->var.xres > info->var.xres_virtual || in sisfb_pan_display()
1632 info->var.xoffset = var->xoffset; in sisfb_pan_display()
/linux-4.4.14/arch/m68k/include/asm/
Datarihw.h258 u_char xoffset; member
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c553 xx = cursor->image.dx - info->var.xoffset; in nvidiafb_cursor()
920 total = var->yoffset * info->fix.line_length + var->xoffset; in nvidiafb_pan_display()
/linux-4.4.14/drivers/video/fbdev/via/
Dviafbdev.c349 + var->xoffset * info->var.bits_per_pixel / 8; in viafb_pan_display()
796 xx = cursor->image.dx - info->var.xoffset; in viafb_cursor()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_main.c1382 total = var->xoffset * par->depth + in i810fb_pan_display()
1499 tmp = (cursor->image.dx - info->var.xoffset) & 0xffff; in i810fb_cursor()