Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/syscons/
H A Dscvtb.c46 (((at) + (offset) + (vtb)->vtb_size)%(vtb)->vtb_size)
51 vtb->vtb_flags = 0; in sc_vtb_init()
57 vtb->vtb_tail = 0; in sc_vtb_init()
91 vtb->vtb_cols = 0; in sc_vtb_destroy()
92 vtb->vtb_rows = 0; in sc_vtb_destroy()
93 vtb->vtb_size = 0; in sc_vtb_destroy()
94 vtb->vtb_tail = 0; in sc_vtb_destroy()
163 return ((pos + offset + vtb->vtb_size)%vtb->vtb_size); in sc_vtb_pos()
170 fillw_io(attr | c, sc_vtb_pointer(vtb, 0), vtb->vtb_size); in sc_vtb_clear()
172 fillw(attr | c, (void *)sc_vtb_pointer(vtb, 0), vtb->vtb_size); in sc_vtb_clear()
[all …]
H A Dsyscons.h281 sc_vtb_t vtb; member
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);
644 vm_offset_t sc_vtb_pointer(sc_vtb_t *vtb, int at);
645 int sc_vtb_pos(sc_vtb_t *vtb, int pos, int offset);
647 #define sc_vtb_tail(vtb) ((vtb)->vtb_tail) argument
648 #define sc_vtb_rows(vtb) ((vtb)->vtb_rows) argument
649 #define sc_vtb_cols(vtb) ((vtb)->vtb_cols) argument
[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()
100 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, ch, attr); in sc_term_ins_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()
241 sc_vtb_erase(&scp->vtb, scp->cursor_pos, in sc_term_clr_eol()
248 sc_vtb_erase(&scp->vtb, scp->cursor_pos - scp->xpos, in sc_term_clr_eol()
254 sc_vtb_erase(&scp->vtb, scp->cursor_pos - scp->xpos, in sc_term_clr_eol()
317 p = sc_vtb_pointer(&scp->vtb, scp->cursor_pos); in sc_term_gen_print()
323 p = sc_vtb_putchar(&scp->vtb, p, map[*ptr], attr); in sc_term_gen_print()
[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()
959 a = sc_vtb_geta(&scp->vtb, i); in vga_vgadraw_planar()
1025 a = sc_vtb_geta(&scp->vtb, at); in draw_pxlcursor_direct()
[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-14.2/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-14.2/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()