Lines Matching defs:termios
377 pl010_set_termios(struct uart_port *port, struct ktermios *termios,
389 baud = uart_get_baud_rate(port, termios, old, 0, uap->port.uartclk/16);
392 switch (termios->c_cflag & CSIZE) {
406 if (termios->c_cflag & CSTOPB)
408 if (termios->c_cflag & PARENB) {
410 if (!(termios->c_cflag & PARODD))
421 uart_update_timeout(port, termios->c_cflag, baud);
424 if (termios->c_iflag & INPCK)
426 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
433 if (termios->c_iflag & IGNPAR)
435 if (termios->c_iflag & IGNBRK) {
441 if (termios->c_iflag & IGNPAR)
448 if ((termios->c_cflag & CREAD) == 0)
453 if (UART_ENABLE_MS(port, termios->c_cflag))
472 static void pl010_set_ldisc(struct uart_port *port, struct ktermios *termios)
474 if (termios->c_line == N_PPS) {
481 if (!UART_ENABLE_MS(port, termios->c_cflag)) {