Lines Matching refs:cflag
276 tcflag_t cflag; member
644 unsigned cflag, cval, fcr; in mxser_change_speed() local
648 cflag = tty->termios.c_cflag; in mxser_change_speed()
656 switch (cflag & CSIZE) { in mxser_change_speed()
673 if (cflag & CSTOPB) in mxser_change_speed()
675 if (cflag & PARENB) in mxser_change_speed()
677 if (!(cflag & PARODD)) in mxser_change_speed()
679 if (cflag & CMSPAR) in mxser_change_speed()
715 tty_port_set_cts_flow(&info->port, cflag & CRTSCTS); in mxser_change_speed()
716 if (cflag & CRTSCTS) { in mxser_change_speed()
750 tty_port_set_check_carrier(&info->port, ~cflag & CLOCAL); in mxser_change_speed()
751 if (~cflag & CLOCAL) in mxser_change_speed()
1539 ms.cflag = ip->normal_termios.c_cflag; in mxser_ioctl_special()
1541 ms.cflag = tty->termios.c_cflag; in mxser_ioctl_special()
1562 unsigned int cflag, iflag, p; in mxser_ioctl_special() local
1608 cflag = ip->normal_termios.c_cflag; in mxser_ioctl_special()
1612 cflag = tty->termios.c_cflag; in mxser_ioctl_special()
1618 me->databits[p] = cflag & CSIZE; in mxser_ioctl_special()
1619 me->stopbits[p] = cflag & CSTOPB; in mxser_ioctl_special()
1620 me->parity[p] = cflag & (PARENB | PARODD | in mxser_ioctl_special()
1623 if (cflag & CRTSCTS) in mxser_ioctl_special()