Lines Matching refs:org

278 	u16 *org;  in vcs_read_buf_noattr()  local
281 org = screen_pos(vc, pos, viewed); in vcs_read_buf_noattr()
286 *con_buf++ = (vcs_scr_readw(vc, org++) & 0xff); in vcs_read_buf_noattr()
288 org = screen_pos(vc, pos, viewed); in vcs_read_buf_noattr()
299 u16 *org, *con_buf16; in vcs_read_buf() local
340 org = screen_pos(vc, pos, viewed); in vcs_read_buf()
351 *con_buf16++ = vcs_scr_readw(vc, org++); in vcs_read_buf()
354 org = screen_pos(vc, pos, viewed); in vcs_read_buf()
476 u16 *org; in vcs_write_buf_noattr() local
479 *org0 = org = screen_pos(vc, pos, viewed); in vcs_write_buf_noattr()
488 (vcs_scr_readw(vc, org) & 0xff00) | c, org); in vcs_write_buf_noattr()
489 org++; in vcs_write_buf_noattr()
491 org = screen_pos(vc, pos, viewed); in vcs_write_buf_noattr()
497 return org; in vcs_write_buf_noattr()
516 u16 *org; in vcs_write_buf() local
539 *org0 = org = screen_pos(vc, pos/2, viewed); in vcs_write_buf()
545 vcs_scr_writew(vc, vc_compile_le16(c, vcs_scr_readw(vc, org)), in vcs_write_buf()
546 org); in vcs_write_buf()
547 org++; in vcs_write_buf()
550 org = screen_pos(vc, pos/2, viewed); in vcs_write_buf()
563 vcs_scr_writew(vc, w, org++); in vcs_write_buf()
567 org = screen_pos(vc, pos, viewed); in vcs_write_buf()
574 return org; in vcs_write_buf()
578 vcs_scr_writew(vc, vc_compile_le16(vcs_scr_readw(vc, org) >> 8, c), in vcs_write_buf()
579 org); in vcs_write_buf()
581 return org; in vcs_write_buf()
589 u16 *org0, *org; in vcs_write() local
674 org = vcs_write_buf(vc, con_buf, pos, this_round, in vcs_write()
677 org = vcs_write_buf_noattr(vc, con_buf, pos, this_round, in vcs_write()
684 if (org) in vcs_write()
685 update_region(vc, (unsigned long)(org0), org - org0); in vcs_write()