Lines Matching refs:termios
402 serial_pxa_set_termios(struct uart_port *port, struct ktermios *termios, in serial_pxa_set_termios() argument
411 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); in serial_pxa_set_termios()
413 if (termios->c_cflag & CSTOPB) in serial_pxa_set_termios()
415 if (termios->c_cflag & PARENB) in serial_pxa_set_termios()
417 if (!(termios->c_cflag & PARODD)) in serial_pxa_set_termios()
423 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); in serial_pxa_set_termios()
448 uart_update_timeout(port, termios->c_cflag, baud); in serial_pxa_set_termios()
451 if (termios->c_iflag & INPCK) in serial_pxa_set_termios()
453 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK)) in serial_pxa_set_termios()
460 if (termios->c_iflag & IGNPAR) in serial_pxa_set_termios()
462 if (termios->c_iflag & IGNBRK) { in serial_pxa_set_termios()
468 if (termios->c_iflag & IGNPAR) in serial_pxa_set_termios()
475 if ((termios->c_cflag & CREAD) == 0) in serial_pxa_set_termios()
482 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) in serial_pxa_set_termios()
487 if (termios->c_cflag & CRTSCTS) in serial_pxa_set_termios()