Home
last modified time | relevance | path

Searched refs:tems (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dtem.c113 tem_state_t tems; /* common term info */ variable
114 _NOTE(MUTEX_PROTECTS_DATA(tems.ts_lock, tems))
140 mutex_init(&tems.ts_lock, (char *)NULL, MUTEX_DRIVER, NULL); in _init()
141 list_create(&tems.ts_list, sizeof (struct tem_vt_state), in _init()
143 tems.ts_active = NULL; in _init()
170 ASSERT(MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock)); in tem_add()
172 list_insert_head(&tems.ts_list, tem); in tem_add()
178 ASSERT(MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock)); in tem_rm()
180 list_remove(&tems.ts_list, tem); in tem_rm()
192 mutex_enter(&tems.ts_lock); in tem_write()
[all …]
H A Dtem_safe.c186 #define tem_safe_callback_display (*tems.ts_callbacks->tsc_display)
187 #define tem_safe_callback_copy (*tems.ts_callbacks->tsc_copy)
188 #define tem_safe_callback_cursor (*tems.ts_callbacks->tsc_cursor)
189 #define tem_safe_callback_cls (*tems.ts_callbacks->tsc_cls)
191 ASSERT(tems.ts_callbacks->tsc_bit2pix != NULL); \
192 (void) (*tems.ts_callbacks->tsc_bit2pix)((tem), (c));\
203 ASSERT((MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock)) || in tem_safe_check_first_time()
216 if (tems.ts_display_mode == VIS_TEXT) in tem_safe_check_first_time()
380 ASSERT((MUTEX_HELD(&tems.ts_lock) && MUTEX_HELD(&tem->tvs_lock)) || in tem_safe_terminal_emulate()
410 tems.ts_fb_polledio->display(tems.ts_fb_polledio->arg, pda); in tems_safe_display()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dtem.c169 tem_state_t tems; /* common term info */ variable
186 #define tem_callback_display (*tems.ts_callbacks->tsc_display)
187 #define tem_callback_copy (*tems.ts_callbacks->tsc_copy)
188 #define tem_callback_cursor (*tems.ts_callbacks->tsc_cursor)
189 #define tem_callback_cls (*tems.ts_callbacks->tsc_cls)
190 #define tem_callback_bit2pix (*tems.ts_callbacks->tsc_bit2pix)
195 list_insert_head(&tems.ts_list, tem); in tem_add()
207 if (tems.ts_initialized == 0 || tem->tvs_initialized == 0) { in tem_write()
221 if (tems.ts_display_mode == VIS_PIXEL) { in tem_internal_init()
222 ptem->tvs_pix_data_size = tems.ts_pix_data_size; in tem_internal_init()
[all …]
H A Dgfx_fb.c1174 if (tems.ts_pix_data_size != GlyphBufferSize) in gfx_fb_cons_display()
1309 tem_get_colors((tem_vt_state_t)tems.ts_active, &fg, &bg); in gfx_fb_setpixel()
1330 tem_get_colors((tem_vt_state_t)tems.ts_active, &fg, &bg); in gfx_fb_drawrect()
1485 vf_width = tems.ts_font.vf_width; in gfx_term_drawrect()
1486 vf_height = tems.ts_font.vf_height; in gfx_term_drawrect()
1500 tem_image_display(tems.ts_active, uy1, ux1, uy2 + 1, ux2 + 1); in gfx_term_drawrect()
1505 x1 = (ux1 + 1) * vf_width + tems.ts_p_offset.x; in gfx_term_drawrect()
1506 y1 = uy1 * vf_height + tems.ts_p_offset.y + yshift; in gfx_term_drawrect()
1507 x2 = ux2 * vf_width + tems.ts_p_offset.x; in gfx_term_drawrect()
1509 y2 = uy2 * vf_height + tems.ts_p_offset.y; in gfx_term_drawrect()
[all …]
H A Dmodule.c552 if (tems.ts_font.vf_width == fl->font_data->width && in build_font_module()
553 tems.ts_font.vf_height == fl->font_data->height) { in build_font_module()
/illumos-gate/usr/src/common/ficl/
H A Dloader.c96 x1 = tems.ts_p_offset.x + x1 * tems.ts_font.vf_width; in ficl_term_putimage()
97 y1 = tems.ts_p_offset.y + y1 * tems.ts_font.vf_height; in ficl_term_putimage()
99 x2 = tems.ts_p_offset.x + in ficl_term_putimage()
100 x2 * tems.ts_font.vf_width; in ficl_term_putimage()
103 y2 = tems.ts_p_offset.y + in ficl_term_putimage()
104 y2 * tems.ts_font.vf_height; in ficl_term_putimage()
/illumos-gate/usr/src/boot/sys/sys/
H A Dtem_impl.h270 extern tem_state_t tems;
/illumos-gate/usr/src/uts/common/sys/
H A Dtem_impl.h296 extern tem_state_t tems;
/illumos-gate/usr/src/boot/i386/libi386/
H A Dvidconsole.c790 from = font_lookup(&tems.ts_font, c); in vidc_install_font()