/* here we handle the entire vertical page of the update. we write across lcd chips. update_page uses the upper/left values to decide which chip to select for the right. upper is needed for setting the page desired for the write.  */
static void arcfb_lcd_update_vert(struct arcfb_par *par, unsigned int top, unsigned int bottom, unsigned int left, unsigned int right)
/* here we handle the entire vertical page of the update. we write across lcd chips. update_page uses the upper/left values to decide which chip to select for the right. upper is needed for setting the page desired for the write.  */
static void arcfb_lcd_update_vert(struct arcfb_par *par, unsigned int top, unsigned int bottom, unsigned int left, unsigned int right)
{
	unsigned int distance, upper, lower;
	distance = (bottom - top) + 1;
	upper = top;
	lower = top + 7;
	while (distance > 0) {
		distance -= 8;
		arcfb_lcd_update_page(par, upper, left, right, 8);
		upper = lower + 1;
		lower = upper + 7;
	}
}