Lines Matching refs:sg
105 struct sgttyb *sg = (struct sgttyb *)data;
108 if ((speed = sg->sg_ispeed) > MAX_SPEED || speed < 0)
115 if ((speed = sg->sg_ospeed) > MAX_SPEED || speed < 0)
122 term->c_cc[VERASE] = sg->sg_erase;
123 term->c_cc[VKILL] = sg->sg_kill;
125 (sg->sg_flags&0xffff);
203 struct sgttyb *sg = (struct sgttyb *)data;
206 sg->sg_ospeed = ttcompatspeedtab(tp->t_termios.c_ospeed,
209 sg->sg_ispeed = sg->sg_ospeed;
211 sg->sg_ispeed = ttcompatspeedtab(tp->t_termios.c_ispeed,
213 sg->sg_erase = cc[VERASE];
214 sg->sg_kill = cc[VKILL];
215 sg->sg_flags = tp->t_compatflags = ttcompatgetflags(tp);