Lines Matching refs:termios
337 static void ks8695uart_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old)
346 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
349 switch (termios->c_cflag & CSIZE) {
365 if (termios->c_cflag & CSTOPB)
369 if (termios->c_cflag & PARENB) {
370 if (termios->c_cflag & CMSPAR) { /* Mark or Space parity */
371 if (termios->c_cflag & PARODD)
376 else if (termios->c_cflag & PARODD)
390 uart_update_timeout(port, termios->c_cflag, baud);
393 if (termios->c_iflag & INPCK)
395 if (termios->c_iflag & (BRKINT | PARMRK))
402 if (termios->c_iflag & IGNPAR)
404 if (termios->c_iflag & IGNBRK) {
410 if (termios->c_iflag & IGNPAR)
417 if ((termios->c_cflag & CREAD) == 0)
421 if (UART_ENABLE_MS(port, termios->c_cflag))