Lines Matching refs:termios
253 struct ktermios *termios, in sdio_uart_change_speed() argument
259 switch (termios->c_cflag & CSIZE) { in sdio_uart_change_speed()
275 if (termios->c_cflag & CSTOPB) in sdio_uart_change_speed()
277 if (termios->c_cflag & PARENB) in sdio_uart_change_speed()
279 if (!(termios->c_cflag & PARODD)) in sdio_uart_change_speed()
283 baud = tty_termios_baud_rate(termios); in sdio_uart_change_speed()
292 termios->c_cflag &= ~CBAUD; in sdio_uart_change_speed()
294 termios->c_cflag |= old->c_cflag & CBAUD; in sdio_uart_change_speed()
297 termios->c_cflag |= B9600; in sdio_uart_change_speed()
307 if (termios->c_iflag & INPCK) in sdio_uart_change_speed()
309 if (termios->c_iflag & (BRKINT | PARMRK)) in sdio_uart_change_speed()
316 if (termios->c_iflag & IGNPAR) in sdio_uart_change_speed()
318 if (termios->c_iflag & IGNBRK) { in sdio_uart_change_speed()
324 if (termios->c_iflag & IGNPAR) in sdio_uart_change_speed()
331 if ((termios->c_cflag & CREAD) == 0) in sdio_uart_change_speed()
338 if ((termios->c_cflag & CRTSCTS) || !(termios->c_cflag & CLOCAL)) in sdio_uart_change_speed()
649 sdio_uart_change_speed(port, &tty->termios, NULL); in sdio_uart_activate()
884 unsigned int cflag = tty->termios.c_cflag; in sdio_uart_set_termios()
889 sdio_uart_change_speed(port, &tty->termios, old_termios); in sdio_uart_set_termios()