Lines Matching refs:termios
245 serial21285_set_termios(struct uart_port *port, struct ktermios *termios,
254 termios->c_cflag &= ~(HUPCL | CRTSCTS | CMSPAR);
255 termios->c_cflag |= CLOCAL;
260 termios->c_iflag &= ~(IGNBRK | BRKINT);
265 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
268 tty_termios_encode_baud_rate(termios, b, b);
270 switch (termios->c_cflag & CSIZE) {
285 if (termios->c_cflag & CSTOPB)
287 if (termios->c_cflag & PARENB) {
289 if (!(termios->c_cflag & PARODD))
301 uart_update_timeout(port, termios->c_cflag, baud);
307 if (termios->c_iflag & INPCK)
314 if (termios->c_iflag & IGNPAR)
316 if (termios->c_iflag & IGNBRK && termios->c_iflag & IGNPAR)
322 if ((termios->c_cflag & CREAD) == 0)