Lines Matching defs:termios
1931 pl011_setup_status_masks(struct uart_port *port, struct ktermios *termios)
1934 if (termios->c_iflag & INPCK)
1936 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
1943 if (termios->c_iflag & IGNPAR)
1945 if (termios->c_iflag & IGNBRK) {
1951 if (termios->c_iflag & IGNPAR)
1958 if ((termios->c_cflag & CREAD) == 0)
1963 pl011_set_termios(struct uart_port *port, struct ktermios *termios,
1980 baud = uart_get_baud_rate(port, termios, old, 0,
1995 switch (termios->c_cflag & CSIZE) {
2009 if (termios->c_cflag & CSTOPB)
2011 if (termios->c_cflag & PARENB) {
2013 if (!(termios->c_cflag & PARODD))
2015 if (termios->c_cflag & CMSPAR)
2026 uart_update_timeout(port, termios->c_cflag, baud);
2028 pl011_setup_status_masks(port, termios);
2030 if (UART_ENABLE_MS(port, termios->c_cflag))
2037 if (termios->c_cflag & CRTSCTS) {
2084 sbsa_uart_set_termios(struct uart_port *port, struct ktermios *termios,
2091 tty_termios_encode_baud_rate(termios, uap->fixed_baud, uap->fixed_baud);
2094 termios->c_cflag &= ~(CSIZE | CSTOPB | PARENB | PARODD);
2095 termios->c_cflag &= ~(CMSPAR | CRTSCTS);
2096 termios->c_cflag |= CS8 | CLOCAL;
2100 pl011_setup_status_masks(port, termios);