| /NextBSD/sys/dev/syscons/ |
| HD | scvtb.c | 45 #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 …]
|
| HD | syscons.h | 284 sc_vtb_t vtb; member 590 sc_vtb_append(&(scp)->vtb, (from), (scp)->history, (scp)->xsize) 641 void sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows, 643 void sc_vtb_destroy(sc_vtb_t *vtb); 645 void sc_vtb_clear(sc_vtb_t *vtb, int c, int attr); 647 int sc_vtb_getc(sc_vtb_t *vtb, int at); 648 int sc_vtb_geta(sc_vtb_t *vtb, int at); 649 void sc_vtb_putc(sc_vtb_t *vtb, int at, int c, int a); 650 vm_offset_t sc_vtb_putchar(sc_vtb_t *vtb, vm_offset_t p, int c, int a); 651 vm_offset_t sc_vtb_pointer(sc_vtb_t *vtb, int at); [all …]
|
| HD | scgfbrndr.c | 197 (u_int16_t *)sc_vtb_pointer(&scp->vtb, from), count); in gfb_draw() 213 c = sc_vtb_getc(&scp->vtb, from); in gfb_draw() 214 a = sc_vtb_geta(&scp->vtb, from) >> 8; in gfb_draw() 220 (u_int16_t *)sc_vtb_pointer(&scp->vtb, from), in gfb_draw() 268 sc_vtb_getc(&scp->vtb, scp->cursor_oldpos), in gfb_cursor() 269 sc_vtb_geta(&scp->vtb, scp->cursor_oldpos) >> 8); in gfb_cursor() 270 a = sc_vtb_geta(&scp->vtb, at) >> 8; in gfb_cursor() 271 c = sc_vtb_getc(&scp->vtb, at); in gfb_cursor()
|
| HD | scterm-teken.c | 237 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], SC_NORM_ATTR << 8); in scteken_clear() 572 p = sc_vtb_pointer(&scp->vtb, cursor); in scteken_putchar() 573 sc_vtb_putchar(&scp->vtb, p, map[ch], attr); in scteken_putchar() 603 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_fill() 611 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * in scteken_fill() 647 sc_vtb_move(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_copy() 663 sc_vtb_move(&scp->vtb, src, dst, width); in scteken_copy() 678 sc_vtb_move(&scp->vtb, src, dst, width); in scteken_copy()
|
| HD | scmouse.c | 353 c = sc_vtb_getc(&scp->vtb, p); in skip_spc_right() 369 c = sc_vtb_getc(&scp->vtb, p); in skip_spc_left() 387 cut_buffer[i] = sc_vtb_getc(&scp->vtb, p); in mouse_do_cut() 461 c = sc_vtb_getc(&scp->vtb, p); in mouse_cut() 508 cut_buffer[0] = sc_vtb_getc(&scp->vtb, scp->mouse_cut_start); in mouse_cut_start() 545 c = sc_vtb_getc(&scp->vtb, scp->mouse_pos); in mouse_cut_word() 549 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word() 555 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word() 563 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word() 569 c = sc_vtb_getc(&scp->vtb, j); in mouse_cut_word()
|
| HD | scvgarndr.c | 266 c = sc_vtb_getc(&scp->vtb, from); in vga_txtdraw() 267 a = sc_vtb_geta(&scp->vtb, from); in vga_txtdraw() 273 sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count); in vga_txtdraw() 696 a = sc_vtb_geta(&scp->vtb, i); in vga_egadraw() 715 f = &(scp->font[sc_vtb_getc(&scp->vtb, i)*scp->font_size]); in vga_egadraw() 750 a = sc_vtb_geta(&scp->vtb, i); in vga_vgadraw_direct() 761 f = &(scp->font[sc_vtb_getc(&scp->vtb, i) * scp->font_size]); in vga_vgadraw_direct() 805 a = sc_vtb_geta(&scp->vtb, i); in vga_vgadraw_planar() 825 f = &(scp->font[sc_vtb_getc(&scp->vtb, i)*scp->font_size]); in vga_vgadraw_planar() 868 a = sc_vtb_geta(&scp->vtb, at); in draw_pxlcursor_direct() [all …]
|
| HD | schistory.c | 212 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize); in sc_hist_save() 246 &scp->vtb, scp->xsize*(scp->ysize - i), in history_to_screen()
|
| HD | syscons.c | 444 sc_vtb_append(&scp->vtb, 0, scp->history, in sc_set_vesa_mode() 693 sc_vtb_destroy(&scp->vtb); in sctty_close() 1021 frbp = scp->vtb.vtb_buffer + scp->ysize * lsize + ptr->x * in sctty_ioctl() 2927 sc_vtb_init(&scp->vtb, VTB_MEMORY, scp->xsize, scp->ysize, in scinit() 2959 sc_vtb_copy(&scp->scr, 0, &scp->vtb, 0, scp->xsize*scp->ysize); in scinit() 3189 old = scp->vtb; in sc_alloc_scr_buffer() 3199 scp->vtb = new; in sc_alloc_scr_buffer() 3201 scp->vtb = new; in sc_alloc_scr_buffer() 3276 sc_vtb_init(&scp->vtb, VTB_MEMORY, 0, 0, NULL, FALSE); in init_scp()
|
| /NextBSD/sys/pc98/cbus/ |
| HD | scvtb.c | 43 #define attr_offset(vtb) ((vtb)->vtb_size*sizeof(u_int16_t)) argument 45 #define vtb_pointer(vtb, at) \ argument 46 ((vtb)->vtb_buffer + sizeof(u_int16_t)*(at)) 48 #define vtb_wrap(vtb, at, offset) \ argument 49 (((at) + (offset) + (vtb)->vtb_size)%(vtb)->vtb_size) 89 sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows, void *buf, int wait) in sc_vtb_init() argument 91 vtb->vtb_flags = 0; in sc_vtb_init() 92 vtb->vtb_type = type; in sc_vtb_init() 93 vtb->vtb_cols = cols; in sc_vtb_init() 94 vtb->vtb_rows = rows; in sc_vtb_init() [all …]
|
| HD | sctermvar.h | 72 sc_vtb_ins(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr); in sc_term_ins_line() 86 sc_vtb_delete(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr); in sc_term_del_line() 101 sc_vtb_move(&scp->vtb, scp->cursor_pos, scp->cursor_pos + n, count); in sc_term_ins_char() 102 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, ch, attr); in sc_term_ins_char() 117 sc_vtb_move(&scp->vtb, scp->cursor_pos + n, scp->cursor_pos, count); in sc_term_del_char() 118 sc_vtb_erase(&scp->vtb, scp->cursor_pos + count, n, ch, attr); in sc_term_del_char() 216 sc_vtb_erase(&scp->vtb, scp->cursor_pos, in sc_term_clr_eos() 224 sc_vtb_erase(&scp->vtb, 0, scp->cursor_pos + 1, ch, attr); in sc_term_clr_eos() 230 sc_vtb_erase(&scp->vtb, 0, scp->xsize*scp->ysize, ch, attr); in sc_term_clr_eos() 243 sc_vtb_erase(&scp->vtb, scp->cursor_pos, in sc_term_clr_eol() [all …]
|
| HD | scgdcrndr.c | 124 c = sc_vtb_getc(&scp->vtb, from); in gdc_txtdraw() 125 a = sc_vtb_geta(&scp->vtb, from); in gdc_txtdraw() 135 sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count); in gdc_txtdraw() 172 a = sc_vtb_geta(&scp->vtb, at); in draw_txtmouse()
|
| HD | scterm-sck.c | 612 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, in scterm_scan_esc() 944 p = sc_vtb_pointer(&scp->vtb, scp->cursor_pos); in scterm_puts() 960 p = sc_vtb_putchar(&scp->vtb, p, map[c], attr); in scterm_puts() 983 p = sc_vtb_putchar(&scp->vtb, p, in scterm_puts() 1002 sc_vtb_putchar(&scp->vtb, p, map[c], attr); in scterm_puts() 1022 p = sc_vtb_putchar(&scp->vtb, p, UCVP(map)[*UCVP(ptr)], in scterm_puts() 1175 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], tcp->cur_attr); in scterm_clear()
|
| /NextBSD/sys/i386/xbox/ |
| HD | xboxfb.c | 363 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in xbr_draw() 367 c = sc_vtb_getc(&scp->vtb, from); in xbr_draw() 368 a = sc_vtb_geta(&scp->vtb, from) >> 8; in xbr_draw()
|
| /NextBSD/sys/arm/ti/am335x/ |
| HD | am335x_lcd_syscons.c | 247 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in am335x_rend_draw() 251 c = sc_vtb_getc(&scp->vtb, from); in am335x_rend_draw() 252 a = sc_vtb_geta(&scp->vtb, from) >> 8; in am335x_rend_draw()
|
| /NextBSD/sys/arm/broadcom/bcm2835/ |
| HD | bcm2835_fb.c | 320 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in bcmrend_draw() 324 c = sc_vtb_getc(&scp->vtb, from); in bcmrend_draw() 325 a = sc_vtb_geta(&scp->vtb, from) >> 8; in bcmrend_draw()
|
| /NextBSD/sys/arm/versatile/ |
| HD | versatile_clcd.c | 510 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in clcdr_draw() 514 c = sc_vtb_getc(&scp->vtb, from); in clcdr_draw() 515 a = sc_vtb_geta(&scp->vtb, from) >> 8; in clcdr_draw()
|