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

/freebsd-9.3-release/sys/dev/syscons/
H A Dscvtb.c45 #define vtb_wrap(vtb, at, offset) \
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) argument
51 vtb->vtb_flags = 0;
52 vtb->vtb_type = type;
53 vtb->vtb_cols = cols;
54 vtb->vtb_rows = rows;
55 vtb->vtb_size = cols*rows;
56 vtb
89 sc_vtb_destroy(sc_vtb_t *vtb) argument
120 sc_vtb_getc(sc_vtb_t *vtb, int at) argument
131 sc_vtb_geta(sc_vtb_t *vtb, int at) argument
142 sc_vtb_putc(sc_vtb_t *vtb, int at, int c, int a) argument
153 sc_vtb_putchar(sc_vtb_t *vtb, vm_offset_t p, int c, int a) argument
165 sc_vtb_pointer(sc_vtb_t *vtb, int at) argument
171 sc_vtb_pos(sc_vtb_t *vtb, int pos, int offset) argument
177 sc_vtb_clear(sc_vtb_t *vtb, int c, int attr) argument
234 sc_vtb_seek(sc_vtb_t *vtb, int pos) argument
240 sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr) argument
253 sc_vtb_move(sc_vtb_t *vtb, int from, int to, int count) argument
272 sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr) argument
302 sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr) argument
[all...]
H A Dsyscons.h282 sc_vtb_t vtb; member in struct:scr_stat
588 sc_vtb_append(&(scp)->vtb, (from), (scp)->history, (scp)->xsize)
639 void sc_vtb_init(sc_vtb_t *vtb, int type, int cols, int rows,
641 void sc_vtb_destroy(sc_vtb_t *vtb);
643 void sc_vtb_clear(sc_vtb_t *vtb, int c, int attr);
645 int sc_vtb_getc(sc_vtb_t *vtb, int at);
646 int sc_vtb_geta(sc_vtb_t *vtb, int at);
647 void sc_vtb_putc(sc_vtb_t *vtb, int at, int c, int a);
648 vm_offset_t sc_vtb_putchar(sc_vtb_t *vtb, vm_offset_t p, int c, int a);
649 vm_offset_t sc_vtb_pointer(sc_vtb_t *vtb, in
[all...]
H A Dscgfbrndr.c197 (u_int16_t *)sc_vtb_pointer(&scp->vtb, from), count);
213 c = sc_vtb_getc(&scp->vtb, from);
214 a = sc_vtb_geta(&scp->vtb, from) >> 8;
220 (u_int16_t *)sc_vtb_pointer(&scp->vtb, from),
268 sc_vtb_getc(&scp->vtb, scp->cursor_oldpos),
269 sc_vtb_geta(&scp->vtb, scp->cursor_oldpos) >> 8);
270 a = sc_vtb_geta(&scp->vtb, at) >> 8;
271 c = sc_vtb_getc(&scp->vtb, at);
H A Dscmouse.c353 c = sc_vtb_getc(&scp->vtb, p);
369 c = sc_vtb_getc(&scp->vtb, p);
387 cut_buffer[i] = sc_vtb_getc(&scp->vtb, p);
461 c = sc_vtb_getc(&scp->vtb, p);
508 cut_buffer[0] = sc_vtb_getc(&scp->vtb, scp->mouse_cut_start);
545 c = sc_vtb_getc(&scp->vtb, scp->mouse_pos);
549 c = sc_vtb_getc(&scp->vtb, j);
555 c = sc_vtb_getc(&scp->vtb, j);
563 c = sc_vtb_getc(&scp->vtb, j);
569 c = sc_vtb_getc(&scp->vtb,
[all...]
H A Dschistory.c211 sc_vtb_append(&scp->vtb, 0, scp->history, scp->xsize*scp->ysize);
245 &scp->vtb, scp->xsize*(scp->ysize - i),
H A Dscterm-teken.c236 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], SC_NORM_ATTR << 8);
561 p = sc_vtb_pointer(&scp->vtb, cursor);
562 sc_vtb_putchar(&scp->vtb, p, map[ch], attr);
592 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * scp->xsize,
600 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row *
636 sc_vtb_move(&scp->vtb, r->tr_begin.tp_row * scp->xsize,
652 sc_vtb_move(&scp->vtb, src, dst, width);
667 sc_vtb_move(&scp->vtb, src, dst, width);
H A Dscvgarndr.c266 c = sc_vtb_getc(&scp->vtb, from);
267 a = sc_vtb_geta(&scp->vtb, from);
273 sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count);
696 a = sc_vtb_geta(&scp->vtb, i);
715 f = &(scp->font[sc_vtb_getc(&scp->vtb, i)*scp->font_size]);
750 a = sc_vtb_geta(&scp->vtb, i);
761 f = &(scp->font[sc_vtb_getc(&scp->vtb, i) * scp->font_size]);
805 a = sc_vtb_geta(&scp->vtb, i);
825 f = &(scp->font[sc_vtb_getc(&scp->vtb, i)*scp->font_size]);
868 a = sc_vtb_geta(&scp->vtb, a
[all...]
H A Dsyscons.c439 sc_vtb_append(&scp->vtb, 0, scp->history,
681 sc_vtb_destroy(&scp->vtb);
1009 frbp = scp->vtb.vtb_buffer + scp->ysize * lsize + ptr->x *
2910 sc_vtb_init(&scp->vtb, VTB_MEMORY, scp->xsize, scp->ysize,
2942 sc_vtb_copy(&scp->scr, 0, &scp->vtb, 0, scp->xsize*scp->ysize);
3078 /* XXX vtb, history */
3172 old = scp->vtb;
3182 scp->vtb = new;
3184 scp->vtb = new;
3259 sc_vtb_init(&scp->vtb, VTB_MEMOR
[all...]
/freebsd-9.3-release/sys/pc98/cbus/
H A Dscvtb.c43 #define attr_offset(vtb) ((vtb)->vtb_size*sizeof(u_int16_t))
45 #define vtb_pointer(vtb, at) \
46 ((vtb)->vtb_buffer + sizeof(u_int16_t)*(at))
48 #define vtb_wrap(vtb, at, offset) \
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) argument
91 vtb->vtb_flags = 0;
92 vtb
125 sc_vtb_destroy(sc_vtb_t *vtb) argument
156 sc_vtb_getc(sc_vtb_t *vtb, int at) argument
167 sc_vtb_geta(sc_vtb_t *vtb, int at) argument
178 vtb_putc(sc_vtb_t *vtb, vm_offset_t p, int c, int a) argument
190 sc_vtb_putc(sc_vtb_t *vtb, int at, int c, int a) argument
196 sc_vtb_putchar(sc_vtb_t *vtb, vm_offset_t p, int c, int a) argument
203 sc_vtb_pointer(sc_vtb_t *vtb, int at) argument
209 sc_vtb_pos(sc_vtb_t *vtb, int pos, int offset) argument
215 sc_vtb_clear(sc_vtb_t *vtb, int c, int attr) argument
285 sc_vtb_seek(sc_vtb_t *vtb, int pos) argument
291 sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr) argument
308 sc_vtb_move(sc_vtb_t *vtb, int from, int to, int count) argument
333 sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr) argument
369 sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr) argument
[all...]
H A Dscgdcrndr.c124 c = sc_vtb_getc(&scp->vtb, from);
125 a = sc_vtb_geta(&scp->vtb, from);
135 sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count);
172 a = sc_vtb_geta(&scp->vtb, at);
H A Dsctermvar.h72 sc_vtb_ins(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr);
86 sc_vtb_delete(&scp->vtb, y*scp->xsize, n*scp->xsize, ch, attr);
101 sc_vtb_move(&scp->vtb, scp->cursor_pos, scp->cursor_pos + n, count);
102 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n, ch, attr);
117 sc_vtb_move(&scp->vtb, scp->cursor_pos + n, scp->cursor_pos, count);
118 sc_vtb_erase(&scp->vtb, scp->cursor_pos + count, n, ch, attr);
216 sc_vtb_erase(&scp->vtb, scp->cursor_pos,
224 sc_vtb_erase(&scp->vtb, 0, scp->cursor_pos + 1, ch, attr);
230 sc_vtb_erase(&scp->vtb, 0, scp->xsize*scp->ysize, ch, attr);
243 sc_vtb_erase(&scp->vtb, sc
[all...]
H A Dscterm-sck.c612 sc_vtb_erase(&scp->vtb, scp->cursor_pos, n,
944 p = sc_vtb_pointer(&scp->vtb, scp->cursor_pos);
960 p = sc_vtb_putchar(&scp->vtb, p, map[c], attr);
983 p = sc_vtb_putchar(&scp->vtb, p,
1002 sc_vtb_putchar(&scp->vtb, p, map[c], attr);
1022 p = sc_vtb_putchar(&scp->vtb, p, UCVP(map)[*UCVP(ptr)],
1175 sc_vtb_clear(&scp->vtb, scp->sc->scr_map[0x20], tcp->cur_attr);
/freebsd-9.3-release/sys/i386/xbox/
H A Dxboxfb.c363 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count);
367 c = sc_vtb_getc(&scp->vtb, from);
368 a = sc_vtb_geta(&scp->vtb, from) >> 8;

Completed in 109 milliseconds