/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | 68328fb.c | 145 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() 363 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 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() [all...] |
H A D | vfb.c | 129 var->yoffset = info->var.yoffset; in vfb_check_var() 158 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 159 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 356 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 363 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display() 368 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display() 372 info->var.yoffset = var->yoffset; in vfb_pan_display()
|
H A D | controlfb.c | 89 int xoffset, yoffset; member 215 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument 221 par->yoffset = yoffset; in set_screen_start() 223 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 240 * check if only xoffset or yoffset differs. in control_set_hardware() 244 p->par.yoffset != par->yoffset) in control_set_hardware() 245 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware() 271 out_le32(CNTRL_REG(p,start_addr), par->yoffset * pa in control_set_hardware() [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() 414 * @var:contains new xoffset, yoffset and vmode values 417 * This function looks only at xoffset, yoffset and the %FB_VMODE_YWRAP 427 if (var->yoffset >= info->var.yres_virtual || in hgafb_pan_display() 432 || var->yoffset + info->var.yres > info->var.yres_virtual in hgafb_pan_display() 433 || var->yoffset % 8) in hgafb_pan_display() 437 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 in ami_encode_var() [all...] |
H A D | atafb.c | 331 * xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields, 659 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 662 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var() 752 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var() 754 var->yoffset = 0; in tt_encode_var() 917 xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields, in falcon_decode_var() 1357 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var() 1360 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var() 1522 var->yoffset = (par->screen_base - screen_base) / linelen; in falcon_encode_var() 1524 var->yoffset in falcon_encode_var() 2431 int yoffset = var->yoffset; atafb_pan_display() local [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 * inf in i740fb_pan_display() [all...] |
H A D | g364fb.c | 126 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 132 var->yoffset + info->var.yres > info->var.yres_virtual) in g364fb_pan_display() 135 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres; in g364fb_pan_display()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | 68328fb.c | 143 var->yoffset = info->var.yoffset; in mc68x328fb_check_var() 172 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var() 173 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var() 361 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 368 if (var->yoffset < 0 in mc68x328fb_pan_display() 369 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display() 374 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display() 378 info->var.yoffset = var->yoffset; in mc68x328fb_pan_display() [all...] |
H A D | vfb.c | 130 var->yoffset = info->var.yoffset; in vfb_check_var() 159 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 160 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 357 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 364 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display() 369 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display() 373 info->var.yoffset = var->yoffset; in vfb_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() 230 * check if only xoffset or yoffset differs. in control_set_hardware() 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 * pa in control_set_hardware() [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() 414 * @var:contains new xoffset, yoffset and vmode values 417 * This function looks only at xoffset, yoffset and the %FB_VMODE_YWRAP 427 if (var->yoffset >= info->var.yres_virtual || in hgafb_pan_display() 432 || var->yoffset + info->var.yres > info->var.yres_virtual in hgafb_pan_display() 433 || var->yoffset % 8) in hgafb_pan_display() 437 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
|
H A D | i740fb.c | 403 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local 411 var->xoffset, var->yoffset, var->bits_per_pixel, in i740fb_decode_var() 481 yoffset = var->yoffset; in i740fb_decode_var() 482 if (yres + yoffset > vyres) in i740fb_decode_var() 483 yoffset = vyres - yres; in i740fb_decode_var() 496 if (yoffset + yres > vyres) in i740fb_decode_var() 497 yoffset = vyres - yres; in i740fb_decode_var() 583 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var() 909 u32 base = (var->yoffset * inf in i740fb_pan_display() [all...] |
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 in ami_encode_var() [all...] |
H A D | g364fb.c | 124 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcon_ud.c | 243 region.dy = info->var.yoffset; in ud_clear_margins() 412 int xoffset, yoffset; in ud_update_start() local 418 yoffset = vyres - info->var.yres - ops->var.yoffset; in ud_update_start() 419 if (yoffset < 0) in ud_update_start() 420 yoffset += vyres; in ud_update_start() 422 ops->var.yoffset = yoffset; in ud_update_start() 425 ops->var.yoffset = info->var.yoffset; in ud_update_start() [all...] |
H A D | fbcon_ccw.c | 206 region.dy = info->var.yoffset; in ccw_clear_margins() 389 u32 yoffset; in ccw_update_start() local 393 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start() 394 ops->var.xoffset = ops->var.yoffset; in ccw_update_start() 395 ops->var.yoffset = yoffset; in ccw_update_start() 398 ops->var.yoffset = info->var.yoffset; in ccw_update_start()
|
H A D | fbcon_cw.c | 189 region.dy = info->var.yoffset + rs; in cw_clear_margins() 197 region.dy = info->var.yoffset; in cw_clear_margins() 376 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start() 377 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 381 ops->var.yoffset = info->var.yoffset; in cw_update_start()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcon_ud.c | 243 region.dy = info->var.yoffset; in ud_clear_margins() 412 int xoffset, yoffset; in ud_update_start() local 418 yoffset = vyres - info->var.yres - ops->var.yoffset; in ud_update_start() 419 if (yoffset < 0) in ud_update_start() 420 yoffset += vyres; in ud_update_start() 422 ops->var.yoffset = yoffset; in ud_update_start() 425 ops->var.yoffset = info->var.yoffset; in ud_update_start() [all...] |
H A D | fbcon_ccw.c | 206 region.dy = info->var.yoffset; in ccw_clear_margins() 389 u32 yoffset; in ccw_update_start() local 393 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start() 394 ops->var.xoffset = ops->var.yoffset; in ccw_update_start() 395 ops->var.yoffset = yoffset; in ccw_update_start() 398 ops->var.yoffset = info->var.yoffset; in ccw_update_start()
|
H A D | fbcon_cw.c | 189 region.dy = info->var.yoffset + rs; in cw_clear_margins() 197 region.dy = info->var.yoffset; in cw_clear_margins() 376 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start() 377 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 381 ops->var.yoffset = info->var.yoffset; in cw_update_start()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | aty128fb.c | 418 u32 xoffset, yoffset; member 1036 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1049 yoffset = var->yoffset; in aty128_var_to_crtc() 1077 if (vyres < yres + yoffset) in aty128_var_to_crtc() 1078 vyres = yres + yoffset; in aty128_var_to_crtc() 1152 crtc->yoffset = yoffset; in aty128_var_to_crtc() 1266 var->yoffset = crtc->yoffset; in aty128_crtc_to_var() 1621 u32 xoffset, yoffset; aty128fb_pan_display() local [all...] |
/kernel/linux/linux-6.6/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 1047 yoffset = var->yoffset; in aty128_var_to_crtc() 1075 if (vyres < yres + yoffset) in aty128_var_to_crtc() 1076 vyres = yres + yoffset; in aty128_var_to_crtc() 1150 crtc->yoffset = yoffset; in aty128_var_to_crtc() 1264 var->yoffset = crtc->yoffset; in aty128_crtc_to_var() 1621 u32 xoffset, yoffset; aty128fb_pan_display() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 116 unsigned int yoffset, unsigned int ybpl, in bttv_risc_planar() 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 in bttv_risc_planar() 114 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int yoffset, unsigned int ybpl, unsigned int ypadding, unsigned int ylines, unsigned int uoffset, unsigned int voffset, unsigned int hshift, unsigned int vshift, unsigned int cpadding) bttv_risc_planar() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 116 unsigned int yoffset, unsigned int ybpl, in bttv_risc_planar() 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 in bttv_risc_planar() 114 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int yoffset, unsigned int ybpl, unsigned int ypadding, unsigned int ylines, unsigned int uoffset, unsigned int voffset, unsigned int hshift, unsigned int vshift, unsigned int cpadding) bttv_risc_planar() argument [all...] |