Lines Matching refs:upper
247 static void arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, in arcfb_lcd_update_page() argument
257 yindex = upper >> 6; in arcfb_lcd_update_page()
260 ks108_set_yaddr(par, chipindex, upper/8); in arcfb_lcd_update_page()
264 (upper * linesize); in arcfb_lcd_update_page()
302 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local
305 upper = top; in arcfb_lcd_update_vert()
310 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert()
311 upper = lower + 1; in arcfb_lcd_update_vert()
312 lower = upper + 7; in arcfb_lcd_update_vert()
324 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local
327 upper = floor8(top); in arcfb_lcd_update_horiz()
328 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz()
331 distance -= ((lower - upper) + 1 ); in arcfb_lcd_update_horiz()
332 arcfb_lcd_update_vert(par, upper, lower, left, right); in arcfb_lcd_update_horiz()
333 upper = lower + 1; in arcfb_lcd_update_horiz()
334 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz()