/* Set screen start address according to var offset values  */
static void set_screen_start(int xoffset, int yoffset, struct fb_info_control *p)
/* Set screen start address according to var offset values  */
static void set_screen_start(int xoffset, int yoffset, struct fb_info_control *p)
{
	struct fb_par_control *par = &p->par;
	par->xoffset = xoffset;
	par->yoffset = yoffset;
	out_le32(CNTRL_REG(p,start_addr),
		 par->yoffset * par->pitch + (par->xoffset << par->cmode));
}