Lines Matching defs:termios
224 serial21285_set_termios(struct uart_port *port, struct ktermios *termios,
233 termios->c_cflag &= ~(HUPCL | CRTSCTS | CMSPAR);
234 termios->c_cflag |= CLOCAL;
239 termios->c_iflag &= ~(IGNBRK | BRKINT);
244 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
247 tty_termios_encode_baud_rate(termios, b, b);
249 switch (termios->c_cflag & CSIZE) {
264 if (termios->c_cflag & CSTOPB)
266 if (termios->c_cflag & PARENB) {
268 if (!(termios->c_cflag & PARODD))
280 uart_update_timeout(port, termios->c_cflag, baud);
286 if (termios->c_iflag & INPCK)
293 if (termios->c_iflag & IGNPAR)
295 if (termios->c_iflag & IGNBRK && termios->c_iflag & IGNPAR)
301 if ((termios->c_cflag & CREAD) == 0)