Lines Matching refs:termios
432 serial_pxa_set_termios(struct uart_port *port, struct ktermios *termios, in serial_pxa_set_termios() argument
441 switch (termios->c_cflag & CSIZE) { in serial_pxa_set_termios()
457 if (termios->c_cflag & CSTOPB) in serial_pxa_set_termios()
459 if (termios->c_cflag & PARENB) in serial_pxa_set_termios()
461 if (!(termios->c_cflag & PARODD)) in serial_pxa_set_termios()
467 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); in serial_pxa_set_termios()
492 uart_update_timeout(port, termios->c_cflag, baud); in serial_pxa_set_termios()
495 if (termios->c_iflag & INPCK) in serial_pxa_set_termios()
497 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK)) in serial_pxa_set_termios()
504 if (termios->c_iflag & IGNPAR) in serial_pxa_set_termios()
506 if (termios->c_iflag & IGNBRK) { in serial_pxa_set_termios()
512 if (termios->c_iflag & IGNPAR) in serial_pxa_set_termios()
519 if ((termios->c_cflag & CREAD) == 0) in serial_pxa_set_termios()
526 if (UART_ENABLE_MS(&up->port, termios->c_cflag)) in serial_pxa_set_termios()
531 if (termios->c_cflag & CRTSCTS) in serial_pxa_set_termios()