/linux/drivers/video/fbdev/ |
H A D | controlfb.c | 86 int xoffset, yoffset; member 210 par->xoffset = xoffset; in set_screen_start() 233 if (p->par.xoffset != par->xoffset || 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() 569 var->xoffset = par->xoffset; in control_par_to_var() 673 unsigned int xoffset, hstep; in controlfb_pan_display() local 682 xoffset = (var->xoffset + hstep) & ~hstep; in controlfb_pan_display() [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 | 126 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 D | vga16fb.c | 206 u32 xoffset, pos; in vga16fb_pan_var() local 208 xoffset = var->xoffset; in vga16fb_pan_var() 216 xoffset--; in vga16fb_pan_var() 226 vga_io_w(VGA_ATT_IW, (xoffset & 3) << 1); in vga16fb_pan_var() 228 vga_io_w(VGA_ATT_IW, xoffset & 7); in vga16fb_pan_var() 333 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 371 xoffset = (var->xoffset + 7) & ~7; in vga16fb_check_var() 378 if (xres + xoffset > vxres) in vga16fb_check_var() 379 xoffset = vxres - xres; in vga16fb_check_var() 386 var->xoffset = xoffset; in vga16fb_check_var() [all …]
|
H A D | atafb.c | 119 short xoffset; member 1412 if (hw->xoffset) 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() 1643 par->hw.falcon.xoffset = var->xoffset & 15; in falcon_pan_display() 1646 var->xoffset = round_up(var->xoffset, 2); in falcon_pan_display() 1652 xoffset = var->xoffset - par->hw.falcon.xoffset; in falcon_pan_display() [all …]
|
H A 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() 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 D | pvr2fb.c | 462 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 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 | i740fb.c | 402 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 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() 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() [all …]
|
H A D | fsl-diu-fb.c | 707 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()
|
/linux/drivers/video/fbdev/core/ |
H A D | fbcon_ud.c | 236 region.dx = info->var.xoffset; in ud_clear_margins() 244 region.dx = info->var.xoffset; in ud_clear_margins() 403 int xoffset, yoffset; in ud_update_start() local 408 xoffset = vxres - info->var.xres - ops->var.xoffset; in ud_update_start() 412 ops->var.xoffset = xoffset; in ud_update_start() 415 ops->var.xoffset = info->var.xoffset; in ud_update_start()
|
H A D | fbcon_cw.c | 196 region.dx = info->var.xoffset; in cw_clear_margins() 364 u32 xoffset; in cw_update_start() local 367 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start() 368 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 369 ops->var.xoffset = xoffset; in cw_update_start() 371 ops->var.xoffset = info->var.xoffset; in cw_update_start()
|
H A D | fbcon_ccw.c | 213 region.dx = info->var.xoffset + bs; in ccw_clear_margins() 384 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start() 385 ops->var.xoffset = ops->var.yoffset; in ccw_update_start() 388 ops->var.xoffset = info->var.xoffset; in ccw_update_start()
|
H A D | fbmem.c | 182 if (var->xoffset > 0 && (!fix->xpanstep || in fb_pan_display() 183 (var->xoffset % fix->xpanstep))) in fb_pan_display() 188 var->xoffset > info->var.xres_virtual - info->var.xres) in fb_pan_display() 193 info->var.xoffset = var->xoffset; in fb_pan_display()
|
H A D | tileblit.c | 125 ops->var.xoffset = info->var.xoffset; in tile_update_start()
|
H A D | bitblit.c | 220 region.dx = info->var.xoffset + rs; in bit_clear_margins() 228 region.dx = info->var.xoffset; in bit_clear_margins() 382 ops->var.xoffset = info->var.xoffset; in bit_update_start()
|
/linux/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 418 u32 xoffset, yoffset; member 1034 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1046 xoffset = var->xoffset; in aty128_var_to_crtc() 1070 xoffset = (xoffset + 7) & ~7; in aty128_var_to_crtc() 1072 if (vxres < xres + xoffset) in aty128_var_to_crtc() 1073 vxres = xres + xoffset; in aty128_var_to_crtc() 1149 crtc->xoffset = xoffset; in aty128_var_to_crtc() 1263 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 …]
|
/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/omap2/omapfb/ |
H A D | omapfb-main.c | 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() 1047 if (var->xoffset == fbi->var.xoffset && in omapfb_pan_display() [all …]
|
/linux/drivers/staging/sm750fb/ |
H A D | sm750_hw.c | 332 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/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/gpu/drm/ |
H A D | drm_fb_helper.c | 1273 var->xoffset > var->xres_virtual - var->xres) in drm_fb_helper_check_var() 1369 pan_set(fb_helper, var->xoffset, var->yoffset); in pan_display_atomic() 1373 info->var.xoffset = var->xoffset; in pan_display_atomic() 1376 pan_set(fb_helper, info->var.xoffset, info->var.yoffset); in pan_display_atomic() 1392 modeset->x = var->xoffset; in pan_display_legacy() 1398 info->var.xoffset = var->xoffset; in pan_display_legacy() 1720 info->var.xoffset = 0; in drm_fb_helper_fill_var()
|