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()
1503 unsigned int cflag = 0; in keyspan_open() local
1548 cflag = tty->termios.c_cflag; in keyspan_open()
1560 p_priv->cflag = cflag; in keyspan_open()
1561 p_priv->flow_control = (cflag & CRTSCTS) ? flow_cts : flow_none; in keyspan_open()
2086 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa26_send_setup()
2087 switch (p_priv->cflag & CSIZE) { in keyspan_usa26_send_setup()
2101 if (p_priv->cflag & PARENB) { in keyspan_usa26_send_setup()
2103 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa26_send_setup()
2356 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa49_send_setup()
2357 switch (p_priv->cflag & CSIZE) { in keyspan_usa49_send_setup()
2371 if (p_priv->cflag & PARENB) { in keyspan_usa49_send_setup()
2373 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa49_send_setup()
2532 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa90_send_setup()
2533 switch (p_priv->cflag & CSIZE) { in keyspan_usa90_send_setup()
2547 if (p_priv->cflag & PARENB) { in keyspan_usa90_send_setup()
2549 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa90_send_setup()
2552 if (p_priv->old_cflag != p_priv->cflag) { in keyspan_usa90_send_setup()
2553 p_priv->old_cflag = p_priv->cflag; in keyspan_usa90_send_setup()
2658 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa67_send_setup()
2659 switch (p_priv->cflag & CSIZE) { in keyspan_usa67_send_setup()
2673 if (p_priv->cflag & PARENB) { in keyspan_usa67_send_setup()
2675 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa67_send_setup()