Lines Matching refs:termios
351 pl010_set_termios(struct uart_port *port, struct ktermios *termios,
361 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
364 switch (termios->c_cflag & CSIZE) {
378 if (termios->c_cflag & CSTOPB)
380 if (termios->c_cflag & PARENB) {
382 if (!(termios->c_cflag & PARODD))
393 uart_update_timeout(port, termios->c_cflag, baud);
396 if (termios->c_iflag & INPCK)
398 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
405 if (termios->c_iflag & IGNPAR)
407 if (termios->c_iflag & IGNBRK) {
413 if (termios->c_iflag & IGNPAR)
420 if ((termios->c_cflag & CREAD) == 0)
425 if (UART_ENABLE_MS(port, termios->c_cflag))
444 static void pl010_set_ldisc(struct uart_port *port, struct ktermios *termios)
446 if (termios->c_line == N_PPS) {
453 if (!UART_ENABLE_MS(port, termios->c_cflag)) {