Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c1377 unsigned int xsub = ovl->format->bpp < 24 ? 2 : 1; in sh_mobile_lcdc_overlay_pan() local
1381 c_offset = var->yoffset / ysub * ovl->xres_virtual * 2 / xsub in sh_mobile_lcdc_overlay_pan()
1382 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_overlay_pan()
1693 unsigned int xsub = ch->format->bpp < 24 ? 2 : 1; in sh_mobile_lcdc_pan() local
1697 c_offset = var->yoffset / ysub * ch->xres_virtual * 2 / xsub in sh_mobile_lcdc_pan()
1698 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_pan()