Lines Matching refs:cflag
596 unsigned int cflag; member
644 unsigned int cflag; in keyspan_set_termios() local
648 cflag = tty->termios.c_cflag; in keyspan_set_termios()
665 p_priv->cflag = cflag; in keyspan_set_termios()
666 p_priv->flow_control = (cflag & CRTSCTS) ? flow_cts : flow_none; in keyspan_set_termios()
1515 unsigned int cflag = 0; in keyspan_open() local
1560 cflag = tty->termios.c_cflag; in keyspan_open()
1572 p_priv->cflag = cflag; in keyspan_open()
1573 p_priv->flow_control = (cflag & CRTSCTS) ? flow_cts : flow_none; in keyspan_open()
2098 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa26_send_setup()
2099 switch (p_priv->cflag & CSIZE) { in keyspan_usa26_send_setup()
2113 if (p_priv->cflag & PARENB) { in keyspan_usa26_send_setup()
2115 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa26_send_setup()
2368 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa49_send_setup()
2369 switch (p_priv->cflag & CSIZE) { in keyspan_usa49_send_setup()
2383 if (p_priv->cflag & PARENB) { in keyspan_usa49_send_setup()
2385 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa49_send_setup()
2544 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa90_send_setup()
2545 switch (p_priv->cflag & CSIZE) { in keyspan_usa90_send_setup()
2559 if (p_priv->cflag & PARENB) { in keyspan_usa90_send_setup()
2561 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa90_send_setup()
2564 if (p_priv->old_cflag != p_priv->cflag) { in keyspan_usa90_send_setup()
2565 p_priv->old_cflag = p_priv->cflag; in keyspan_usa90_send_setup()
2670 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa67_send_setup()
2671 switch (p_priv->cflag & CSIZE) { in keyspan_usa67_send_setup()
2685 if (p_priv->cflag & PARENB) { in keyspan_usa67_send_setup()
2687 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa67_send_setup()