Lines Matching refs:termios
776 serial_omap_set_termios(struct uart_port *port, struct ktermios *termios,
784 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag));
786 if (termios->c_cflag & CSTOPB)
788 if (termios->c_cflag & PARENB)
790 if (!(termios->c_cflag & PARODD))
792 if (termios->c_cflag & CMSPAR)
799 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/13);
823 uart_update_timeout(port, termios->c_cflag, baud);
826 if (termios->c_iflag & INPCK)
828 if (termios->c_iflag & (BRKINT | PARMRK))
835 if (termios->c_iflag & IGNPAR)
837 if (termios->c_iflag & IGNBRK) {
843 if (termios->c_iflag & IGNPAR)
850 if ((termios->c_cflag & CREAD) == 0)
857 if (UART_ENABLE_MS(&up->port, termios->c_cflag))
955 serial_out(up, UART_XON1, termios->c_cc[VSTART]);
956 serial_out(up, UART_XOFF1, termios->c_cc[VSTOP]);
967 if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW) {
985 if (termios->c_iflag & IXON)
993 if (termios->c_iflag & IXOFF) {
1004 if (termios->c_iflag & IXANY)
1294 serial_omap_config_rs485(struct uart_port *port, struct ktermios *termios,