Lines Matching refs:treg
158 unsigned short treg; in newport_reset() local
162 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); in newport_reset()
164 (treg | VC2_CTRL_EVIDEO)); in newport_reset()
166 treg = newport_vc2_get(npregs, VC2_IREG_CENTRY); in newport_reset()
167 newport_vc2_set(npregs, VC2_IREG_RADDR, treg); in newport_reset()
203 unsigned short ventry, treg; in newport_get_screensize() local
223 treg = npregs->set.dcbdata0.byshort.s1; in newport_get_screensize()
224 if ((treg & 1) == 0) in newport_get_screensize()
225 cols += (treg >> 7) & 0xfe; in newport_get_screensize()
226 if ((treg & 0x80) == 0) { in newport_get_screensize()
228 treg = npregs->set.dcbdata0.byshort.s1; in newport_get_screensize()
230 } while ((treg & 0x8000) == 0); in newport_get_screensize()
442 unsigned short treg; in newport_cursor() local
447 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); in newport_cursor()
449 (treg & ~(VC2_CTRL_ECDISP))); in newport_cursor()
454 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); in newport_cursor()
456 (treg | VC2_CTRL_ECDISP)); in newport_cursor()
484 unsigned short treg; in newport_blank() local
488 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); in newport_blank()
490 (treg | VC2_CTRL_EDISP)); in newport_blank()
493 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); in newport_blank()
495 (treg & ~(VC2_CTRL_EDISP))); in newport_blank()