Lines Matching refs:termios
394 pl010_set_termios(struct uart_port *port, struct ktermios *termios, in pl010_set_termios() argument
406 baud = uart_get_baud_rate(port, termios, old, 0, uap->port.uartclk/16); in pl010_set_termios()
409 switch (termios->c_cflag & CSIZE) { in pl010_set_termios()
423 if (termios->c_cflag & CSTOPB) in pl010_set_termios()
425 if (termios->c_cflag & PARENB) { in pl010_set_termios()
427 if (!(termios->c_cflag & PARODD)) in pl010_set_termios()
438 uart_update_timeout(port, termios->c_cflag, baud); in pl010_set_termios()
441 if (termios->c_iflag & INPCK) in pl010_set_termios()
443 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK)) in pl010_set_termios()
450 if (termios->c_iflag & IGNPAR) in pl010_set_termios()
452 if (termios->c_iflag & IGNBRK) { in pl010_set_termios()
458 if (termios->c_iflag & IGNPAR) in pl010_set_termios()
465 if ((termios->c_cflag & CREAD) == 0) in pl010_set_termios()
471 if (UART_ENABLE_MS(port, termios->c_cflag)) in pl010_set_termios()
492 static void pl010_set_ldisc(struct uart_port *port, struct ktermios *termios) in pl010_set_ldisc() argument
494 if (termios->c_line == N_PPS) { in pl010_set_ldisc()
501 if (!UART_ENABLE_MS(port, termios->c_cflag)) { in pl010_set_ldisc()