Home
last modified time | relevance | path

Searched refs:vtb (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/syscons/
H A Dscvtb.c45 #define vtb_wrap(vtb, at, offset) \ argument
46 (((at) + (offset) + (vtb)->vtb_size)%(vtb)->vtb_size)
49 sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows, void *buf, int wait) in sc_vtb_init() argument
51 vtb->vtb_flags = 0; in sc_vtb_init()
52 vtb->vtb_type = type; in sc_vtb_init()
53 vtb->vtb_cols = cols; in sc_vtb_init()
54 vtb->vtb_rows = rows; in sc_vtb_init()
55 vtb->vtb_size = cols*rows; in sc_vtb_init()
56 vtb->vtb_buffer = 0; in sc_vtb_init()
57 vtb->vtb_tail = 0; in sc_vtb_init()
[all …]
H A Dsyscons.h281 sc_vtb_t vtb; member
583 sc_vtb_append(&(scp)->vtb, (from), (scp)->history, (scp)->xsize)
634 void sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows,
636 void sc_vtb_destroy(sc_vtb_t *vtb);
638 void sc_vtb_clear(sc_vtb_t *vtb, int c, int attr);
640 int sc_vtb_getc(sc_vtb_t *vtb, int at);
641 int sc_vtb_geta(sc_vtb_t *vtb, int at);
642 void sc_vtb_putc(sc_vtb_t *vtb, int at, int c, int a);
643 vm_offset_t sc_vtb_putchar(sc_vtb_t *vtb, vm_offset_t p, int c, int a);
644 vm_offset_t sc_vtb_pointer(sc_vtb_t *vtb, int at);
[all …]
H A Dscgfbrndr.c168 (u_int16_t *)sc_vtb_pointer(&scp->vtb, from), count); in gfb_draw()
183 c = sc_vtb_getc(&scp->vtb, from); in gfb_draw()
184 a = sc_vtb_geta(&scp->vtb, from) >> 8; in gfb_draw()
190 (u_int16_t *)sc_vtb_pointer(&scp->vtb, from), in gfb_draw()
238 sc_vtb_getc(&scp->vtb, scp->cursor_oldpos), in gfb_cursor()
239 sc_vtb_geta(&scp->vtb, scp->cursor_oldpos) >> 8); in gfb_cursor()
240 a = sc_vtb_geta(&scp->vtb, at) >> 8; in gfb_cursor()
241 c = sc_vtb_getc(&scp->vtb, at); in gfb_cursor()
247 sc_vtb_getc(&scp->vtb, at), in gfb_cursor()
248 sc_vtb_geta(&scp->vtb, at) >> 8); in gfb_cursor()
H A Dsctermvar.h70 sc_vtb_ins(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr); in sc_term_ins_line()
84 sc_vtb_delete(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr); in sc_term_del_line()
99 sc_vtb_move(&scp->vtb, scp->cursor_pos, scp->cursor_pos + n, count); in sc_term_ins_char()
100 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, ch, attr); in sc_term_ins_char()
115 sc_vtb_move(&scp->vtb, scp->cursor_pos + n, scp->cursor_pos, count); in sc_term_del_char()
116 sc_vtb_erase(&scp->vtb, scp->cursor_pos + count, n, ch, attr); in sc_term_del_char()
214 sc_vtb_erase(&scp->vtb, scp->cursor_pos, in sc_term_clr_eos()
222 sc_vtb_erase(&scp->vtb, 0, scp->cursor_pos + 1, ch, attr); in sc_term_clr_eos()
228 sc_vtb_erase(&scp->vtb, 0, scp->xsize*scp->ysize, ch, attr); in sc_term_clr_eos()
241 sc_vtb_erase(&scp->vtb, scp->cursor_pos, in sc_term_clr_eol()
[all …]
H A Dscterm-teken.c224 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], in scteken_clear()
549 p = sc_vtb_pointer(&scp->vtb, cursor); in scteken_putchar()
550 sc_vtb_putchar(&scp->vtb, p, map[ch], attr); in scteken_putchar()
580 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_fill()
588 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * in scteken_fill()
624 sc_vtb_move(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_copy()
640 sc_vtb_move(&scp->vtb, src, dst, width); in scteken_copy()
655 sc_vtb_move(&scp->vtb, src, dst, width); in scteken_copy()
H A Dscmouse.c354 c = sc_vtb_getc(&scp->vtb, p); in skip_spc_right()
370 c = sc_vtb_getc(&scp->vtb, p); in skip_spc_left()
388 cut_buffer[i] = sc_vtb_getc(&scp->vtb, p); in mouse_do_cut()
462 c = sc_vtb_getc(&scp->vtb, p); in mouse_cut()
509 cut_buffer[0] = sc_vtb_getc(&scp->vtb, scp->mouse_cut_start); in mouse_cut_start()
546 c = sc_vtb_getc(&scp->vtb, scp->mouse_pos); in mouse_cut_word()
550 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word()
556 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word()
564 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word()
570 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word()
H A Dscvgarndr.c473 c = sc_vtb_getc(&scp->vtb, from); in vga_txtdraw()
474 a = sc_vtb_geta(&scp->vtb, from); in vga_txtdraw()
479 sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count); in vga_txtdraw()
572 sc_vtb_getc(&scp->vtb, at), in vga_txtcursor()
573 sc_vtb_geta(&scp->vtb, at), in vga_txtcursor()
576 cursor_attr = sc_vtb_geta(&scp->vtb, at); in vga_txtcursor()
581 sc_vtb_getc(&scp->vtb, at), in vga_txtcursor()
905 a = sc_vtb_geta(&scp->vtb, i); in vga_vgadraw_direct()
913 f = &(scp->font[sc_vtb_getc(&scp->vtb, i) * scp->font_size]); in vga_vgadraw_direct()
959 a = sc_vtb_geta(&scp->vtb, i); in vga_vgadraw_planar()
[all …]
H A Dschistory.c211 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize); in sc_hist_save()
245 &scp->vtb, scp->xsize*(scp->ysize - i), in history_to_screen()
H A Dscterm-dumb.c141 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], SC_NORM_ATTR << 8); in dumb_clear()
H A Dscterm-sc.c371 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, in scterm_scan_esc()
759 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], tcp->cur_attr); in scterm_clear()
H A Dsyscons.c517 sc_vtb_append(&scp->vtb, 0, scp->history, in sc_set_vesa_mode()
785 sc_vtb_destroy(&scp->vtb); in sctty_close()
1133 frbp = scp->vtb.vtb_buffer + scp->ysize * lsize + in sctty_ioctl()
3313 sc_vtb_init(&scp->vtb, VTB_MEMORY, scp->xsize, in scinit()
3333 sc_vtb_copy(&scp->scr, 0, &scp->vtb, 0, in scinit()
3571 old = scp->vtb; in sc_alloc_scr_buffer()
3581 scp->vtb = new; in sc_alloc_scr_buffer()
3583 scp->vtb = new; in sc_alloc_scr_buffer()
3658 sc_vtb_init(&scp->vtb, VTB_MEMORY, 0, 0, NULL, FALSE); in init_scp()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c244 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in am335x_rend_draw()
248 c = sc_vtb_getc(&scp->vtb, from); in am335x_rend_draw()
249 a = sc_vtb_geta(&scp->vtb, from) >> 8; in am335x_rend_draw()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c327 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in bcmrend_draw()
331 c = sc_vtb_getc(&scp->vtb, from); in bcmrend_draw()
332 a = sc_vtb_geta(&scp->vtb, from) >> 8; in bcmrend_draw()