Lines Matching refs:termios
240 struct ktermios *termios,
251 baud = uart_get_baud_rate(port, termios, old, 9600, port->uartclk / 4);
258 switch (termios->c_cflag & CSIZE) {
265 termios->c_cflag &= ~CSIZE;
266 termios->c_cflag |= CS7;
274 if (termios->c_cflag & CSTOPB)
280 if (termios->c_cflag & PARENB) {
284 if (termios->c_cflag & CMSPAR) {
285 if (termios->c_cflag & PARODD)
289 } else if (termios->c_cflag & PARODD) {
299 if (termios->c_cflag & CRTSCTS) {
322 if (tty_termios_baud_rate(termios))
323 tty_termios_encode_baud_rate(termios, baud, baud);
326 uart_update_timeout(port, termios->c_cflag, baud);