Lines Matching refs:width

212 	unsigned i, j, width, height;  in tem_internal_init()  local
227 ptem->tvs_outbuf_size = tems.ts_c_dimension.width * in tem_internal_init()
231 width = tems.ts_c_dimension.width; in tem_internal_init()
235 ptem->tvs_screen_buf_size = width * ptem->tvs_screen_history_size * in tem_internal_init()
241 ptem->tvs_maxtab = width / 8; in tem_internal_init()
254 ptem->tvs_screen_rows[i] = &ptem->tvs_screen_buf[i * width]; in tem_internal_init()
256 for (j = 0; j < width; j++) { in tem_internal_init()
405 size_t width = 0; in tem_info_init() local
489 plat_tem_get_prom_size(&height, &width); in tem_info_init()
494 tems_setup_terminal(&temargs, height, width); in tem_info_init()
525 if (tems.ts_c_dimension.width != tp->width || in tems_check_videomode()
529 if (tems.ts_p_dimension.width != tp->width || in tems_check_videomode()
538 tems_setup_font(screen_size_t height, screen_size_t width) in tems_setup_font() argument
551 &tems.ts_c_dimension.width, height, width); in tems_setup_font()
571 tems_setup_terminal(struct vis_devinit *tp, size_t height, size_t width) in tems_setup_terminal() argument
573 int old_blank_buf_size = tems.ts_c_dimension.width * in tems_setup_terminal()
585 tems.ts_p_dimension.width = 0; in tems_setup_terminal()
587 tems.ts_c_dimension.width = tp->width; in tems_setup_terminal()
592 8 * tp->width + BORDER_PIXELS); in tems_setup_terminal()
601 if (width == 0) { in tems_setup_terminal()
602 width = TEM_DEFAULT_COLS; in tems_setup_terminal()
606 tems.ts_c_dimension.width = (screen_size_t)width; in tems_setup_terminal()
608 tems.ts_p_dimension.width = tp->width; in tems_setup_terminal()
611 tems_setup_font(tp->height, tp->width); in tems_setup_terminal()
615 tems.ts_p_offset.x = (tems.ts_p_dimension.width - in tems_setup_terminal()
616 (tems.ts_c_dimension.width * tems.ts_font.vf_width)) / 2; in tems_setup_terminal()
630 tems.ts_blank_line = kmem_alloc(tems.ts_c_dimension.width * in tems_setup_terminal()
688 tems.ts_c_dimension.width); in tems_modechange_callback()
810 *c = (ushort_t)tems.ts_c_dimension.width; in tem_get_size()
811 *x = (ushort_t)tems.ts_p_dimension.width; in tem_get_size()
836 int ncols, width; in tem_prom_scroll_up() local
844 ma.e_col = tems.ts_p_dimension.width - 1; in tem_prom_scroll_up()
850 width = tems.ts_font.vf_width; in tem_prom_scroll_up()
851 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_prom_scroll_up()
942 for (col = 0; col < tems.ts_c_dimension.width; col++) { in tem_align()