Lines Matching refs:termios
1989 pl011_setup_status_masks(struct uart_port *port, struct ktermios *termios)
1992 if (termios->c_iflag & INPCK)
1994 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
2001 if (termios->c_iflag & IGNPAR)
2003 if (termios->c_iflag & IGNBRK) {
2009 if (termios->c_iflag & IGNPAR)
2016 if ((termios->c_cflag & CREAD) == 0)
2021 pl011_set_termios(struct uart_port *port, struct ktermios *termios,
2039 baud = uart_get_baud_rate(port, termios, old, 0,
2054 switch (termios->c_cflag & CSIZE) {
2068 if (termios->c_cflag & CSTOPB)
2070 if (termios->c_cflag & PARENB) {
2072 if (!(termios->c_cflag & PARODD))
2074 if (termios->c_cflag & CMSPAR)
2080 bits = tty_get_frame_size(termios->c_cflag);
2087 uart_update_timeout(port, termios->c_cflag, baud);
2096 pl011_setup_status_masks(port, termios);
2098 if (UART_ENABLE_MS(port, termios->c_cflag))
2102 termios->c_cflag &= ~CRTSCTS;
2106 if (termios->c_cflag & CRTSCTS) {
2160 sbsa_uart_set_termios(struct uart_port *port, struct ktermios *termios,
2167 tty_termios_encode_baud_rate(termios, uap->fixed_baud, uap->fixed_baud);
2170 termios->c_cflag &= ~(CSIZE | CSTOPB | PARENB | PARODD);
2171 termios->c_cflag &= ~(CMSPAR | CRTSCTS);
2172 termios->c_cflag |= CS8 | CLOCAL;
2176 pl011_setup_status_masks(port, termios);
2214 static int pl011_rs485_config(struct uart_port *port, struct ktermios *termios,