| /linux/drivers/video/fbdev/ |
| H A D | controlfb.c | 86 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 D | 68328fb.c | 141 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 D | vfb.c | 134 var->xoffset = info->var.xoffset; in vfb_check_var() 162 if (var->xres_virtual < var->xoffset + var->xres) in vfb_check_var() 163 var->xres_virtual = var->xoffset + var->xres; in vfb_check_var() 370 var->xoffset) in vfb_pan_display() 373 if (var->xoffset + info->var.xres > info->var.xres_virtual || in vfb_pan_display() 377 info->var.xoffset = var->xoffset; in vfb_pan_display()
|
| H A D | vga16fb.c | 207 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 D | atafb.c | 119 short xoffset; member 736 var->xoffset = 0; in tt_encode_var() 1340 par->hw.falcon.xoffset = 0; in falcon_decode_var() 1410 if (hw->xoffset) in falcon_encode_var() 1449 var->xoffset = 0; /* TODO change this */ in falcon_encode_var() 1525 hw->xoffset = videl.xoffset & 0xf; in falcon_get_par() 1616 videl.xoffset = hw->xoffset; in falcon_vbl_switcher() 1624 videl.xoffset = current_par.hw.falcon.xoffset; in falcon_vbl_switcher() 1635 int xoffset; in falcon_pan_display() local 1639 var->xoffset = round_up(var->xoffset, 32); in falcon_pan_display() [all …]
|
| H A D | hitfb.c | 175 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 D | gxt4500.c | 287 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 D | amifb.c | 694 __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 D | goldfishfb.c | 108 if ((var->xoffset != info->var.xoffset) || in goldfish_fb_check_var()
|
| H A D | g364fb.c | 129 if (var->xoffset || in g364fb_pan_display()
|
| H A D | gbefb.c | 93 .xoffset = 0, 124 .xoffset = 0, 936 var->xoffset = info->var.xoffset; in gbefb_check_var()
|
| H A D | imsttfb.c | 750 + ((var->xoffset * (info->var.bits_per_pixel >> 3)) >> 3); in set_offset() 924 if (var->xoffset + info->var.xres > info->var.xres_virtual in imsttfb_pan_display() 928 info->var.xoffset = var->xoffset; in imsttfb_pan_display() 1208 xx = cursor->image.dx - info->var.xoffset;
|
| H A D | pm2fb.c | 592 if (var->xoffset) { in pm2fb_check_var() 736 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1); in pm2fb_set_par() 982 base = to3264(var->yoffset * xres + var->xoffset, depth, 1); in pm2fb_pan_display() 1270 int x = cursor->image.dx - info->var.xoffset; in pm2vfb_cursor() 1399 int x = cursor->image.dx - info->var.xoffset + 63; in pm2fb_cursor()
|
| /linux/drivers/video/fbdev/matrox/ |
| H A D | matroxfb_crtc2.c | 175 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 D | fbmem.c | 184 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 D | bitblit.c | 243 region.dx = info->var.xoffset + rs; in bit_clear_margins() 251 region.dx = info->var.xoffset; in bit_clear_margins() 381 par->var.xoffset = info->var.xoffset; in bit_update_start()
|
| H A D | fbsysfs.c | 328 var.xoffset = simple_strtoul(buf, &last, 0); in store_pan() 347 return sysfs_emit(buf, "%d,%d\n", fb_info->var.xoffset, in show_pan()
|
| H A D | fbcon.c | 1478 var->xoffset = info->var.xoffset; in fbcon_set_disp() 1515 par->var.xoffset = 0; in ywrap_up() 1534 par->var.xoffset = 0; in ywrap_down() 1557 par->var.xoffset = 0; in ypan_up() 1581 par->var.xoffset = 0; in ypan_up_redraw() 1605 par->var.xoffset = 0; in ypan_down() 1629 par->var.xoffset = 0; in ypan_down_redraw() 2256 par->var.xoffset = par->var.yoffset = p->yscroll = 0; in fbcon_switch() 2688 par->var.xoffset = par->var.yoffset = p->yscroll = 0; in fbcon_modechanged()
|
| /linux/include/video/ |
| H A D | omapvrfb.h | 20 u16 xoffset; member
|
| /linux/drivers/acpi/ |
| H A D | bgrt.c | 29 BGRT_SHOW(xoffset, image_offset_x);
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtvfb.c | 751 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/media/platform/ti/omap/ |
| H A D | omap_vout_vrfb.c | 377 (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()
|
| /linux/drivers/video/fbdev/omap/ |
| H A D | omapfb_main.c | 186 var->xoffset * var->bits_per_pixel / 8; in ctrl_change_mode() 543 if (var->xres + var->xoffset > var->xres_virtual) in set_fb_var() 544 var->xoffset = var->xres_virtual - var->xres; in set_fb_var() 603 if (var->xoffset != fbi->var.xoffset || in omapfb_pan_display() 608 new_var->xoffset = var->xoffset; in omapfb_pan_display()
|
| /linux/include/uapi/linux/ |
| H A D | fb.h | 248 __u32 xoffset; /* offset from virtual to visible */ member
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | atyfb.h | 17 u32 xoffset; member
|