Lines Matching refs:termios
380 struct ktermios *termios,
388 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag));
390 if (termios->c_cflag & CSTOPB)
392 if (termios->c_cflag & PARENB)
394 if (!(termios->c_cflag & PARODD))
396 if (termios->c_cflag & CMSPAR)
402 baud = uart_get_baud_rate(port, termios, old,
417 uart_update_timeout(port, termios->c_cflag, baud);
420 if (termios->c_iflag & INPCK)
422 if (termios->c_iflag & (IGNBRK | PARMRK))
429 if (termios->c_iflag & IGNPAR)
431 if (termios->c_iflag & IGNBRK) {
437 if (termios->c_iflag & IGNPAR)
444 if ((termios->c_cflag & CREAD) == 0)
451 if (UART_ENABLE_MS(&up->port, termios->c_cflag))
485 priv->xon = termios->c_cc[VSTART];
486 priv->xoff = termios->c_cc[VSTOP];
491 if (termios->c_cflag & CRTSCTS && up->port.flags & UPF_HARD_FLOW &&
508 if (termios->c_iflag & IXOFF) {
526 if (tty_termios_baud_rate(termios))
527 tty_termios_encode_baud_rate(termios, baud, baud);
842 struct ktermios *termios,
884 return serial8250_em485_config(port, termios, rs485);