Lines Matching refs:termios
382 static void ks8695uart_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermio… in ks8695uart_set_termios() argument
391 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); in ks8695uart_set_termios()
394 switch (termios->c_cflag & CSIZE) { in ks8695uart_set_termios()
410 if (termios->c_cflag & CSTOPB) in ks8695uart_set_termios()
414 if (termios->c_cflag & PARENB) { in ks8695uart_set_termios()
415 if (termios->c_cflag & CMSPAR) { /* Mark or Space parity */ in ks8695uart_set_termios()
416 if (termios->c_cflag & PARODD) in ks8695uart_set_termios()
421 else if (termios->c_cflag & PARODD) in ks8695uart_set_termios()
435 uart_update_timeout(port, termios->c_cflag, baud); in ks8695uart_set_termios()
438 if (termios->c_iflag & INPCK) in ks8695uart_set_termios()
440 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK)) in ks8695uart_set_termios()
447 if (termios->c_iflag & IGNPAR) in ks8695uart_set_termios()
449 if (termios->c_iflag & IGNBRK) { in ks8695uart_set_termios()
455 if (termios->c_iflag & IGNPAR) in ks8695uart_set_termios()
462 if ((termios->c_cflag & CREAD) == 0) in ks8695uart_set_termios()
466 if (UART_ENABLE_MS(port, termios->c_cflag)) in ks8695uart_set_termios()