Lines Matching defs:termios
2144 static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
2158 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
2161 switch (termios->c_cflag & CSIZE) {
2177 if (termios->c_cflag & CSTOPB)
2181 if (termios->c_cflag & PARENB) {
2183 if (termios->c_cflag & CMSPAR) {
2184 if (termios->c_cflag & PARODD)
2188 } else if (termios->c_cflag & PARODD)
2198 if (termios->c_iflag & INPCK)
2200 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
2211 if (termios->c_iflag & IGNPAR)
2213 if (termios->c_iflag & IGNBRK) {
2219 if (termios->c_iflag & IGNPAR)
2225 uart_update_timeout(port, termios->c_cflag, baud);
2255 } else if (termios->c_cflag & CRTSCTS) {
2342 if (UART_ENABLE_MS(port, termios->c_cflag))
2350 static void atmel_set_ldisc(struct uart_port *port, struct ktermios *termios)
2352 if (termios->c_line == N_PPS) {
2359 if (!UART_ENABLE_MS(port, termios->c_cflag)) {