Lines Matching full:sg
101 struct sgttyb *sg = (struct sgttyb *)data; in ttsetcompat() local
104 if ((speed = sg->sg_ispeed) > MAX_SPEED || speed < 0) in ttsetcompat()
111 if ((speed = sg->sg_ospeed) > MAX_SPEED || speed < 0) in ttsetcompat()
118 term->c_cc[VERASE] = sg->sg_erase; in ttsetcompat()
119 term->c_cc[VKILL] = sg->sg_kill; in ttsetcompat()
121 (sg->sg_flags&0xffff); in ttsetcompat()
199 struct sgttyb *sg = (struct sgttyb *)data; in tty_ioctl_compat() local
202 sg->sg_ospeed = ttcompatspeedtab(tp->t_termios.c_ospeed, in tty_ioctl_compat()
205 sg->sg_ispeed = sg->sg_ospeed; in tty_ioctl_compat()
207 sg->sg_ispeed = ttcompatspeedtab(tp->t_termios.c_ispeed, in tty_ioctl_compat()
209 sg->sg_erase = cc[VERASE]; in tty_ioctl_compat()
210 sg->sg_kill = cc[VKILL]; in tty_ioctl_compat()
211 sg->sg_flags = tp->t_compatflags = ttcompatgetflags(tp); in tty_ioctl_compat()