Lines Matching refs:vtb_buffer
86 vtb->vtb_buffer = NULL; in sc_vtb_init()
93 vtb->vtb_buffer = kmalloc(cols*rows*sizeof(uint16_t), in sc_vtb_init()
96 if (vtb->vtb_buffer != NULL) { in sc_vtb_init()
101 vtb->vtb_buffer = buf; in sc_vtb_init()
106 vtb->vtb_buffer = buf; in sc_vtb_init()
124 p = vtb->vtb_buffer; in sc_vtb_destroy()
125 vtb->vtb_buffer = NULL; in sc_vtb_destroy()
149 return (readw(vtb->vtb_buffer + at) & 0x00ff); in sc_vtb_getc()
151 return (*(vtb->vtb_buffer + at) & 0x00ff); in sc_vtb_getc()
158 return (readw(vtb->vtb_buffer + at) & 0xff00); in sc_vtb_geta()
160 return (*(vtb->vtb_buffer + at) & 0xff00); in sc_vtb_geta()
167 writew(vtb->vtb_buffer + at, a | c); in sc_vtb_putc()
169 *(vtb->vtb_buffer + at) = a | c; in sc_vtb_putc()
192 fillw_io(attr | c, vtb->vtb_buffer, vtb->vtb_size); in sc_vtb_clear()
194 fillw(attr | c, vtb->vtb_buffer, vtb->vtb_size); in sc_vtb_clear()
202 sc_vtb_bcopy(vtb1->vtb_buffer + from, vtb2->vtb_buffer + to, in sc_vtb_copy()
205 sc_vtb_bcopy(vtb1->vtb_buffer + from, vtb2->vtb_buffer + to, in sc_vtb_copy()
208 sc_vtb_bcopy(vtb1->vtb_buffer + from, vtb2->vtb_buffer + to, in sc_vtb_copy()
224 sc_vtb_bcopy(vtb1->vtb_buffer + from, in sc_vtb_append()
225 vtb2->vtb_buffer + vtb2->vtb_tail, in sc_vtb_append()
228 sc_vtb_bcopy(vtb1->vtb_buffer + from, in sc_vtb_append()
229 vtb2->vtb_buffer + vtb2->vtb_tail, in sc_vtb_append()
250 fillw_io(attr | c, vtb->vtb_buffer + at, count); in sc_vtb_erase()
252 fillw(attr | c, vtb->vtb_buffer + at, count); in sc_vtb_erase()
265 sc_vtb_bcopy(vtb->vtb_buffer + from, vtb->vtb_buffer + to, in sc_vtb_move()
268 sc_vtb_bcopy(vtb->vtb_buffer + from, vtb->vtb_buffer + to, in sc_vtb_move()
283 sc_vtb_bcopy(vtb->vtb_buffer + at + count, in sc_vtb_delete()
284 vtb->vtb_buffer + at, in sc_vtb_delete()
287 sc_vtb_bcopy(vtb->vtb_buffer + at + count, in sc_vtb_delete()
288 vtb->vtb_buffer + at, in sc_vtb_delete()
293 fillw_io(attr | c, vtb->vtb_buffer + at + len, in sc_vtb_delete()
296 fillw(attr | c, vtb->vtb_buffer + at + len, in sc_vtb_delete()
307 sc_vtb_bcopy(vtb->vtb_buffer + at, in sc_vtb_ins()
308 vtb->vtb_buffer + at + count, in sc_vtb_ins()
311 sc_vtb_bcopy(vtb->vtb_buffer + at, in sc_vtb_ins()
312 vtb->vtb_buffer + at + count, in sc_vtb_ins()
317 fillw_io(attr | c, vtb->vtb_buffer + at, count); in sc_vtb_ins()
319 fillw(attr | c, vtb->vtb_buffer + at, count); in sc_vtb_ins()