Lines Matching refs:termios
222 static int stm32_usart_config_rs485(struct uart_port *port, struct ktermios *termios,
1154 struct ktermios *termios,
1163 tcflag_t cflag = termios->c_cflag;
1173 baud = uart_get_baud_rate(port, termios, old, 0, uart_clk / 8);
1236 termios->c_cflag = cflag;
1321 if (termios->c_iflag & INPCK)
1323 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
1328 if (termios->c_iflag & IGNPAR)
1330 if (termios->c_iflag & IGNBRK) {
1336 if (termios->c_iflag & IGNPAR)
1341 if ((termios->c_cflag & CREAD) == 0)
1390 if (UART_ENABLE_MS(port, termios->c_cflag))