| /linux/drivers/video/fbdev/ |
| H A D | 68328fb.c | 142 var->yoffset = info->var.yoffset; in mc68x328fb_check_var() 171 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var() 172 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var() 367 if (var->yoffset < 0 in mc68x328fb_pan_display() 368 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display() 373 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display() 377 info->var.yoffset = var->yoffset; in mc68x328fb_pan_display()
|
| 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 211 par->yoffset = yoffset; in set_screen_start() 213 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 234 p->par.yoffset != par->yoffset) in control_set_hardware() 235 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware() 261 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware() 487 par->yoffset = var->yoffset; in control_var_to_par() 498 if (par->yoffset + par->yres > par->vyres) in control_var_to_par() 499 par->yoffset = par->vyres - par->yres; in control_var_to_par() [all …]
|
| H A D | vfb.c | 127 var->yoffset = info->var.yoffset; in vfb_check_var() 156 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 157 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 361 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display() 366 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display() 370 info->var.yoffset = var->yoffset; in vfb_pan_display()
|
| 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() 434 if (var->yoffset >= info->var.yres_virtual || in hgafb_pan_display() 439 || var->yoffset + info->var.yres > info->var.yres_virtual in hgafb_pan_display() 440 || var->yoffset % 8) in hgafb_pan_display() 444 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
|
| H A D | amifb.c | 695 __s16 yoffset; member 727 int yoffset; /* vmode */ member 1491 par->yoffset = var->yoffset; in ami_decode_var() 1493 if (par->yoffset >= par->vyres) in ami_decode_var() 1494 par->xoffset = par->yoffset = 0; in ami_decode_var() 1497 par->yoffset > par->vyres - par->yres) in ami_decode_var() 1498 par->xoffset = par->yoffset = 0; in ami_decode_var() 1501 par->xoffset = par->yoffset = 0; in ami_decode_var() 1530 var->yoffset = par->yoffset; in ami_encode_var() 1642 if (par->yoffset) { in ami_update_par() [all …]
|
| 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() 480 yoffset = var->yoffset; in i740fb_decode_var() 481 if (yres + yoffset > vyres) in i740fb_decode_var() 482 yoffset = vyres - yres; in i740fb_decode_var() 495 if (yoffset + yres > vyres) in i740fb_decode_var() 496 yoffset = vyres - yres; in i740fb_decode_var() 582 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var() 908 u32 base = (var->yoffset * info->var.xres_virtual in i740fb_pan_display() 912 var->xoffset, var->yoffset, base); in i740fb_pan_display()
|
| H A D | vga16fb.c | 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() 218 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3; in vga16fb_pan_var() 334 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 418 yoffset = var->yoffset; in vga16fb_check_var() 427 if (yoffset + yres > vyres) in vga16fb_check_var() 428 yoffset = vyres - yres; in vga16fb_check_var() 434 var->yoffset = yoffset; in vga16fb_check_var() 468 pos = yoffset * vxres + (xoffset >> shift); in vga16fb_check_var()
|
| H A D | g364fb.c | 130 var->yoffset + info->var.yres > info->var.yres_virtual) in g364fb_pan_display() 133 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres; in g364fb_pan_display()
|
| H A D | hitfb.c | 176 int yoffset = var->yoffset; in hitfb_pan_display() local 181 hitfb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); in hitfb_pan_display() 276 var->yoffset = 0; in hitfb_check_var()
|
| H A D | arcfb.c | 208 if ((var->vmode & FB_VMODE_YWRAP) && (var->yoffset < 64) in arcfb_pan_display() 211 ks108_set_start_line(par, i, var->yoffset); in arcfb_pan_display() 213 info->var.yoffset = var->yoffset; in arcfb_pan_display()
|
| H A D | pvr2fb.c | 427 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length; in pvr2fb_set_par() 462 if (var->xoffset || var->yoffset >= var->yres_virtual) { in pvr2fb_check_var() 463 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 466 var->yoffset > var->yres_virtual - var->yres) in pvr2fb_check_var() 467 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 470 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
|
| H A D | acornfb.c | 383 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing() 384 var->yoffset = var->yres_virtual; in acornfb_adjust_timing() 386 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing() 387 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing() 437 u_int off = var->yoffset * info->fix.line_length; in acornfb_update_dma() 593 u_int y_bottom = var->yoffset; in acornfb_pan_display()
|
| H A D | atafb.c | 647 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 650 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var() 740 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var() 742 var->yoffset = 0; in tt_encode_var() 1338 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var() 1341 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var() 1503 var->yoffset = (par->screen_base - screen_base) / linelen; in falcon_encode_var() 1505 var->yoffset = 0; in falcon_encode_var() 1655 (var->yoffset * info->var.xres_virtual + xoffset) * bpp / 8; in falcon_pan_display() 1847 if (var->yoffset + yres > yres_virtual && yres_virtual) in stste_decode_var() [all …]
|
| H A D | gxt4500.c | 288 var->yres + var->yoffset > var->yres_virtual || in gxt4500_var_to_par() 473 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par() 557 var->yoffset + info->var.yres > info->var.yres_virtual) in gxt4500_pan_display() 560 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
|
| H A D | pxa168fb.c | 211 if (var->yoffset + var->yres > var->yres_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()
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-risc.c | 116 unsigned int yoffset, unsigned int ybpl, in bttv_risc_planar() argument 128 int topfield = (0 == yoffset); in bttv_risc_planar() 176 while (yoffset && yoffset >= sg_dma_len(ysg)) { in bttv_risc_planar() 177 yoffset -= sg_dma_len(ysg); in bttv_risc_planar() 183 if (yoffset + ylen > sg_dma_len(ysg)) in bttv_risc_planar() 184 ylen = sg_dma_len(ysg) - yoffset; in bttv_risc_planar() 212 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset); in bttv_risc_planar() 213 yoffset += ylen; in bttv_risc_planar() 221 yoffset += ypadding; in bttv_risc_planar()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbmem.c | 174 if (var->yoffset > 0) { in fb_pan_display() 176 if (!fix->ywrapstep || (var->yoffset % fix->ywrapstep)) in fb_pan_display() 180 } else if (!fix->ypanstep || (var->yoffset % fix->ypanstep)) in fb_pan_display() 189 var->yoffset > info->var.yres_virtual - yres || in fb_pan_display() 196 info->var.yoffset = var->yoffset; in fb_pan_display()
|
| /linux/drivers/video/fbdev/matrox/ |
| H A D | matroxfb_crtc2.c | 176 m2info->fbcon.var.yoffset = var->yoffset; in matroxfb_dh_pan_var() 179 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var() 218 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var() 219 var->yoffset = var->yres_virtual - var->yres; 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/gpu/drm/ |
| H A D | drm_panic.c | 522 struct drm_panic_line *line, int yoffset, u32 fg_color) in draw_line_with_wrap() argument 525 struct drm_rect r_txt = DRM_RECT_INIT(0, yoffset, sb->width, font->height); in draw_line_with_wrap() 566 int yoffset; in draw_panic_static_kmsg() local 571 yoffset = sb->height - font->height - (sb->height % font->height) / 2; in draw_panic_static_kmsg() 584 while (start > kmsg_buf && yoffset >= 0) { in draw_panic_static_kmsg() 591 yoffset = draw_line_with_wrap(sb, font, &line, yoffset, fg_color); in draw_panic_static_kmsg()
|
| H A D | drm_fb_helper.c | 1200 if (var->yoffset > var->yres_virtual - var->yres || in drm_fb_helper_check_var() 1298 dy = var->yoffset - info->var.yoffset; in pan_display_atomic() 1304 info->var.yoffset = var->yoffset; in pan_display_atomic() 1323 modeset->y = var->yoffset; in pan_display_legacy() 1329 info->var.yoffset = var->yoffset; in pan_display_legacy() 1610 info->var.yoffset = 0; in drm_fb_helper_fill_var()
|
| /linux/drivers/video/fbdev/omap2/omapfb/ |
| H A D | omapfb-main.c | 160 offset = vrfb->yoffset; in omapfb_get_vrfb_offset() 163 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; in omapfb_get_vrfb_offset() 691 if (var->yres + var->yoffset > var->yres_virtual) in check_fb_var() 692 var->yoffset = var->yres_virtual - var->yres; in check_fb_var() 765 offset = var->yoffset * fix->line_length + in calc_rotation_offset_dma() 786 offset += var->yoffset * fix->line_length + in calc_rotation_offset_vrfb() 789 offset -= var->yoffset * fix->line_length + in calc_rotation_offset_vrfb() 793 var->yoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb() 796 var->yoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb() 823 var->xoffset, var->yoffset, offset); in omapfb_calc_addr() [all …]
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | atyfb_base.c | 822 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local 835 yoffset = var->yoffset; in aty_var_to_crtc() 847 if (vyres < yres + yoffset) in aty_var_to_crtc() 848 vyres = yres + yoffset; in aty_var_to_crtc() 1024 crtc->yoffset = yoffset; in aty_var_to_crtc() 1027 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in aty_var_to_crtc() 1576 u32 yoffset = info->var.yoffset; 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 1751 yoffset = var->yoffset; in atyfb_pan_display() [all …]
|
| /linux/include/video/ |
| H A D | omapvrfb.h | 21 u16 yoffset; member
|
| /linux/drivers/acpi/ |
| H A D | bgrt.c | 30 BGRT_SHOW(yoffset, image_offset_y);
|
| /linux/drivers/video/fbdev/mmp/fb/ |
| H A D | mmpfb.c | 284 if (var->yoffset + var->yres > var->yres_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()
|