Lines Matching refs:mda_num_columns
57 static unsigned int mda_num_columns; /* Number of text columns */ variable
325 mda_num_columns = 80; in mdacon_startup()
364 c->vc_cols = mda_num_columns; in mdacon_init()
367 vc_resize_con(mda_num_lines, mda_num_columns, c->vc_num); in mdacon_init()
430 #define MDA_ADDR(x,y) ((u16 *) mda_vram_base + (y)*mda_num_columns + (x))
456 if (x==0 && width==mda_num_columns) { in mdacon_clear()
459 for (; height > 0; height--, dest+=mda_num_columns) in mdacon_clear()
472 if (sx==0 && dx==0 && width==mda_num_columns) { in mdacon_bmove()
481 src += mda_num_columns; in mdacon_bmove()
482 dest += mda_num_columns; in mdacon_bmove()
490 src -= mda_num_columns; in mdacon_bmove()
491 dest -= mda_num_columns; in mdacon_bmove()
542 mda_set_cursor(c->vc_y*mda_num_columns*2 + c->vc_x*2); in mdacon_cursor()
569 (b-t-lines)*mda_num_columns*2); in mdacon_scroll()
571 lines*mda_num_columns*2); in mdacon_scroll()
576 (b-t-lines)*mda_num_columns*2); in mdacon_scroll()
577 scr_memsetw(MDA_ADDR(0,t), eattr, lines*mda_num_columns*2); in mdacon_scroll()