Lines Matching refs:cflag
576 unsigned int cflag; member
628 unsigned int cflag; in keyspan_set_termios() local
632 cflag = tty->termios.c_cflag; in keyspan_set_termios()
649 p_priv->cflag = cflag; in keyspan_set_termios()
650 p_priv->flow_control = (cflag & CRTSCTS) ? flow_cts : flow_none; in keyspan_set_termios()
1502 unsigned int cflag = 0; in keyspan_open() local
1547 cflag = tty->termios.c_cflag; in keyspan_open()
1559 p_priv->cflag = cflag; in keyspan_open()
1560 p_priv->flow_control = (cflag & CRTSCTS) ? flow_cts : flow_none; in keyspan_open()
2085 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa26_send_setup()
2086 switch (p_priv->cflag & CSIZE) { in keyspan_usa26_send_setup()
2100 if (p_priv->cflag & PARENB) { in keyspan_usa26_send_setup()
2102 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa26_send_setup()
2355 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa49_send_setup()
2356 switch (p_priv->cflag & CSIZE) { in keyspan_usa49_send_setup()
2370 if (p_priv->cflag & PARENB) { in keyspan_usa49_send_setup()
2372 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa49_send_setup()
2531 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa90_send_setup()
2532 switch (p_priv->cflag & CSIZE) { in keyspan_usa90_send_setup()
2546 if (p_priv->cflag & PARENB) { in keyspan_usa90_send_setup()
2548 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa90_send_setup()
2551 if (p_priv->old_cflag != p_priv->cflag) { in keyspan_usa90_send_setup()
2552 p_priv->old_cflag = p_priv->cflag; in keyspan_usa90_send_setup()
2657 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa67_send_setup()
2658 switch (p_priv->cflag & CSIZE) { in keyspan_usa67_send_setup()
2672 if (p_priv->cflag & PARENB) { in keyspan_usa67_send_setup()
2674 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa67_send_setup()