Home
last modified time | relevance | path

Searched refs:yoffset (Results 1 – 114 of 114) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/
D68328fb.c145 var->yoffset = info->var.yoffset; in mc68x328fb_check_var()
174 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var()
175 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var()
370 if (var->yoffset < 0 in mc68x328fb_pan_display()
371 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display()
376 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display()
380 info->var.yoffset = var->yoffset; in mc68x328fb_pan_display()
Dcontrolfb.c63 int xoffset, yoffset; member
246 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument
252 par->yoffset = yoffset; in set_screen_start()
254 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start()
273 var->yoffset+par->yres > par->vyres) in controlfb_pan_display()
276 set_screen_start(xoffset, var->yoffset, p); in controlfb_pan_display()
502 p->par.yoffset != par->yoffset) in control_set_hardware()
503 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware()
529 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware()
899 par->yoffset = var->yoffset; in control_var_to_par()
[all …]
Dvfb.c174 var->yoffset = info->var.yoffset; in vfb_check_var()
203 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var()
204 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var()
393 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display()
398 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display()
402 info->var.yoffset = var->yoffset; in vfb_pan_display()
Dg364fb.c138 info->var.yoffset); in g364fb_cursor()
153 var->yoffset + info->var.yres > info->var.yres_virtual) in g364fb_pan_display()
156 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres; in g364fb_pan_display()
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()
420 if (var->yoffset >= info->var.yres_virtual || in hgafb_pan_display()
425 || var->yoffset + info->var.yres > info->var.yres_virtual in hgafb_pan_display()
426 || var->yoffset % 8) in hgafb_pan_display()
430 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
Damifb.c689 __s16 yoffset; member
721 int yoffset; /* vmode */ member
1485 par->yoffset = var->yoffset; in ami_decode_var()
1487 if (par->xoffset || par->yoffset < 0 || in ami_decode_var()
1488 par->yoffset >= par->vyres) in ami_decode_var()
1489 par->xoffset = par->yoffset = 0; in ami_decode_var()
1493 par->yoffset < 0 || par->yoffset > par->vyres - par->yres) in ami_decode_var()
1494 par->xoffset = par->yoffset = 0; in ami_decode_var()
1497 par->xoffset = par->yoffset = 0; in ami_decode_var()
1526 var->yoffset = par->yoffset; in ami_encode_var()
[all …]
Dfb-puv3.c356 var->yoffset = info->var.yoffset; in unifb_check_var()
385 if (var->yres_virtual < var->yoffset + var->yres) in unifb_check_var()
386 var->yres_virtual = var->yoffset + var->yres; in unifb_check_var()
624 if (var->yoffset < 0 in unifb_pan_display()
625 || var->yoffset >= info->var.yres_virtual in unifb_pan_display()
630 var->yoffset + info->var.yres > info->var.yres_virtual) in unifb_pan_display()
634 info->var.yoffset = var->yoffset; in unifb_pan_display()
Datafb.c684 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var()
687 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
777 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
779 var->yoffset = 0; in tt_encode_var()
1382 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var()
1385 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1547 var->yoffset = (par->screen_base - screen_base) / linelen; in falcon_encode_var()
1549 var->yoffset = 0; in falcon_encode_var()
1699 (var->yoffset * info->var.xres_virtual + xoffset) * bpp / 8; in falcon_pan_display()
1891 if (var->yoffset + yres > yres_virtual && yres_virtual) in stste_decode_var()
[all …]
Dpvr2fb.c428 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length; in pvr2fb_set_par()
463 if (var->xoffset || var->yoffset < 0 || in pvr2fb_check_var()
464 var->yoffset >= var->yres_virtual) { in pvr2fb_check_var()
465 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
468 var->yoffset > var->yres_virtual - var->yres || 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()
Dvga16fb.c195 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()
202 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3; in vga16fb_pan_var()
318 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local
402 yoffset = var->yoffset; in vga16fb_check_var()
411 if (yoffset + yres > vyres) in vga16fb_check_var()
412 yoffset = vyres - yres; in vga16fb_check_var()
418 var->yoffset = yoffset; in vga16fb_check_var()
452 pos = yoffset * vxres + (xoffset >> shift); in vga16fb_check_var()
Di740fb.c412 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local
420 var->xoffset, var->yoffset, var->bits_per_pixel, in i740fb_decode_var()
489 yoffset = var->yoffset; in i740fb_decode_var()
490 if (yres + yoffset > vyres) in i740fb_decode_var()
491 yoffset = vyres - yres; in i740fb_decode_var()
504 if (yoffset + yres > vyres) in i740fb_decode_var()
505 yoffset = vyres - yres; in i740fb_decode_var()
591 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var()
909 u32 base = (var->yoffset * info->var.xres_virtual in i740fb_pan_display()
913 var->xoffset, var->yoffset, base); in i740fb_pan_display()
Dhitfb.c161 int yoffset = var->yoffset; in hitfb_pan_display() local
166 fb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); in hitfb_pan_display()
261 var->yoffset = 0; in hitfb_check_var()
Dfsl-diu-fb.c706 if (var->yoffset < 0) in fsl_diu_check_var()
707 var->yoffset = 0; in fsl_diu_check_var()
712 if (var->yoffset + info->var.yres > info->var.yres_virtual) in fsl_diu_check_var()
713 var->yoffset = info->var.yres_virtual - info->var.yres; in fsl_diu_check_var()
916 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_aoi()
1050 yy = (cursor->image.dy - info->var.yoffset) & 0x7ff; in fsl_diu_cursor()
1169 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_par()
1251 (info->var.yoffset == var->yoffset)) in fsl_diu_pan_display()
1254 if (var->xoffset < 0 || var->yoffset < 0 in fsl_diu_pan_display()
1256 || var->yoffset + info->var.yres > info->var.yres_virtual) in fsl_diu_pan_display()
[all …]
Dmx3fb.c790 old_var.yoffset = new_var.yoffset; in mx3fb_must_set_par()
884 mx3_fbi->cur_var.yoffset = 0; in __set_par()
892 cur_yoffset = mx3_fbi->cur_var.yoffset; in __set_par()
895 mx3_fbi->cur_var.yoffset = cur_yoffset; in __set_par()
1158 mx3_fbi->cur_var.yoffset == var->yoffset) in mx3fb_pan_display()
1161 y_bottom = var->yoffset; in mx3fb_pan_display()
1171 offset = var->yoffset * fbi->fix.line_length in mx3fb_pan_display()
1234 fbi->var.yoffset = var->yoffset; in mx3fb_pan_display()
Darcfb.c207 if ((var->vmode & FB_VMODE_YWRAP) && (var->yoffset < 64) in arcfb_pan_display()
210 ks108_set_start_line(par, i, var->yoffset); in arcfb_pan_display()
212 info->var.yoffset = var->yoffset; in arcfb_pan_display()
Dacornfb.c387 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing()
388 var->yoffset = var->yres_virtual; in acornfb_adjust_timing()
390 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing()
391 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing()
441 u_int off = var->yoffset * info->fix.line_length; in acornfb_update_dma()
597 u_int y_bottom = var->yoffset; in acornfb_pan_display()
Dda8xx-fb.c1037 if (var->yres + var->yoffset > var->yres_virtual) in fb_check_var()
1038 var->yoffset = var->yres_virtual - var->yres; in fb_check_var()
1231 var->yoffset != fbi->var.yoffset) { in da8xx_pan_display()
1234 new_var.yoffset = var->yoffset; in da8xx_pan_display()
1241 new_var.yoffset * fix->line_length + in da8xx_pan_display()
1291 info->var.yoffset * info->fix.line_length + in da8xxfb_set_par()
Dgxt4500.c286 var->yres + var->yoffset > var->yres_virtual || in gxt4500_var_to_par()
470 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par()
554 var->yoffset + info->var.yres > info->var.yres_virtual) in gxt4500_pan_display()
557 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
Dpxa168fb.c215 if (var->yoffset + var->yres > var->yres_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()
Dpmag-aa-fb.c131 c->y = y - disp->var.yoffset; in aafbcon_cursor()
329 var->yoffset = 0; in aafb_encode_var()
Dgbefb.c101 .yoffset = 0,
132 .yoffset = 0,
946 var->yoffset = info->var.yoffset; in gbefb_check_var()
Ds1d13xxxfb.c388 if (var->yoffset + info->var.yres > info->var.yres_virtual) in s1d13xxxfb_pan_display()
391 start = (info->fix.line_length >> 1) * var->yoffset; in s1d13xxxfb_pan_display()
719 var->xoffset = var->yoffset = 0; in s1d13xxxfb_fetch_hw_state()
Dau1100fb.c313 dy = var->yoffset - fbi->var.yoffset; in au1100fb_fb_pan_display()
Dvt8623fb.c426 info->var.yoffset = 0; in vt8623fb_set_par()
626 offset = (var->yoffset / 16) * info->var.xres_virtual in vt8623fb_pan_display()
630 offset = (var->yoffset * info->fix.line_length) + in vt8623fb_pan_display()
Dimsttfb.c751 __u32 off = var->yoffset * (info->fix.line_length >> 3) in set_offset()
927 || var->yoffset + info->var.yres > info->var.yres_virtual) in imsttfb_pan_display()
931 info->var.yoffset = var->yoffset; in imsttfb_pan_display()
1211 yy = cursor->image.dy - info->var.yoffset;
Dplatinumfb.c51 int xoffset, yoffset; member
485 pinfo->yoffset = 0; in platinum_var_to_par()
Darkfb.c663 info->var.yoffset = 0; in arkfb_set_par()
912 offset = (var->yoffset / 16) * (info->var.xres_virtual / 2) in arkfb_pan_display()
916 offset = (var->yoffset * info->fix.line_length) + in arkfb_pan_display()
Dps3fb.c549 var->yoffset + var->yres > var->yres_virtual) { in ps3fb_check_var()
640 par->pan_offset = info->var.yoffset * xdr_line_length + in ps3fb_set_par()
697 par->pan_offset = var->yoffset * info->fix.line_length + in ps3fb_pan_display()
Dbfin_adv7393fb.c634 dy = var->yoffset - info->var.yoffset; in bfin_adv7393_fb_pan_display()
Dtdfxfb.c475 var->yoffset = 0; in tdfxfb_check_var()
712 reg.startaddr = info->var.yoffset * reg.stride in tdfxfb_set_par()
847 u32 addr = var->yoffset * info->fix.line_length; in tdfxfb_pan_display()
1106 int y = cursor->image.dy - info->var.yoffset; in tdfxfb_cursor()
Dgoldfishfb.c145 writel(fb->fb.fix.smem_start + fb->fb.var.xres * 2 * var->yoffset, in goldfish_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()
1524 c_offset = var->yoffset / ysub * ovl->xres_virtual * 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()
1839 c_offset = var->yoffset / ysub * ch->xres_virtual * 2 / xsub in sh_mobile_lcdc_pan()
Dpm2fb.c734 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1); in pm2fb_set_par()
980 base = to3264(var->yoffset * xres + var->xoffset, depth, 1); in pm2fb_pan_display()
1269 int y = cursor->image.dy - info->var.yoffset; in pm2vfb_cursor()
1398 int y = cursor->image.dy - info->var.yoffset + 63; in pm2fb_cursor()
Dpm3fb.c649 int y = cursor->image.dy - info->var.yoffset; in pm3fb_cursor()
1026 par->base = pm3fb_shift_bpp(bpp, (info->var.yoffset * xres) in pm3fb_set_par()
1153 (var->yoffset * xres) in pm3fb_pan_display()
Dmxsfb.c519 fb_info->fix.line_length * fb_info->var.yoffset, in mxsfb_set_par()
600 offset = fb_info->fix.line_length * var->yoffset; in mxsfb_pan_display()
Dvesafb.c67 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4; in vesafb_pan_display()
Ds3fb.c649 info->var.yoffset = 0; in s3fb_set_par()
1032 offset = (var->yoffset / 16) * (info->var.xres_virtual / 2) in s3fb_pan_display()
1036 offset = (var->yoffset * info->fix.line_length) + in s3fb_pan_display()
Dcyber2000fb.c543 u_int base = var->yoffset * var->xres_virtual + var->xoffset; in cyber2000fb_update_start()
980 cfb->fb.var.yoffset = var->yoffset; in cyber2000fb_pan_display()
Dgrvga.c249 base_addr = fix->smem_start + (var->yoffset * fix->line_length); in grvga_pan_display()
Dwm8505fb.c231 writel(var->yoffset, fbi->regbase + WMT_GOVR_YPAN); in wm8505fb_pan_display()
Dneofb.c714 if (var->yoffset + var->yres > var->yres_virtual) in neofb_check_var()
715 var->yoffset = var->yres_virtual - var->yres; in neofb_check_var()
1187 Base = (var->yoffset * info->var.xres_virtual + var->xoffset) >> 2; in neofb_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.c213 + info->fix.line_length * var->yoffset; in vt8500lcd_pan_display()
Dleo.c257 if (var->xoffset || var->yoffset || var->vmode) in leo_pan_display()
Datmel_lcdfb.c403 dma_addr = (fix->smem_start + var->yoffset * fix->line_length in atmel_lcdfb_update_dma()
532 var->xoffset = var->yoffset = 0; in atmel_lcdfb_check_var()
Dcirrusfb.c601 if (var->yoffset > var->yres_virtual - var->yres) in cirrusfb_check_var()
602 var->yoffset = var->yres_virtual - var->yres - 1; in cirrusfb_check_var()
1328 base = var->yoffset * info->fix.line_length + xoffset; in cirrusfb_pan_display()
Dpxafb.c548 newvar.yoffset = var->yoffset; in pxafb_pan_display()
1116 offset = fix->line_length * var->yoffset + fbi->video_mem_phys; in setup_base_frame()
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.c598 var->yoffset * info->fix.line_length); in sm501fb_pan_crt()
620 reg = var->yoffset | (info->var.yres_virtual << 16); in sm501fb_pan_pnl()
Dtmiofb.c595 var->yoffset = 0; in tmiofb_check_var()
Dffb.c464 if (var->xoffset || var->yoffset || var->vmode) in ffb_pan_display()
Duvesafb.c285 var->yoffset = 0; in uvesafb_setup_var()
1096 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4; in uvesafb_pan_display()
Damba-clcd.c62 ustart += fb->fb.var.yoffset * fb->fb.fix.line_length; in clcdfb_set_start()
Dsstfb.c445 var->yoffset = 0; in sstfb_check_var()
Ds3c-fb.c878 start_boff = var->yoffset * info->fix.line_length; in s3c_fb_pan_display()
Dtridentfb.c990 offset = (var->xoffset + (var->yoffset * info->var.xres_virtual)) in tridentfb_pan_display()
Dw100fb.c742 info->var.xoffset = info->var.yoffset = 0; in w100fb_probe()
/linux-4.1.27/drivers/video/fbdev/msm/
Dmsm_fb.c67 unsigned yoffset; member
123 uint32_t yoffset; in msmfb_start_dma() local
149 yoffset = msmfb->yoffset; in msmfb_start_dma()
163 addr = ((msmfb->xres * (yoffset + y) + x) * 2); in msmfb_start_dma()
195 uint32_t yoffset, int pan_display) in msmfb_pan_update() argument
204 left, top, eright, ebottom, yoffset, pan_display); in msmfb_pan_update()
253 msmfb->yoffset = yoffset; in msmfb_pan_update()
276 msmfb->yoffset); in msmfb_pan_update()
348 var->reserved[2] >> 16, var->yoffset, 1); in msmfb_pan_display()
351 var->yoffset, 1); in msmfb_pan_display()
[all …]
/linux-4.1.27/drivers/video/console/
Dfbcon_ud.c243 region.dy = info->var.yoffset; in ud_clear_margins()
421 int xoffset, yoffset; in ud_update_start() local
427 yoffset = vyres - info->var.yres - ops->var.yoffset; in ud_update_start()
428 if (yoffset < 0) in ud_update_start()
429 yoffset += vyres; in ud_update_start()
431 ops->var.yoffset = yoffset; in ud_update_start()
434 ops->var.yoffset = info->var.yoffset; in ud_update_start()
Dfbcon_ccw.c206 region.dy = info->var.yoffset; in ccw_clear_margins()
397 u32 yoffset; in ccw_update_start() local
401 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start()
402 ops->var.xoffset = ops->var.yoffset; in ccw_update_start()
403 ops->var.yoffset = yoffset; in ccw_update_start()
406 ops->var.yoffset = info->var.yoffset; in ccw_update_start()
Dfbcon_cw.c189 region.dy = info->var.yoffset + rs; in cw_clear_margins()
197 region.dy = info->var.yoffset; in cw_clear_margins()
384 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start()
385 ops->var.yoffset = ops->var.xoffset; in cw_update_start()
389 ops->var.yoffset = info->var.yoffset; in cw_update_start()
Dtileblit.c126 ops->var.yoffset = info->var.yoffset; in tile_update_start()
Dbitblit.c229 region.dy = info->var.yoffset + bs; in bit_clear_margins()
398 ops->var.yoffset = info->var.yoffset; in bit_update_start()
Dfbcon.c1371 var->yoffset = info->var.yoffset; in fbcon_set_disp()
1413 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ywrap_up()
1432 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ywrap_down()
1455 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_up()
1479 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_up_redraw()
1503 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_down()
1527 ops->var.yoffset = p->yscroll * vc->vc_font.height; in ypan_down_redraw()
2274 ops->var.xoffset = ops->var.yoffset = p->yscroll = 0; in fbcon_switch()
2845 ops->var.yoffset = offset * vc->vc_font.height; in fbcon_scrolldelta()
2914 ops->var.xoffset = ops->var.yoffset = p->yscroll = 0; in fbcon_modechanged()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-risc.c128 unsigned int yoffset, unsigned int ybpl, in bttv_risc_planar() argument
140 int topfield = (0 == yoffset); in bttv_risc_planar()
188 while (yoffset && yoffset >= sg_dma_len(ysg)) { in bttv_risc_planar()
189 yoffset -= sg_dma_len(ysg); in bttv_risc_planar()
203 if (yoffset + ylen > sg_dma_len(ysg)) in bttv_risc_planar()
204 ylen = sg_dma_len(ysg) - yoffset; in bttv_risc_planar()
223 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset); in bttv_risc_planar()
224 yoffset += ylen; in bttv_risc_planar()
232 yoffset += ypadding; in bttv_risc_planar()
/linux-4.1.27/drivers/video/fbdev/aty/
Daty128fb.c432 u32 xoffset, yoffset; member
1057 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local
1070 yoffset = var->yoffset; in aty128_var_to_crtc()
1098 if (vyres < yres + yoffset) in aty128_var_to_crtc()
1099 vyres = yres + yoffset; in aty128_var_to_crtc()
1173 crtc->yoffset = yoffset; in aty128_var_to_crtc()
1287 var->yoffset = crtc->yoffset; in aty128_crtc_to_var()
1642 u32 xoffset, yoffset; in aty128fb_pan_display() local
1650 yoffset = var->yoffset; in aty128fb_pan_display()
1652 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display()
[all …]
Datyfb_base.c795 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local
808 yoffset = var->yoffset; in aty_var_to_crtc()
820 if (vyres < yres + yoffset) in aty_var_to_crtc()
821 vyres = yres + yoffset; in aty_var_to_crtc()
1003 crtc->yoffset = yoffset; in aty_var_to_crtc()
1006 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in aty_var_to_crtc()
1569 u32 yoffset = info->var.yoffset; in set_off_pitch() local
1574 ((yoffset * line_length + xoffset * bpp / 8) / 8) | in set_off_pitch()
1737 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local
1744 yoffset = var->yoffset; in atyfb_pan_display()
[all …]
Dmach64_cursor.c98 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor()
Datyfb.h15 u32 yoffset; member
Dradeon_monitor.c721 var->yoffset = 0; in radeon_videomode_to_var()
806 var->xoffset = var->yoffset = 0; in radeon_check_modes()
Dradeon_base.c825 if (v.yoffset > v.yres_virtual - v.yres) in radeonfb_check_var()
826 v.yoffset = v.yres_virtual - v.yres - 1; in radeonfb_check_var()
844 || (var->yoffset + info->var.yres > info->var.yres_virtual)) in radeonfb_pan_display()
851 OUTREG(CRTC_OFFSET, (var->yoffset * info->fix.line_length + in radeonfb_pan_display()
/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c175 m2info->fbcon.var.yoffset = var->yoffset; in matroxfb_dh_pan_var()
178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var()
217 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var()
218 var->yoffset = var->yres_virtual - var->yres; 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.c323 minfo->fbcon.var.yoffset = var->yoffset; in matrox_pan_var()
324 …pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minf… in matrox_pan_var()
619 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_decode_var()
620 var->yoffset = var->yres_virtual - var->yres; in matroxfb_decode_var()
817 pos = (var->yoffset * var->xres_virtual + var->xoffset) * minfo->curr.final_bppShift / 32; in matroxfb_set_par()
1897 var.xoffset = var.yoffset = 0; in initMatrox2()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c138 (var->xoffset != 0 || var->yoffset != 0)) { in vmw_fb_check_var()
144 (var->yoffset + var->yres) > par->max_height) { in vmw_fb_check_var()
151 var->yoffset + var->yres)) { in vmw_fb_check_var()
179 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_Y, info->var.yoffset); in vmw_fb_set_par()
513 info->var.yoffset = 0; in vmw_fb_init()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c171 offset = vrfb->yoffset; in omapfb_get_vrfb_offset()
174 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; in omapfb_get_vrfb_offset()
702 if (var->yres + var->yoffset > var->yres_virtual) in check_fb_var()
703 var->yoffset = var->yres_virtual - var->yres; in check_fb_var()
776 offset = var->yoffset * fix->line_length + in calc_rotation_offset_dma()
797 offset += var->yoffset * fix->line_length + in calc_rotation_offset_vrfb()
800 offset -= var->yoffset * fix->line_length + in calc_rotation_offset_vrfb()
804 var->yoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb()
807 var->yoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb()
834 var->xoffset, var->yoffset, offset); in omapfb_calc_addr()
[all …]
/linux-4.1.27/include/video/
Domapvrfb.h33 u16 yoffset; member
/linux-4.1.27/drivers/acpi/
Dbgrt.c52 static DEVICE_ATTR(yoffset, S_IRUGO, show_yoffset, NULL);
/linux-4.1.27/drivers/staging/sm750fb/
Dsm750_hw.c380 FIELD_VALUE(0, PANEL_WINDOW_HEIGHT, Y, var->yoffset)); in hw_sm750_crtc_setMode()
624 (var->yoffset + var->yres > var->yres_virtual)) { in hw_sm750_pan_display()
628 total = var->yoffset * info->fix.line_length + in hw_sm750_pan_display()
Dsm750.c154 fbcursor->image.dy - info->var.yoffset); in lynxfb_ops_cursor()
917 var->yoffset, in lynxfb_set_fbinfo()
/linux-4.1.27/drivers/media/platform/omap/
Domap_vout_vrfb.c337 offset = vout->vrfb_context[0].yoffset * in omap_vout_calculate_vrfb_offset()
350 offset = ((MAX_PIXELS_PER_LINE * vout->vrfb_context[0].yoffset * in omap_vout_calculate_vrfb_offset()
/linux-4.1.27/drivers/video/fbdev/mmp/fb/
Dmmpfb.c299 if (var->yoffset + var->yres > var->yres_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.1.27/drivers/staging/xgifb/
DXGI_main_26.c1088 base = var->yoffset * info->var.xres_virtual + var->xoffset; in XGIfb_pan_var()
1335 if (var->yoffset > var->yres_virtual - var->yres) in XGIfb_check_var()
1336 var->yoffset = var->yres_virtual - var->yres - 1; in XGIfb_check_var()
1354 if (var->yoffset > (info->var.yres_virtual - info->var.yres)) in XGIfb_pan_display()
1358 if (var->yoffset >= info->var.yres_virtual || var->xoffset) in XGIfb_pan_display()
1361 || var->yoffset + info->var.yres in XGIfb_pan_display()
1370 info->var.yoffset = var->yoffset; in XGIfb_pan_display()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtvfb.c764 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) { in _ivtvfb_check_var()
766 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual); in _ivtvfb_check_var()
839 if (var->yoffset + info->var.yres > info->var.yres_virtual || in ivtvfb_pan_display()
843 osd_pan_index = var->yoffset * info->fix.line_length in ivtvfb_pan_display()
849 itv->yuv_info.osd_y_pan = var->yoffset; in ivtvfb_pan_display()
/linux-4.1.27/drivers/video/fbdev/omap/
Domapfb_main.c200 offset = var->yoffset * fbi->fix.line_length + in ctrl_change_mode()
562 if (var->yres + var->yoffset > var->yres_virtual) in set_fb_var()
563 var->yoffset = var->yres_virtual - var->yres; in set_fb_var()
636 var->yoffset != fbi->var.yoffset) { in omapfb_pan_display()
641 new_var->yoffset = var->yoffset; in omapfb_pan_display()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c112 offset += fbi->var.yoffset * fb->pitches[0]; in rockchip_drm_fbdev_create()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1336 if (v.yoffset < 0) in intelfb_check_var()
1337 v.yoffset = 0; in intelfb_check_var()
1341 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_check_var()
1342 v.yoffset = v.yres_virtual - v.yres; in intelfb_check_var()
1627 dy = cursor->image.dy - info->var.yoffset; in intelfb_cursor()
Dintelfbhw.c384 u32 offset, xoffset, yoffset; in intelfbhw_pan_display() local
391 yoffset = var->yoffset; in intelfbhw_pan_display()
394 (yoffset + info->var.yres > info->var.yres_virtual)) in intelfbhw_pan_display()
397 offset = (yoffset * dinfo->pitch) + in intelfbhw_pan_display()
1254 hw->disp_a_base = hw->disp_a_stride * var->yoffset + in intelfbhw_mode_to_hw()
/linux-4.1.27/drivers/video/fbdev/core/
Dfbsysfs.c373 var.yoffset = simple_strtoul(last, &last, 0); in store_pan()
389 fb_info->var.yoffset); in show_pan()
Dfbmem.c890 if (var->yoffset > 0) { in fb_pan_display()
892 if (!fix->ywrapstep || (var->yoffset % fix->ywrapstep)) in fb_pan_display()
896 } else if (!fix->ypanstep || (var->yoffset % fix->ypanstep)) in fb_pan_display()
905 var->yoffset > info->var.yres_virtual - yres || in fb_pan_display()
912 info->var.yoffset = var->yoffset; in fb_pan_display()
Dmodedb.c612 var->yoffset = 0; in fb_try_mode()
934 var->yoffset = 0; in fb_videomode_to_var()
Dsvgalib.c307 + (cursor->sy + (info->var.yoffset / 16)) in svga_tilecursor()
/linux-4.1.27/include/uapi/linux/
Dfb.h246 __u32 yoffset; /* resolution */ member
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c112 offset += fbi->var.yoffset * fb->pitches[0]; in exynos_drm_fbdev_update()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_fbdev.c55 omap_gem_roll(fbdev->bo, fbi->var.yoffset * npages); in pan_worker()
/linux-4.1.27/drivers/video/fbdev/riva/
Dfbdev.c839 var->xoffset = var->yoffset = 0; in riva_update_var()
1182 if (var->yoffset > var->yres_virtual - var->yres) in rivafb_check_var()
1183 var->yoffset = var->yres_virtual - var->yres - 1; in rivafb_check_var()
1243 base = var->yoffset * info->fix.line_length + var->xoffset; in rivafb_pan_display()
1605 yy = cursor->image.dy - info->var.yoffset; in rivafb_cursor()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-osd.c165 var->xoffset = var->yoffset = 0; in _vivid_fb_check_var()
/linux-4.1.27/drivers/video/fbdev/omap2/
Dvrfb.c237 vrfb->yoffset = vrfb_height - height; in omap_vrfb_setup()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fb_helper.c962 modeset->y = var->yoffset; in drm_fb_helper_pan_display()
968 info->var.yoffset = var->yoffset; in drm_fb_helper_pan_display()
1182 info->var.yoffset = 0; in drm_fb_helper_fill_var()
Ddrm_fb_cma_helper.c310 offset += fbi->var.yoffset * fb->pitches[0]; in drm_fbdev_cma_create()
/linux-4.1.27/Documentation/fb/
Dpxafb.txt75 is encoded into var->nonstd (no, var->xoffset and var->yoffset are
Dapi.txt187 __u32 yoffset; /* resolution */
/linux-4.1.27/drivers/gpu/drm/tegra/
Dfb.c261 info->var.yoffset * fb->pitches[0]; in tegra_fbdev_probe()
/linux-4.1.27/drivers/video/fbdev/vermilion/
Dvermilion.c869 var->yoffset * vinfo->stride + in vmlfb_set_par_locked()
956 var->yoffset * vinfo->stride + in vmlfb_pan_display()
/linux-4.1.27/drivers/video/fbdev/savage/
Dsavagefb_driver.c856 var->xoffset = var->yoffset = 0; in savage_update_var()
966 if (var->yoffset + var->yres > var->yres_virtual) in savagefb_check_var()
967 var->yoffset = var->yres_virtual - var->yres; in savagefb_check_var()
1548 base = (var->yoffset * info->fix.line_length in savagefb_pan_display()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-firmware-acpi18 yoffset: The number of pixels between the top of the screen
/linux-4.1.27/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c279 reg = pack(var->yoffset, var->xoffset); in mb862xxfb_pan()
496 fbi->var.yoffset = 0; in mb862xxfb_init_fbinfo()
/linux-4.1.27/drivers/video/fbdev/sis/
Dsis_main.h37 .yoffset = 0,
Dsis_main.c1334 ivideo->current_base = var->yoffset * info->var.xres_virtual in sisfb_pan_var()
1595 var->yoffset = 0; in sisfb_check_var()
1603 if(var->yoffset > var->yres_virtual - var->yres) { in sisfb_check_var()
1604 var->yoffset = var->yres_virtual - var->yres - 1; in sisfb_check_var()
1628 var->yoffset + info->var.yres > info->var.yres_virtual) in sisfb_pan_display()
1636 info->var.yoffset = var->yoffset; in sisfb_pan_display()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dframebuffer.c109 psb_gtt_roll(dev, psbfb->gtt, var->yoffset * pages); in psbfb_pan()
/linux-4.1.27/drivers/video/fbdev/nvidia/
Dnvidia.c557 yy = cursor->image.dy - info->var.yoffset; in nvidiafb_cursor()
925 total = var->yoffset * info->fix.line_length + var->xoffset; in nvidiafb_pan_display()
/linux-4.1.27/drivers/video/fbdev/via/
Dviafbdev.c348 + var->yoffset * info->fix.line_length in viafb_pan_display()
795 yy = cursor->image.dy - info->var.yoffset; in viafb_cursor()
/linux-4.1.27/drivers/video/fbdev/i810/
Di810_main.c1382 var->yoffset * info->fix.line_length; in i810fb_pan_display()
1499 tmp |= (cursor->image.dy - info->var.yoffset) << 16; in i810fb_cursor()