Lines Matching refs:upper
248 static void arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, in arcfb_lcd_update_page() argument
258 yindex = upper >> 6; in arcfb_lcd_update_page()
261 ks108_set_yaddr(par, chipindex, upper/8); in arcfb_lcd_update_page()
265 (upper * linesize); in arcfb_lcd_update_page()
303 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local
306 upper = top; in arcfb_lcd_update_vert()
311 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert()
312 upper = lower + 1; in arcfb_lcd_update_vert()
313 lower = upper + 7; in arcfb_lcd_update_vert()
325 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local
328 upper = floor8(top); in arcfb_lcd_update_horiz()
329 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz()
332 distance -= ((lower - upper) + 1 ); in arcfb_lcd_update_horiz()
333 arcfb_lcd_update_vert(par, upper, lower, left, right); in arcfb_lcd_update_horiz()
334 upper = lower + 1; in arcfb_lcd_update_horiz()
335 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz()