Lines Matching defs:termios
714 static unsigned int stm32_usart_get_databits(struct ktermios *termios)
718 tcflag_t cflag = termios->c_cflag;
745 struct ktermios *termios,
754 tcflag_t cflag = termios->c_cflag;
762 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8);
800 bits = stm32_usart_get_databits(termios);
824 termios->c_cflag = cflag;
885 if (termios->c_iflag & INPCK)
887 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
892 if (termios->c_iflag & IGNPAR)
894 if (termios->c_iflag & IGNBRK) {
900 if (termios->c_iflag & IGNPAR)
905 if ((termios->c_cflag & CREAD) == 0)
943 if (UART_ENABLE_MS(port, termios->c_cflag))