Lines Matching defs:speed
96 * set speed/echo/mode...
98 * spwant -> speed
101 * if spwant == 0, speed is untouched
114 int speed = -1;
132 speed = ps->sp_name;
135 if (speed < 0) {
137 DEBUG(5, "speed (%d) not supported\n", spwant);
139 ASSERT(speed >= 0, "BAD SPEED", "", spwant);
141 (void) cfsetospeed(&ttbufs, speed);
142 } else { /* determine the current speed setting */
172 ttbufs.c_cflag |= (CREAD | (speed ? HUPCL : 0));
195 ttbufs.c_cflag |= (CS8 | CREAD | (speed ? HUPCL : 0));