Lines Matching defs:termios
218 static int stm32_usart_config_rs485(struct uart_port *port, struct ktermios *termios,
1140 struct ktermios *termios,
1149 tcflag_t cflag = termios->c_cflag;
1157 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8);
1220 termios->c_cflag = cflag;
1284 if (termios->c_iflag & INPCK)
1286 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
1291 if (termios->c_iflag & IGNPAR)
1293 if (termios->c_iflag & IGNBRK) {
1299 if (termios->c_iflag & IGNPAR)
1304 if ((termios->c_cflag & CREAD) == 0)
1353 if (UART_ENABLE_MS(port, termios->c_cflag))