Lines Matching refs:cflag
268 * @cflag: termios cflag value
271 * Set the port FIFO timeout value. The @cflag value should
275 uart_update_timeout(struct uart_port *port, unsigned int cflag,
281 switch (cflag & CSIZE) {
296 if (cflag & CSTOPB)
298 if (cflag & PARENB)
448 * Set flags based on termios cflag
1195 unsigned int cflag = tty->termios->c_cflag;
1205 if ((cflag ^ old_termios->c_cflag) == 0 &&
1215 if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD))
1218 else if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) {
1220 if (!(cflag & CRTSCTS) ||
1227 if ((old_termios->c_cflag & CRTSCTS) && !(cflag & CRTSCTS)) {
1234 else if (!(old_termios->c_cflag & CRTSCTS) && (cflag & CRTSCTS)) {
1462 * Copy across the serial console cflag setting into the termios settings
1472 if (uart_console(port) && port->cons->cflag) {
1473 tty->termios->c_cflag = port->cons->cflag;
1474 port->cons->cflag = 0;
1840 unsigned int cflag;
1894 * Construct a cflag setting.
1900 termios.c_cflag |= baud_rates[i].cflag;
1931 co->cflag = termios.c_cflag;