Lines Matching refs:from_y
213 rex_copy_rect(struct light_devconfig *dc, int from_x, int from_y, int to_x, in rex_copy_rect() argument
219 dy = from_y - to_y; in rex_copy_rect()
222 if (to_y > from_y) { in rex_copy_rect()
244 rex_fill_rect(struct light_devconfig *dc, int from_x, int from_y, int to_x, in rex_fill_rect() argument
250 rex_write(dc, REX_PAGE0_SET, REX_P0REG_YSTARTI, from_y); in rex_fill_rect()
438 int from_x, from_y, to_x, to_y, width, height; in light_copycols() local
441 from_y = row * font->fontheight; in light_copycols()
443 to_y = from_y; in light_copycols()
447 rex_copy_rect(c, from_x, from_y, to_x, to_y, width, height); in light_copycols()
456 int from_x, from_y, to_x, to_y; in light_erasecols() local
459 from_y = row * font->fontheight; in light_erasecols()
461 to_y = from_y + font->fontheight - 1; in light_erasecols()
463 rex_fill_rect(c, from_x, from_y, to_x, to_y, attr); in light_erasecols()
472 int from_x, from_y, to_x, to_y, width, height; in light_copyrows() local
475 from_y = srcrow * font->fontheight; in light_copyrows()
481 rex_copy_rect(c, from_x, from_y, to_x, to_y, width, height); in light_copyrows()
490 int from_x, from_y, to_x, to_y; in light_eraserows() local
493 from_y = row * font->fontheight; in light_eraserows()
495 to_y = from_y + (nrows * font->fontheight) - 1; in light_eraserows()
497 rex_fill_rect(c, from_x, from_y, to_x, to_y, attr); in light_eraserows()