Searched refs:xsub (Results 1 – 1 of 1) sorted by relevance
1381 unsigned int xsub = ovl->format->bpp < 24 ? 2 : 1; in sh_mobile_lcdc_overlay_pan() local1385 c_offset = var->yoffset / ysub * ovl->xres_virtual * 2 / xsub in sh_mobile_lcdc_overlay_pan()1386 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_overlay_pan()1695 unsigned int xsub = ch->format->bpp < 24 ? 2 : 1; in sh_mobile_lcdc_pan() local1699 c_offset = var->yoffset / ysub * ch->xres_virtual * 2 / xsub in sh_mobile_lcdc_pan()1700 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_pan()