Lines Matching refs:width
213 int width, height;
227 ptem->tvs_outbuf_size = tems.ts_c_dimension.width;
231 width = tems.ts_c_dimension.width;
233 ptem->tvs_screen_buf_size = width * height;
235 (unsigned char *)kmem_alloc(width * height, KM_SLEEP);
237 total = width * height * tc_size;
247 for (j = 0; j < width; j++) {
248 ptem->tvs_screen_buf[i * width + j] = ' ';
249 ptem->tvs_fg_buf[(i * width +j) * tc_size] = fg;
250 ptem->tvs_bg_buf[(i * width +j) * tc_size] = bg;
390 size_t width = 0;
473 plat_tem_get_prom_size(&height, &width);
478 tems_setup_terminal(&temargs, height, width);
510 if (tems.ts_c_dimension.width != tp->width ||
514 if (tems.ts_p_dimension.width != tp->width ||
523 tems_setup_terminal(struct vis_devinit *tp, size_t height, size_t width)
526 int old_blank_buf_size = tems.ts_c_dimension.width;
536 tems.ts_p_dimension.width = 0;
538 tems.ts_c_dimension.width = tp->width;
549 if (width == 0) {
550 width = TEM_DEFAULT_COLS;
554 tems.ts_c_dimension.width = (screen_size_t)width;
557 tems.ts_p_dimension.width = tp->width;
570 &tems.ts_c_dimension.width,
572 tems.ts_p_dimension.width);
576 tems.ts_p_offset.x = (tems.ts_p_dimension.width -
577 (tems.ts_c_dimension.width * tems.ts_font.width)) / 2;
580 tems.ts_font.width * tems.ts_font.height;
594 kmem_alloc(tems.ts_c_dimension.width, KM_SLEEP);
595 for (i = 0; i < tems.ts_c_dimension.width; i++)
653 tems.ts_c_dimension.width);
764 *c = (ushort_t)tems.ts_c_dimension.width;
765 *x = (ushort_t)tems.ts_p_dimension.width;
784 * different screen height and width with our kernel console.
791 int ncols, width;
799 ma.e_col = tems.ts_p_dimension.width - 1;
805 width = tems.ts_font.width;
806 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;